[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-23 Thread Daniel
Daniel daniel.mon...@free.fr added the comment: Hello, I confirm : Python3.1.1 .../... running build running build_py running build_ext building 'cx_Freeze.util' extension error: Unable to find vcvarsall.bat I've got the r73896 file correction. :( D. -- nosy: +Daniel26 versions:

[issue1747858] chown broken on 64bit

2009-12-23 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: indeed, those were missed. fixed in trunk r77007 and release26-maint r77008. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1747858

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-23 Thread Eric Devolder
Eric Devolder eric.devol...@gmail.com added the comment: Will send you the trick (file) to make it work, but I can't do it from here (at work - access restrictions) - please wait until Tonight :-) Cheers Eric 2009/12/23 Daniel rep...@bugs.python.org Daniel daniel.mon...@free.fr added the

[issue1811] True division of integers could be more accurate

2009-12-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Stealing this from Tim, with the intention of acting on it in the next couple of weeks. -- assignee: tim_one - mark.dickinson ___ Python tracker rep...@bugs.python.org

[issue7417] open builtin has no signature in docstring

2009-12-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added signature from msg95885 in r77009. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7417 ___

[issue6873] posix_lchown: possible overflow of uid, gid

2009-12-23 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I applied the same fix that was applied to chown in trunk r77007 for lchown and fchown. Could you test it on a platform where it previously failed? The existing code might still have issues if there are platforms where uid_t and gid_t are

[issue7562] Custom order for the subcommands of build

2009-12-23 Thread Jari Pennanen
Jari Pennanen jari.penna...@gmail.com added the comment: Note that I don't think that just providing an alternative order of build_py and build_ext would solve the SWIG issue - e.g. build_py wouldn't know about the new files SWIG generates unless the SWIG build process explicitly tells the

[issue7561] Filename-taking functions in posix segfault when called with a bytearray arg.

2009-12-23 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I briefly looked at how PyByteArray_AS_STRING() is used in other places. A similar segfault can be provoked in long_new(): int(bytearray(b''), 10) Then, there are a couple of places where pointer arithmetic is used with the NULL

[issue7561] PyByteArray_AS_STRING used unsafely

2009-12-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +Interpreter Core priority: high - critical title: Filename-taking functions in posix segfault when called with a bytearray arg. - PyByteArray_AS_STRING used unsafely ___ Python

[issue7568] Spelling error in imaplib module docs

2009-12-23 Thread Mike Putnam
New submission from Mike Putnam m...@theputnams.net: The documentation string within the IMAP4.thread function incorrectly spells the threading_algorithm arg as threading_alogrithm Appears to affect imaplib.py ver. 2.55 2.58 Could not find other versions to examine. Starting in:

[issue1811] True division of integers could be more accurate

2009-12-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's an updated patch, against py3k. On my machine, a/b is a touch faster with this patch when abs(a), abs(b) are smaller than 1e15 or so; it's (inevitably) slower than the existing implementation for larger a and b. For 'random' a

[issue7568] Spelling error in imaplib module docs

2009-12-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7568 ___ ___

[issue7568] Spelling error in imaplib module docs

2009-12-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7568 ___ ___

[issue7568] Spelling error in imaplib module docs

2009-12-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7568 ___ ___

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-23 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: That's an excellent idea. I had searched briefly for a more correct solution, but did not find one at the time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7566

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-23 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7566 ___ ___ Python-bugs-list mailing

[issue7569] ctypes doc improvement: c_char_p

2009-12-23 Thread Nikolaus Rath
New submission from Nikolaus Rath nikol...@rath.org: It would be great if the documentation of c_char_p (http://docs.python.org/library/ctypes.html#ctypes.c_char_p) could be reformulated as follows (would have saved me quite some time): class ctypes.c_char_p¶ Represents the C char *

[issue7570] Error in urllib2 example

2009-12-23 Thread Manuel Muradás
New submission from Manuel Muradás mmura...@dieresys.com.ar: We've found an error in an urllib2 example with Proxy Basic authentication. This is the example with the error: {{{ This example replaces the default ProxyHandler with one that uses programmatically-supplied proxy URLs, and adds proxy

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: Hi! 2.6 backport is missing an argument in _set_tunnel definition. It should be: def _set_tunnel(self, host, port=None, headers=None): -- nosy: +dieresys ___ Python tracker

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás mmura...@dieresys.com.ar added the comment: The patch fixes only when you pass the authentication info in the proxy handler's URL. Like: proxy_handler = urllib2.ProxyHandler({'https': 'http://user:p...@proxy-example.com:3128/'}) But setting the authentication using a

[issue7544] Fatal error on thread creation in low memory condition

2009-12-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: multiprocessing.Pool(): Fatal Python error: PyEval_AcquireThread: NULL new thread state - Fatal error on thread creation in low memory condition ___ Python tracker

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the note, Manuel. Fixed it in revision 77013. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291 ___

[issue7570] Error in urllib2 example

2009-12-23 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: georg.brandl - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7570 ___

[issue7570] Error in urllib2 example

2009-12-23 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed it in r77018 and merges. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7570 ___

[issue6873] posix_lchown: possible overflow of uid, gid

2009-12-23 Thread Boya Sun
Boya Sun boya@case.edu added the comment: Gregory, I discovered this bug by static analysis, so I do not have a system that this bug is actually triggered. But I am happy to see the fix applied since this makes code safer. It would be great if anyone could write a test case that cause

[issue7571] Change 'name' of Process - assertion failure if Unicode

2009-12-23 Thread Frank Millman
New submission from Frank Millman fr...@chagford.com: At the top of my program, I have 'from __future__ import unicode_literals'. I subclassed Process, and passed name='test' as an argument. I got the following traceback. Traceback (most recent call last): File F:\junk\multiprocess\mp5.py,