[Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-18 Thread Kerrick Staley
Hi, These are two emails I sent a short while ago about finalizing PEP 394. There was no response, so in case the messages didn't go through, I'm resending them. Thanks, Kerrick Staley -- Forwarded message -- From: Kerrick Staley m...@kerrickstaley.com Date: Sat, Jul 9, 2011 at

Re: [Python-Dev] [PEPs] Rebooting PEP 394 (aka Support the /usr/bin/python2 symlink upstream)

2011-07-18 Thread Ned Deily
In article CANaWP3zBo8cNWNHN=jxx_m3tubk3k+vn+lygqb+yimdtrzv...@mail.gmail.com, Kerrick Staley m...@kerrickstaley.com wrote: Here are my thoughts: * For Ned's comments, I agree. Although the issue isn't as large with these programs, there's no reason we can't handle them in the same way. I

[Python-Dev] Python web adv. ?

2011-07-18 Thread Durga D
Hi All, My desktop application opens web page from tomcat/apache server in button click event (MySQL database by using JSP/Servlets on internet from user machine). Here, I found some delay in opening web pages. Is there any advantages with Python over JSP/Servlets? I am new to web

Re: [Python-Dev] Python web adv. ?

2011-07-18 Thread Laurens Van Houtven
Hi! This list is for developing Python itself, not about developing *in* Python. For more support try the comp.lang.python newsgroup or the equivalent http://mail.python.org/mailman/listinfo/python-list mailing list, or the #python IRC channel on Freenode. cheers lvh On Mon, Jul 18, 2011 at

[Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
Attached reduced test case works fine with Python 3.1, fails with Python3.2: SyntaxError: Non-ASCII character '\xc3' in file D:\my\py\t32enc.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I'm familiar with the PEP, but thought 3.x cured that.

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Terry Reedy
On 7/18/2011 3:10 PM, Glenn Linderman wrote: Attached reduced test case works fine with Python 3.1, fails with Python3.2: SyntaxError: Non-ASCII character '\xc3' in file D:\my\py\t32enc.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details It runs

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Paul Moore
2011/7/18 Glenn Linderman v+pyt...@g.nevcal.com: Attached reduced test case works fine with Python 3.1, fails with Python3.2: PS D:\Data py -3 .\t32enc.py PS D:\Data py -2 .\t32enc.py File .\t32enc.py, line 1 SyntaxError: Non-ASCII character '\xc3' in file .\t32enc.py on line 1, but no

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Anthony Kong
Similar outcome as Paul's. $ python3 t32enc.py $ python t32enc.py File t32enc.py, line 1 SyntaxError: Non-ASCII character '\xc3' in file t32enc.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details $ python3 -V Python 3.2.1a0 $ python -V Python 2.6.1

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 1:01 PM, Paul Moore wrote: 2011/7/18 Glenn Lindermanv+pyt...@g.nevcal.com: Attached reduced test case works fine with Python 3.1, fails with Python3.2: PS D:\Data py -3 .\t32enc.py PS D:\Data py -2 .\t32enc.py File .\t32enc.py, line 1 SyntaxError: Non-ASCII character '\xc3'

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
The reason I thought it did nothing, is that I checked assoc  ( =Python.File ) and ftype ( =c:\python32\python.exe %1 %* ) both of which look familiar, and neither of which mention   py.exe  which is what I think the launcher is supposed to have been named; and running 

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 2:13 PM, Vinay Sajip wrote: Remember that there are two sets of locations - HKCU and HKLM - where the type associations are potentially held. Please do a registry search (with Administrator rights so you can search the whole registry) for py.exe or pyw.exe and see if they show up

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 2:13 PM, Vinay Sajip wrote: The reason I thought it did nothing, is that I checked assoc ( =Python.File ) and ftype ( =c:\python32\python.exe %1 %* ) both of which look familiar, and neither of which mention py.exe which is what I think the launcher is

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
Glenn Linderman v+python at g.nevcal.com writes: Here is a list of py.exe references in my registry: HCR\Python.CompiledFile HCR\Python.File HCR\Python.NoConFile [snip] There shouldn't be so many references, so I suggest you may want to try the following (after

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 4:55 PM, Vinay Sajip wrote: Glenn Lindermanv+pythonat g.nevcal.com writes: Here is a list of py.exe references in my registry: HCR\Python.CompiledFile HCR\Python.File HCR\Python.NoConFile [snip] There shouldn't be so many references, so I suggest

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Vinay Sajip
Glenn Linderman v+python at g.nevcal.com writes: So, then, there must be 2 problems... one in the launcher installer, and the other being whatever happened to my machine. I think so. I know that Windows sometimes adds file type associations under HKCU which shadow the ones set up in

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 6:41 PM, Vinay Sajip wrote: Yes, but the launcher installer is beta software, and it's not yet clear exactly how the launcher will be packaged with Python 3.3. Clearly if packaged as an automatic installation with Python, it will use Python defaults. Sure, and that's why I'm

Re: [Python-Dev] 3.2.1 encoding surprise

2011-07-18 Thread Glenn Linderman
On 7/18/2011 7:03 PM, Glenn Linderman wrote: Wonder if there is a third party command line tool which augments them for reading/setting HCU Classes? Will search. I know there is a command line registry tool somewhere, but specifying the paths correctly would be onerous. XP+ has REG and