[issue8668] add a 'develop' command

2010-08-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: One part of develop that we could add is the creation of a .pth file in a directory on sys.path (with Python = 2.6, --user gives that for free). IMNSHO, this should be implemented as an option to the install_lib* command, named --link-only or

[issue9712] tokenize yield an ERRORTOKEN if the identifier starts with a non-ascii char

2010-08-30 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: from io import BytesIO from tokenize import tokenize, tok_name sample = 'éléphants = un éléphant, deux éléphants, ...\nprint(éléphants)\n' sampleb = sample.encode('utf-8') exec(sample) # output: un éléphant, deux éléphants, ...

[issue9713] Py_CompileString fails on non decode-able paths.

2010-08-30 Thread Campbell Barton
New submission from Campbell Barton ideasma...@gmail.com: On linux I have a path which python reads as... /data/test/num\udce9ro_bad/untitled.blend os.listdir(/data/test/) returns this ['num\udce9ro_bad'] But the same path cant be given to the C api's Py_CompileString Where fn is

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-08-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Terry J. Reedy wrote: Terry J. Reedy tjre...@udel.edu added the comment: This is really two issues: docs and windows builds. As for docs: Many of the module doc pages mention original authors and give urls for further info. The ssl

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-08-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Raymond Hettinger wrote: Raymond Hettinger rhettin...@users.sourceforge.net added the comment: FYI, there is a section of the docs devoted to notifications and attribution licenses:

[issue843590] 'macintosh' encoding alias for 'mac_roman'

2010-08-30 Thread Martin von Gagern
Martin von Gagern martin.vgag...@gmx.net added the comment: Maybe I'm missing something here, but r84229 looks to me like aliasing 'macintosh' to itself, instead of to 'mac_roman'. 'csmacintosh' and 'mac' are not included at all, without any comment as to why they have been omitted. Makes me

[issue9700] semaphore errors on AIX 6.1

2010-08-30 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: This is also related to issue1234: It was the same issue but concerning AIX 5.2. This patch corrects the problem in the same way but for AIX 6.1. regards -- ___ Python tracker

[issue9714] urllib2 digest authentication doesn't work when connecting to a Catalyst server.

2010-08-30 Thread Kuno Woudt
New submission from Kuno Woudt k...@frob.nl: In the WWW-Authenticate header Catalyst::Authentication::Credential::HTTP sends the following value for qop: qop=auth,auth-int This is identical to the example given in section 3.5 of the RFC (http://tools.ietf.org/html/rfc2617#section-3.5 ), so I

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This is an improvement patch for the :mod:`io` documentation. It adds an user-friendly overview, and makes a couple of other fixes/improvements. There's a problem where I want to make a link to a glossary term while using the plural form

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file18679/iodoc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9715 ___

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file18680/iodoc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9715 ___

[issue1633863] AIX: configure ignores $CC

2010-08-30 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: The workaround that I have been using is to call configure like this: ./configure --with-gcc=${CC} (I usually define CC like this: export CC=xlc_r) Python compiles fine on AIX 6.1 with that. -- nosy: +sable

[issue1731717] race condition in subprocess module

2010-08-30 Thread red
red stefano.bon...@gmail.com added the comment: I'm using an old Plone/Zope Product, PHParser, that uses the popen2 call ... same problem for me. Is there a thread-safe alternative to execute subprocesses in threads? I need a patch!!! thanks in advance!!! -- nosy: +shaphiro

[issue9713] Py_CompileString fails on non decode-able paths.

2010-08-30 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9713 ___ ___ Python-bugs-list mailing list

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, committed in r84357 (py3k) and r84358 (3.1). Backporting to 2.7 would be too much work. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.7

[issue9715] io doc improvements

2010-08-30 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: A couple wording comments: All streams are careful about the type of data you give to them would read better as All streams accept specific types of data. The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``). I liked the

[issue9715] io doc improvements

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/8/30 Skip Montanaro rep...@bugs.python.org: Skip Montanaro s...@pobox.com added the comment: A couple wording comments: All streams are careful about the type of data you give to them would read better as All streams accept

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``). I liked the original wording better. Well, people use r in practice, and rt is a somewhat rarer alternative. We could drop the synonym... part entirely. --

[issue9633] pdb go stack up/down

2010-08-30 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9633 ___ ___ Python-bugs-list

[issue9650] format codes in time.strptime docstrings

2010-08-30 Thread Catherine Devlin
Catherine Devlin fredv8vi...@liquidid.net added the comment: Did my suggestion to alter pydoc output so it always contains a link to the enclosing module's documentation not seem like a reasonable compromise? I actually don't understand how that would help. The ``pydoc time`` output doesn't

[issue9715] io doc improvements

2010-08-30 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Finally, not specific to this change, but I wonder if rather than having distinct io.StringIO and io.BytesIO classes it would be better to have a single io.MemoryIO class which takes mode arguments just like io.FileIO?  The

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: File I/O and memory I/O would have more uniform in their APIs and thus be easier to document, describe and use. Currently, one class is used to do file I/O. That's wrong. Various classes are used for file I/O: FileIO,

[issue9712] tokenize yield an ERRORTOKEN if the identifier starts with a non-ascii char

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: r84364 -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9712 ___

[issue9650] format codes in time.strptime docstrings

2010-08-30 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Did my suggestion to alter pydoc output so it always contains a link to the enclosing module's documentation not seem like a reasonable compromise? Catherine I actually don't understand how that would help. The ``pydoc

[issue9700] semaphore errors on AIX 6.1

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch committed in r84366 (py3k), r84367 (3.1), r84368 (2.7). Thanks for your contribution! -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: -Python 2.6, Python 3.3

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Good catch. keyfile without certfile should be forbidden, and raise a ValueError. -- components: +Library (Lib) stage: - needs patch type: - behavior versions: +Python 3.2 ___ Python tracker

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Are we sure? Do we have a reference which states that? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9711 ___

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Not really, but in previous versions it would fail as soon as you try to connect: s = ssl.wrap_socket(socket.socket(), keyfile=XXX) s.connect((svn.python.org, 443)) Traceback (most recent call last): File stdin, line 1, in module File

[issue7546] msvc9compiler.py: add .asm extension

2010-08-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I have a new patch with tests, but I'm not quite satisfied with it. The remaining problem is that the choice of ml64 or ml is fragile if a user has executed `vcvarsall xyz`, and we attempt to use the resulting environment. For example,

[issue7546] msvc9compiler.py: add .asm extension

2010-08-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: For Visual Studio Express this issue depends on issue 7511. -- dependencies: +msvc9compiler.py: ValueError: [u'path'] ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-08-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Stefan (sorry for the misattribution in my previous message), can you test with 3.2 and 3.1 and adjust versions if needed? Not easily at the moment. I just noticed that I replaced my only Express installation with a Pro trial-edition.

[issue9704] 3.2 - zlib.pc.in is missing in source tree

2010-08-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2010-08-28, at 12:48 AM, Martin v. Löwis wrote: Martin v. Löwis mar...@v.loewis.de added the comment: Ok, I have now added these files in r84332. Thanks! -- ___ Python tracker

[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2010-08-30 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @Ben are you still interested in this or can it be closed? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1351020

[issue1353344] python.desktop

2010-08-30 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: 3 weeks since msg113207 and no response. Seriously, what is a reasonable time before closing as out of date? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue1353344] python.desktop

2010-08-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That depends. Especially feature requests need not be closed prematurely. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1353344 ___

[issue1367631] maximum length not enforced in cgi.parse()

2010-08-30 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg109880. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1367631 ___

[issue1372650] Cookie and multiple names

2010-08-30 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: A patch is attached to #1375011. -- dependencies: -Improper handling of duplicate cookies nosy: +BreamoreBoy resolution: - duplicate status: open - closed superseder: - Improper handling of duplicate cookies

[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't think there's any point in including DJGPP support in the Python tree (DJGPP targets MS-DOS, which is completely marginal today). Furthermore, the patch has no chance of applying cleanly on the current source tree. I would suggest that

[issue9716] The inittab modules cannot be packages

2010-08-30 Thread Kay Hayen
New submission from Kay Hayen kayha...@gmx.de: Hello, I try to include modules with PyImport_AppendInittab or PyImport_ExtendInittab and that works fine. But if these modules are part of a package, i.e. I provide package_name.module_name as the name, they never get considered. Is there any

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Fixed in r84370. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9711 ___

[issue9717] operator module - in place operators documentation

2010-08-30 Thread Arnaud Delobelle
New submission from Arnaud Delobelle arno...@googlemail.com: More detailed explanation of how in place operators work, and how they are related to the operator module iadd, isub, ... functions. Submitted following this message on python-list:

[issue1353344] python.desktop

2010-08-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I asked because there was no such thing in the Unix I once used and I have never used Linux (yet). I take Georg's answer to mean that this is not obviously obsolete and should be left open. -- ___

[issue9693] asynchat push_callable() patch

2010-08-30 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Updated patch which fixes a little test error. -- Added file: http://bugs.python.org/file18683/asynchat-push-callable.patch ___ Python tracker rep...@bugs.python.org

[issue9718] Python Interpreter Crash

2010-08-30 Thread quindraco
New submission from quindraco rickweinber...@gmail.com: I am attaching my stacktrace from using Python 2.6, but I get identical behaviour in 2.7. I suspect that at least one of the underlying modules I'm using is broken, but the interpreter shouldn't crash just because an external module is

[issue9714] urllib2 digest authentication doesn't work when connecting to a Catalyst server.

2010-08-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +orsenthil versions: -Python 2.5, Python 2.6, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9714 ___

[issue9693] asynchat push_callable() patch

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Some comments: - the signature in the doc is not the same as in the code: (fun, args, kwds) instead of (fun, *args, **kwds) - I don't understand what _Callable is used for; why not just a tuple? (or a function if you prefer) - if you use

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Like Mark, I too see an error with ctypes due to this change: *** WARNING: renaming _ctypes since importing it failed: dlopen(build/lib.macosx-10.5-intel-3.2/_ctypes.so, 2): Symbol not found: _ffi_closure_alloc Referenced from:

[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: With openssl-1.0.0a, I get the following error when building the py3k branch on Windows 64-bit: Traceback (most recent call last): File build_ssl.py, line 262, in module main() File build_ssl.py, line 234, in main for

[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: I cannot arrive at a possible rationale behind that commit, as the only '*.asm' file I see in the openssl-1.0.0a/ directory is ms\update.asm. -- ___ Python tracker rep...@bugs.python.org

[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9719 ___ ___

[issue9718] Python Interpreter Crash

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This seems to be a pyodbc problem, you should post the issue to them. When an extension module written in C (pyodbc.so) has an issue, there's nothing Python can do to prevent it from crashing the whole process, since C is an insecure language.

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-08-30 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1868 ___ ___ Python-bugs-list mailing

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-08-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I see the same crash in test_capi, qemu, Windows 7, Debug|x64. The function crash_no_current_thread() introduced in r81142 ultimately calls Py_FatalError, which then aborts. -- nosy: +skrah

[issue9718] Python Interpreter Crash

2010-08-30 Thread quindraco
quindraco rickweinber...@gmail.com added the comment: I thought as much, so I've already posted on the pyodbc bug tracker, but thanks for the second opinion; I wasn't sure. I realise modules written in C can't be prevented from crashing, but is it really impossible to keep the interpreter

[issue9718] Python Interpreter Crash

2010-08-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Well, that's a another issue completely. -- nosy: +benjamin.peterson status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9718

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-08-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I just see that the test is running as expected: _testcapi.crash_no_current_thread() is running in a subprocess, so the abort() is harmless on Linux. On Windows, abort() causes the pop-ups, apparently even when it occurs in a subprocess.

[issue9720] zipfile writes incorrect local file header for large files in zip64

2010-08-30 Thread Craig de Stigter
New submission from Craig de Stigter craig...@gmail.com: Steps to reproduce: # create a large (4gb) file f = open('foo.txt', 'wb') text = 'a' * 1024**2 for i in xrange(5 * 1024): f.write(text) f.close() # now zip the file import zipfile z = zipfile.ZipFile('foo.zip', mode='w',

[issue1367631] maximum length not enforced in cgi.parse()

2010-08-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: closed - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1367631 ___ ___

[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2010-08-30 Thread Ben Decker
Ben Decker bd...@users.sourceforge.net added the comment: Closed then. The next patch will posted at http://www.caddit.net/pythond/when we get around to doing a version 3 port. Frankly, as the current v2 binary meets most remaining requirements on this legacy platform, we are left with modern

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-08-30 Thread Bastian Kleineidam
New submission from Bastian Kleineidam cal...@users.sourceforge.net: The urljoin() implementation cuts off the last base URL character if the URL to join starts with a semicolon. Expected output is no cut off characters. $ python2.6 Python 2.6.6 (r266:84292, Aug 29 2010, 12:36:23) [GCC 4.4.5