Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '2.7': 0.04; 'lines.': 0.05; 'think,': 0.05; 'frontend': 0.07; 'interpreter': 0.07; 'mvc': 0.07; 'slice': 0.07; 'terry': 0.07; 'python': 0.08; '3.x': 0.09; 'omit': 0.09; 'presume': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'syntax': 0.11; '>>>': 0.12; 'psf': 0.12; 'am,': 0.14; 'binary': 0.14; 'wrote:': 0.14; '"stop': 0.16; 'binaries': 0.16; 'clear:': 0.16; 'else"': 0.16; 'flag,': 0.16; 'it",': 0.16; 'mildly': 0.16; 'pythons': 0.16; 'reedy': 0.16; 'sorry:': 0.16; 'subject:release': 0.16; 'subset': 0.16; '"python': 0.16; 'heavily': 0.16; 'compiled': 0.17; 'language': 0.18; 'before.': 0.19; 'stick': 0.19; 'programming': 0.19; 'guess': 0.19; 'jan': 0.20; 'header:In-Reply-To:1': 0.21; 'seems': 0.21; 'code.': 0.22; '2.5,': 0.23; 'versions': 0.23; 'runs': 0.23; '(or': 0.24; 'code': 0.24; 'pointed': 0.25; 'later': 0.26; 'saying': 0.26; 'windows': 0.26; 'says': 0.27; 'developing': 0.27; "i'm": 0.27; 'correct': 0.28; '(as': 0.29; 'e.g.': 0.29; 'version': 0.29; 'updated': 0.29; 'bit': 0.30; 'module': 0.30; 'compromise': 0.30; 'porting': 0.30; 'developers': 0.30; 'sort': 0.31; 'separate': 0.31; 'django': 0.31; 'seem': 0.32; 'anyone': 0.32; "can't": 0.32; "skip:' 10": 0.32; 'header:X-Complaints- To:1': 0.32; 'someone': 0.33; 'to:addr:python-list': 0.33; 'actually': 0.33; 'things': 0.33; '...': 0.34; "we're": 0.34; 'option': 0.35; 'there': 0.35; 'header:User-Agent:1': 0.35; 'skip:" 10': 0.35; '2.6': 0.35; 'option.': 0.35; 'version.': 0.35; 'languages': 0.35; 'else': 0.35; 'using': 0.35; 'actual': 0.36; 'issue': 0.37; 'something': 0.37; 'ajax': 0.37; 'recently,': 0.37; 'skip:e 20': 0.37; 'skip:- 10': 0.37; 'put': 0.37; 'two': 0.37; 'think': 0.38; 'url:python': 0.38; 'received:org': 0.38; 'could': 0.38; 'anything': 0.38; 'url:org': 0.38; 'run': 0.38; 'but': 0.38; 'execute': 0.38; 'smaller': 0.38; 'somewhat': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'user': 0.39; 'perhaps': 0.39; 'header:Mime- Version:1': 0.39; 'to:addr:python.org': 0.39; 'software': 0.40; 'current': 0.40; 'really': 0.40; 'happen': 0.60; 'six': 0.60; 'worth': 0.60; 'results': 0.60; 'best': 0.60; 'forget': 0.61; 'browser': 0.62; 'free': 0.63; 'ever': 0.64; 'nothing.': 0.67; 'safe': 0.69; 'business': 0.70; 'divided': 0.73; 'obligation': 0.73; 'technology,': 0.80; 'bear': 0.80; 'eventual': 0.84; 'exotic': 0.84; 'lkcl': 0.84; 'pyjamas': 0.84; 'should,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: pyjamas 0.8alpha1 release Date: Wed, 18 May 2011 18:02:53 -0400 References: <1fa81c6a-7b00-4bbb-b7e1-dc5b7a4aaa12@u26g2000vby.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 71 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305756194 news.xs4all.nl 49179 [::ffff:82.94.164.166]:39148 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5747 On 5/18/2011 5:24 AM, lkcl wrote: There seem to be two somewhat separate requirement issues: the interpreter binary and the language version. > a) at the moment a http://python.org 2.N interpreter is required to > actually run the translator. if you use http://python.org 2.5 or 2.6 > you do not need to use the "--internal-ast" option. if you use 2.4, > 2.7 or above, you will need to use --internal-ast because we're > heavily reliant on the internal c-based "compile" module [without the > --internal-ast option enabled]. I presume '--internal-ast' is a 'compile the interpreter' option. Since I have never compilied Python (or anything else for perhaps 15 years), I do not understand completely. Am I correct to guess that the PSF Windows binaries for 2.7 were not compiled with the flag, and will not work? If so, Windows users should, I would think, use the latest 2.6.6 binaries. > b) the actual pyjs interpreter grammar (AST) was 2.5 but has mostly > been updated to 2.6. actual python syntax / features are therefore > mostly 2.5, with someone having pointed out that "slice" has different > return results it's hard to say exactly which is best to be picked, > 2.5 or 2.6. nobody's needed slice until recently, so it's not an > issue that's ever come up before. If I understand this, the safe thing to do is to stick with 2.5 syntax and omit exotic 3.x features put into 2.6 for eventual porting to 3.x. > the thing is - it's worth reiterating: you just... really don't need > as much python interoperability for user-interfaces when they're split > along MVC lines. bear in mind that it's necessary to do that split: > it's web browser technology, you can't *actually* execute things like > psycopg or mysql in a web browser as javascript! so once you've > divided that application into "python that runs the actual user > interface" and "python on the other side of the AJAX barrier e.g. a > django app" you're left with a far smaller task for the pyjs > interpreter to have to tackle. I do not get all this but it seems to say that I do not really need all the features of the later Pythons to write user-interface code. But I am not sure how this applies to business code behind the front end. Of course, it might work to run the UI in a separate process if on the same machine. >>> otherwise please - really: just saying "give me support for python >>> 3.x or else" is ... >> >> And I did not say that. > > yeah i know - i'm sorry: it just, with a little bit of "twisting", > could be construed as implying that. Let me be clear: some people think that free (as in beer) software developers have some sort of one-sided responsibility or obligation to users who pay nothing. I don't. If I say "Give me a Python 3 version of pyjamas or I will not use it", I consider you free to respond "Fine, don't use it." End of story until I compromise or contribute. I feel free to say the same to anyone who says "Stop developing new versions of Python or I will quit using the current version". > :) i think... people forget that there are now two mutually- > exclusively-incompatible programming languages out there, where the > first six letters of the name of the programming language happen to be > the same... Something of an exaggeration. It might well be possible to use a 3to2 frontend and run a mildly restricted subset of 3.x. -- Terry Jan Reedy