[issue3448] Multi-process 2to3

2008-10-02 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: "I don't think we should force people using it as a library to go multiprocess." I don't understand this. What downsides do you perceive in multiprocessing support? Multiprocessing is a significant speed-up for 2to3 on multicore systems.

[issue4013] Python 2.6 Doc/tools folder bigger than in 2.6rc2

2008-10-02 Thread Koen van de Sande
New submission from Koen van de Sande <[EMAIL PROTECTED]>: The Doc/tools folder in the 2.6 distribution contains docutils, jinja, pygments, sphinx folders, which were not there in the 2.6rc2 .tar.bz2. Also, there is a roman.pyc in the Doc/tools folder. The difference in uncompressed size is a

[issue4014] Python-2.6-py2.6.egg-info contains Alpha reference

2008-10-02 Thread Koen van de Sande
New submission from Koen van de Sande <[EMAIL PROTECTED]>: In file lib/python2.6/lib-dynload/Python-2.6-py2.6.egg-info, after a fresh installation of Python 2.6 there are two lines for Development status both Alpha and Mature: Platform: Many Classifier: Development Status :: 3 - Alpha Classifi

[issue957650] Fix for bugs relating to ntpath.expanduser()

2008-10-02 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I just saw this bug entry in the whatsnew list. The os.path.expanduser() function handles ~user the wrong way. The (naive) implementation expects that all user directories are inside a common base path. This is only true for standalone Windo

[issue4015] [patch] make installed scripts executable on windows

2008-10-02 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: Distutils contains code to make scripts executable on posix platform. Here is a patch to for the same feature for nt. It adds .bat file for every script that doesn't have executable launcher. -- components: Distutils files: creat

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Jesse Noller
Changes by Jesse Noller <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> jnoller nosy: +jnoller ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3661] sys.call_tracing segfaults

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1210] imaplib does not run under Python 3

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3775] Update RELNOTES file

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3574] compile() cannot decode Latin-1 source encodings

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3799] Byte/string inconsistencies between different dbm modules

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3988] Byte warning mode and b'' != ''

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3723] Py_NewInterpreter does not work

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3895] _lsprof issue

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11673/idle_encoding.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Ah! tokenize has already a method detect_encoding(). My new patch uses it to avoid code duplication. Added file: http://bugs.python.org/file11677/idle_encoding-2.patch ___ Python tracker <[EMAIL PROTECTED

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Notice that there is also IOBinding.coding_spec. Not sure whether this or the one in tokenize is more correct. -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]>

[issue4006] os.getenv silently discards env variables with non-UTF-8 values

2008-10-02 Thread Toshio Kuratomi
Toshio Kuratomi <[EMAIL PROTECTED]> added the comment: It's not a feature it's a bug! :-) (I hope you meant to have a smiley too ;-) As stated in the os.listdir() related bug, on Unix filesystems filenames are a sequence of bytes. The system encoding allows the user-level tools to display the

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-02 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I will try to time next weekend to fix this (and other pickle blockers). ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-02 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-02 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I will try to find time next weekend to fix this (and other pickle blockers). ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4016] improve linecache: reuse tokenize.detect_encoding() and io.open()

2008-10-02 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: linecache uses it own code to detect a Python script encoding whereas a function tokenize.detect_encoding() already exists. It does also convert bytes => unicode conversion of the file lines whereas open() already supports this feature.

[issue4016] improve linecache: reuse tokenize.detect_encoding() and io.open()

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11679/tokenize_bom_utf8.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-02 Thread Fabio FZero
New submission from Fabio FZero <[EMAIL PROTECTED]>: I've just installed Python 2.6 on Mac OS X 10.5.5 and IDLE won't start. IDLE 2.5 still works fine. Here's the traceback: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/bin/idle", line 3, in

[issue1541] Bad OOB data management when using asyncore with select.poll()

2008-10-02 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: While handle_expt() is documented has only being called when OOB data is known, it has become the catch-all for "something strange is happening on the socket". The reason it wasn't changed/fixed in Python 2.6 is because a new method would

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread John Ehresman
New submission from John Ehresman <[EMAIL PROTECTED]>: After installing the 32 bit .msi or the 64 bit .msi "for me" on a fairly clean Vista x64 machine, the socket module won't import because of a side-by-side configuration error. The output below is from the 32 bit build. Microsoft Windows [Ve

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Could you try it again with "..\\msvcr90.dll", please? -- nosy: +christian.heimes ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1541] Bad OOB data management when using asyncore with select.poll()

2008-10-02 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: 3.0 is a no-go, no non-documentation changes allowed. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4019] 2.6 (final) uses old icons in Start Menu

2008-10-02 Thread Craig Holmquist
New submission from Craig Holmquist <[EMAIL PROTECTED]>: The Start Menu icons created by the Python 2.6 installer use the old icons (the green snake, 4-bit color) instead of the new ones (blue and yellow snake, 24-bit color). This was observed on Windows XP. An installation of 2.5.2 on the same

[issue4019] 2.6 (final) uses old icons in Start Menu

2008-10-02 Thread Craig Holmquist
Changes by Craig Holmquist <[EMAIL PROTECTED]>: -- components: +Windows ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread John Ehresman
John Ehresman <[EMAIL PROTECTED]> added the comment: Neither "..\\msvcr90.dll" or a full path work (with \ or \\) seem to work. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3187] os.listdir can return byte strings

2008-10-02 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Martin, can you check in your changes to add sys.setfilesystemencoding()? I will check in Victor's changes (with some edits). Together this means that the various suggested higher-level solutions (like returning path-like objects, or some

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-10-02 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I've found an interesting difference between Python and Perl regular expressions: In Python: \Z matches at the end of the string In Perl: \Z matches at the end of the string or before a newline at the end of the st

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I don't have a Vista box at my disposal. Martin might be able to help you. Barry: I've marked this bug as blocker because it makes Vista installations useless. It's not a blocker for the upcoming beta but it should be fixed before the next

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: There's also an applyAsync left in the introductory Pool example. Jesse, while you're at it, could you please add a blurb that some examples won't work when tried at the interactive interpreter (and perhaps also why)? _

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Which examples are you talking about Georg? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Also, several things which are properties are still referred to as methods and include the () chars for the call ___ Python tracker <[EMAIL PROTECTED]>

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I e.g. tried a minimal example with Pool.map(): >>> from multiprocessing import Pool >>> p = Pool(5) >>> def f(x): ... return x*x ... >>> p.map(f, [1,2,3]) Process PoolWorker-1: Traceback (most recent call last): File "/home/gbr/devel/python

[issue3187] os.listdir can return byte strings

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11680/python3_bytes_filename-3.patch ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3187] os.listdir can return byte strings

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11667/python3_bytes_filename-2.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Ok, let me take a look at that ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2008-10-02 Thread Erik Nolte
Erik Nolte <[EMAIL PROTECTED]> added the comment: To reproduce on Windows XP with Python 2.4, 2.5, and 2.6: 1. Import issue_2810.reg (it creates two keys under HKCU\PythonTestUnicodeKeys: one with a one byte unicode char in the key, the other with multiple 2-byte unicode chars) 2. Run the follo

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: On Thu, Oct 2, 2008 at 1:10 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > > Georg Brandl <[EMAIL PROTECTED]> added the comment: > > I e.g. tried a minimal example with Pool.map(): > from multiprocessing import Pool p = Pool(5) def

[issue4012] Minor errors in multiprocessing docs

2008-10-02 Thread Kent Johnson
Kent Johnson <[EMAIL PROTECTED]> added the comment: On Thu, Oct 2, 2008 at 1:07 PM, Jesse Noller <[EMAIL PROTECTED]> wrote: > > Jesse Noller <[EMAIL PROTECTED]> added the comment: > > Which examples are you talking about Georg? I think you mean me, not Georg...I was referring to the example that

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Steve Lee
Changes by Steve Lee <[EMAIL PROTECTED]>: -- nosy: +slee ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Un

[issue3972] Add Option to Bind to a Local IP Address in httplib.py

2008-10-02 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: This is useful but as its a feature we won't be able to add it until 2.7/3.1. Assigning to me to make sure it happens. Until then, the approach I suggest is to subclass httplib.HTTPConnection and HTTPSConnection to add your own variants th

[issue3972] Add Option to Bind to a Local IP Address in httplib.py

2008-10-02 Thread Eldon Ziegler
Eldon Ziegler <[EMAIL PROTECTED]> added the comment: Sounds good. Let me know if there is anything I can do to help. Eldon On Thu, 2008-10-02 at 18:17 +, Gregory P. Smith wrote: > Gregory P. Smith <[EMAIL PROTECTED]> added the comment: > > This is useful but as its a feature we won't be ab

[issue3187] os.listdir can return byte strings

2008-10-02 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: I have committed a somewhat modified version of Victor's latest patch as r66743. Assigning to MvL now for the sys.setfilesystemencoding() commit. Then you can hand it over to the doc folks; something derived from http://wiki.python.org/moi

[issue4020] hasattr boundary case failure

2008-10-02 Thread Xore
New submission from Xore <[EMAIL PROTECTED]>: http://www.python.org/doc/2.5.2/lib/built-in-funcs.html#l2h-35 "(This is implemented by calling getattr(object, name) and seeing whether it raises an exception or not.)" If a property exists but it's retrieval throws some error, hasattr will interpr

[issue4014] Python-2.6-py2.6.egg-info contains Alpha reference

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Guido, it seems you added these in r31526. What do you think? -- assignee: -> gvanrossum nosy: +gvanrossum, loewis ___ Python tracker <[EMAIL PROTECTED]> __

[issue4014] Python-2.6-py2.6.egg-info contains Alpha reference

2008-10-02 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Yeah, but I have no idea where I got the info, alas. I would recommend to just delete the Alpha line, but who knows what it means. And should we update this for each alpha or beta release??? -- assignee: gvanrossum -> loewis

[issue4020] hasattr boundary case failure

2008-10-02 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: This is fixed in 2.6. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue957650] Fix for bugs relating to ntpath.expanduser()

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Martin, do you concur? Not really. On my system, which is part of a domain, expanduser("~") gives 'C:\\Documents and Settings\\martin.vonloewis', which is indeed the directory where my profile lives. HOMEDRIVE is Y:, and HOMESHARE is some

[issue3187] os.listdir can return byte strings

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Martin, can you check in your changes to add sys.setfilesystemencoding()? Will do tomorrow. ___ Python tracker <[EMAIL PROTECTED]>

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I had noticed the problem myself, and I don't know any solution to it. It's still part of the aftermath of switching to VS 2008, maybe we should have stayed with VS 2003 :-( Out of curiosity: Is this Vista SP1? If so, can somebody try Vista

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión <[EMAIL PROTECTED]>: -- nosy: +jcea ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3799] Byte/string inconsistencies between different dbm modules

2008-10-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión <[EMAIL PROTECTED]>: -- nosy: +jcea ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3799] Byte/string inconsistencies between different dbm modules

2008-10-02 Thread Benoit Boissinot
Changes by Benoit Boissinot <[EMAIL PROTECTED]>: -- nosy: +bboissin ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

[issue3187] os.listdir can return byte strings

2008-10-02 Thread djc
Changes by djc <[EMAIL PROTECTED]>: -- nosy: +djc ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4010] configure options don't trickle down to distutils

2008-10-02 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: One of the problems that I see in that LDFLAGS is Makefile variable and Makefile is part of distribution for posix build systems. If you set specific LDFLAGS and you want to distribute own python build user will get you specific settings. One a

[issue3972] Add Option to Bind to a Local IP Address in httplib.py

2008-10-02 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue4019] 2.6 (final) uses old icons in Start Menu

2008-10-02 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Yeah, that was the first thing I noticed. :) -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3799] Byte/string inconsistencies between different dbm modules

2008-10-02 Thread Benoit Boissinot
Changes by Benoit Boissinot <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue3799] Byte/string inconsistencies between different dbm modules

2008-10-02 Thread Benoit Boissinot
Changes by Benoit Boissinot <[EMAIL PROTECTED]>: -- nosy: -bboissin ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3187] os.listdir can return byte strings

2008-10-02 Thread Benoit Boissinot
Changes by Benoit Boissinot <[EMAIL PROTECTED]>: -- nosy: +bboissin ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread John Ehresman
John Ehresman <[EMAIL PROTECTED]> added the comment: I think one of the tested machines is Vista RTM, though it's been updated. I also tried of Vista x32 SP1 and it fails there. If non-admin installs can't be made to work, I agree that the "for me" option be dropped and the installer changed

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2008-10-02 Thread Daniel Darabos
Changes by Daniel Darabos <[EMAIL PROTECTED]>: -- nosy: +cyhawk ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: loewis wrote: > Notice that there is also IOBinding.coding_spec. > Not sure whether this or the one in tokenize is more correct. Oh! IOBinding reimplement many features now available in Python like universal new line or function to write uni

[issue4006] os.getenv silently discards env variables with non-UTF-8 values

2008-10-02 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: @a.badger: Again, dropping invalid filenames in listdir() is a (very recent) choice of the Python3 design. Please read this document which explain the current situation of bytes vs unicode: http://wiki.python.org/moin/Python3UnicodeDecode

[issue4010] configure options don't trickle down to distutils

2008-10-02 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Thu, Oct 2, 2008 at 1:57 PM, Roumen Petrov <[EMAIL PROTECTED]> wrote: > > Roumen Petrov <[EMAIL PROTECTED]> added the comment: > > One of the problems that I see in that LDFLAGS is Makefile variable and > Makefile is part of distribution for

[issue3448] Multi-process 2to3

2008-10-02 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I'm just saying that a client of lib2to3 shouldn't have to use multiple processes. Just as long as the multiple processes are optional, I'm happy. :) ___ Python tracker <[EMAIL PROTECTED]>

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > I looked for > a solution to this, but so far can't find any -- and this would also > mean that .pyd files in site-packages and elsewhere would need .manifest > files that contain the path to where msvcr90.dll is located. I don't think

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Oh! IOBinding reimplement many features now available in Python like > universal new line or function to write unicode strings to a file. It did not *re*implement. The implementation in IOBinding predates all other implementations out the

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-10-02 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Perl v5.10 offers the ability to have duplicate capture group numbers in branches. For example: (?|(a)|(b)) would number both of the capture groups as group 1. Something to include? ___ Python track

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-10-02 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I've extended the group referencing. It now has: Forward group references (\2two|(one))+ \g-type group references (n is name or number) \g (Python re replacement string) \g{n} (Perl) \g'n' (Perl) \g"n" (because ' a

[issue4021] tokenize.detect_encoding(): raise SyntaxError on codecs.lookup() error

2008-10-02 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: tokenize.detect_encoding() raises a LookupError() if the charset is unknown whereas Python raises a SyntaxError. So this patch mimics Python behaviour for tokenize module. Extra: reuse BOM_UTF8 from the codecs module. -- files: t

[issue4016] improve linecache: reuse tokenize.detect_encoding() and io.open()

2008-10-02 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: I wrote a different (and better) patch for tokenize module: moved to the issue4021. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4016] improve linecache: reuse tokenize.detect_encoding() and io.open()

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11679/tokenize_bom_utf8.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: @loewis: Ok, I didn't know. I think that it's better to reuse existing code. I also compared the implementations of encoding detection, and the code looks the same in IDLE and tokenize, but I prefer tokenize. tokenize.detect_encoding() has

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread John Ehresman
John Ehresman <[EMAIL PROTECTED]> added the comment: > I don't think this could even work: apparently, Vista disallows putting > a path into the name field. So extension modules will have to ship with > their own copy of the CRT (or link statically). I agree that this is the case. The closest t

[issue4022] 2.6 dependent on c:\python26\ on windows

2008-10-02 Thread Armando Rowe
New submission from Armando Rowe <[EMAIL PROTECTED]>: The windows installer for Python 2.6 offers to install on c:\python26\ - If you chose to install on c:\python\ instead, the installation will run through and terminate succesfully, but whenever you try executing any python program, an error me

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I can't reproduce the problem. It works fine for me, displaying the box drawing character. In case it matters, sys.getpreferredencoding returns 'ANSI_X3.4-1968'; this is on Linux, idle started from an xterm, r66761 __

[issue4023] convert os.getcwdu() to os.getcwd(), and getcwdu() to getcwd()

2008-10-02 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: Python3 removes os.getcwdu() and introduces os.getcwdb(). The patch is a fixer for lib2to3 replacing "os.getcwdu()" to "os.getcwd()", and "getcwdu()" to "getcwd()". I hope that nobody defined its own "getcwdu()" function :-) Example: ---

[issue4022] 2.6 dependent on c:\python26\ on windows

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Did you chose "for all users", or "just for me"? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4023] convert os.getcwdu() to os.getcwd(), and getcwdu() to getcwd()

2008-10-02 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11684/fix_getcwdu.py ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4022] 2.6 dependent on c:\python26\ on windows

2008-10-02 Thread Armando Rowe
Armando Rowe <[EMAIL PROTECTED]> added the comment: For all users in all attempts ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue4023] convert os.getcwdu() to os.getcwd(), and getcwdu() to getcwd()

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: (there is currently no patch attached) I don't think getcwd() should be fixed as getcwdb(). It's not possible to tell what the intention of the call was, in which case I recommend not to change the code at all. -- nosy: +loewis ___

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: May be call of SetDllDirectory with argument path to python executable before to load a python module may help. -- nosy: +rpetrov ___ Python tracker <[EMAIL PROTECTED]>

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Armando Rowe
Armando Rowe <[EMAIL PROTECTED]> added the comment: See issue 4022 for a similar problem in WIndows XP professional, installed for all users. -- nosy: +armandorowe ___ Python tracker <[EMAIL PROTECTED]> _

[issue4021] tokenize.detect_encoding(): raise SyntaxError on codecs.lookup() error

2008-10-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This patch seems good to me, it fixes the following test: Index: Lib/test/test_tokenize.py === --- Lib/test/test_tokenize.py (revision 66701) +++ Lib/test/test_tokenize.p

  1   2   >