[issue3552] uuid - exception on uuid3/uuid5

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: So are you saying that if I had libopenssl (or whatever the name is) installed and linked with Python, it would bypass the use of _md5 and _sha1, and call the hash functions in libopenssl instead? Correct. Those modules aren't even built

[issue3557] Segfault in sha1

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the report. Fixed in r65690. -- nosy: +loewis resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3557

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: PyMemoryViewObject has a base field which points to the originator of the buffer. However, this field has become redundant now that the Py_buffer struct has received an obj field which also points to the originator of the buffer (this has

[issue2394] [Py3k] Finish the memoryview object implementation

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: See also #3560. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2394 ___ ___ Python-bugs-list mailing list

[issue2271] msi installs to the incorrect location (C drive)

2008-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- priority: - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2271 ___ ___ Python-bugs-list

[issue3392] subprocess fails in select when descriptors are large

2008-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- priority: - normal type: - behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3392 ___

[issue3482] re.split, re.sub and re.subn should support flags

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Please note that the flags can be inlined in the pattern instead. That is, you can begin the pattern with (?i) instead of passing re.I in the flags parameter. -- nosy: +pitrou priority: - normal type: behavior - feature request

[issue3006] subprocess.Popen causes socket to remain open after close

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: It's not perfect--another thread could still spawn a subprocess in between Then it could be done in socketmodule.c, when still holding the GIL. Python code can change back the socket to inheritable afterwards if it wants to. We probably

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: This should really be fixed. Hanging on a rather normal email message (not a theoretical example) is not right. -- nosy: +pitrou priority: - high versions: +Python 3.0 ___ Python tracker [EMAIL

[issue2271] msi installs to the incorrect location (C drive)

2008-08-15 Thread Andrew Dalke
Andrew Dalke [EMAIL PROTECTED] added the comment: I also have this problem. (2.5 msi installer under Win2K with a non- admin account granted admin privs). Python installs just fine under C:\ (instead of C:\Python25) but then I run into problems installing the win32 extensions. Searching the

[issue3553] 2to3 -l doesn't work when installed in /opt

2008-08-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: This is a duplicate of #3131. -- nosy: +benjamin.peterson resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3553

[issue1398] Can't pickle partial functions

2008-08-15 Thread Nicolas Grilly
Nicolas Grilly [EMAIL PROTECTED] added the comment: It seems using protocol version 2 is not enough: s = pickle.dumps(partial_f, 2) f = pickle.loads(s) Traceback (most recent call last): ... TypeError: type 'partial' takes at least one argument Am I missing something? -- nosy:

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Jason Spiro
New submission from Jason Spiro [EMAIL PROTECTED]: The Python Windows installer[1] should automatically add the Python and Scripts directories to the PATH environment variable. (If you like, you can also provide a checkbox in the installer GUI that users can uncheck if they don't want this

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Why is this a critical bug? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3560 ___

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I still don't think such a change should be made, hence I reject this report as won't fix. Discussion shouldn't start again on this matter until there is an actual patch to review. -- resolution: - wont fix status: open - closed

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Because it should be fixed before 3.0 final? -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3560 ___

[issue2642] MSVCRT packing in Windows Installer (3.0a4)

2008-08-15 Thread Paul Molodowitch
Paul Molodowitch [EMAIL PROTECTED] added the comment: To do a private, SxS install, see: http://msdn.microsoft.com/en-us/library/ms997620.aspx I once made a private SxS installation of a MSVC-reliant app (that you could install with non-admin privileges), and if recall correctly, it required

[issue1398] Can't pickle partial functions

2008-08-15 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: I agree that this a bug. However, the liberal functools.partial constructor makes it hard to pickle partial instances correctly. Ideally, we would add the __getnewargs__ special method and be done with it. But, this won't work in this

[issue3558] Operator precedence misdocumented

2008-08-15 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, moved attribute reference to the appropriate place in r65693. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3558

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Because it should be fixed before 3.0 final? And why should that be done? IMO, this can still be fixed in 3.1, or not a fixed at all - I fail to see the true bug (apart from the minor redundancy). ___

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Le vendredi 15 août 2008 à 19:10 +, Martin v. Löwis a écrit : Martin v. Löwis [EMAIL PROTECTED] added the comment: Because it should be fixed before 3.0 final? And why should that be done? IMO, this can still be fixed in 3.1, or

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I've filed this as critical because it is a new API and, if we change it, we'd better change it before 3.0 is released. I don't think it is API. The structure may be defined in a public header, but it is not intended to be used directly.

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- assignee: - pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3560 ___ ___ Python-bugs-list mailing

[issue3560] redundant base field in memoryview objects

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Ok, here is a simple patch. It: - moves the struct definition at the end of memoryobject.h with a comment that the definition should not be considered public - adds two macros for accessing the underlying Py_buffer* and PyObject*, respectively

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r65700. Thanks for the report! -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2676 ___

[issue3562] Intermitent failure in test_multiprocessing.test_number_of_objects

2008-08-15 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: Just got the following on trunk: test test_multiprocessing failed -- Traceback (most recent call last): File /home/antoine/py3k/memapi/Lib/test/test_multiprocessing.py, line 1040, in test_number_of_objects

[issue3562] Intermitent failure in test_multiprocessing.test_number_of_objects

2008-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- versions: +Python 3.0 -Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3562 ___ ___

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Jason Spiro
Jason Spiro [EMAIL PROTECTED] added the comment: Martin, at the time I read the python-list thread, I didn't pay any attention to the posts' authors. Only now did I realize you were one of the posters. Oops. I already know the basic ideas about creating MSIs with Wise from a past job. So

[issue2834] re.IGNORECASE not Unicode-ready

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Barry? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2834 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2271] msi installs to the incorrect location (C drive)

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Please try out the file at https://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.6.14106.msi and report whether it fixes the issue. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2271

[issue2271] msi installs to the incorrect location (C drive)

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Please try out the file at http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.6.14106.msi and report whether it fixes the issue. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2271

[issue2271] msi installs to the incorrect location (C drive)

2008-08-15 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2271 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3107] memory leak in make test (in test list), 2.5.2 not 2.5.1, Linux 64bit

2008-08-15 Thread jess
jess [EMAIL PROTECTED] added the comment: This appears to be the same issue as in: 30552 months ago test_list on 64-bit platforms The failing test appears to be test_bigrepeat: def test_bigrepeat(self): x = self.type2test([0]) x *= 2**16

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2008-08-15 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: 1. [TARGETDIR] will stay on the path. I think that is fine, since the python.exe will be gone, so will never be executed. Do you agree? Completely disagree. Adding something to PATH is nearly unacceptable clutter even during

[issue3131] 2to3 can't find fixes_dir

2008-08-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I don't like the patch because it constricts possible fixer dirs. IMO, refactor.py needs some refactoring its self in order to separate command line logic from application logic. ___ Python tracker [EMAIL

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2008-08-15 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: -pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 ___ ___ Python-bugs-list mailing list

[issue3474] Using functools.reduce() does not stop DeprecationWarning when using -3

2008-08-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Here's a patch that actually imports reduce from functools to stop repetition. -- keywords: +patch priority: release blocker - high Added file: http://bugs.python.org/file11120/import_from_functools.diff

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-08-15 Thread Jack Diederich
Jack Diederich [EMAIL PROTECTED] added the comment: Antoine, I looked at your patch and I'm not sure why you applied it instead of applying mine (or saying +1 on me applying my patch). Yours uses str.partition which I pointed out is sub-optimal (same big-Oh but with a larger constant factor)

[issue3499] Python 2.6 requires pre-installed Python to build

2008-08-15 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Ok. I've updated release.py to do the dirty work in 65708. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3499

[issue3139] bytearrays are not thread safe

2008-08-15 Thread Ismail Donmez
Ismail Donmez [EMAIL PROTECTED] added the comment: This seems to break test_unicode on MacOSX 10.5.4, test_unicode python(80320,0xa0659fa0) malloc: *** mmap(size=2147483648) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-08-15 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: Confirmed in HEAD for Python 2.6 and 3.0, on Linux. Python 2.6b2+ (trunk:65708, Aug 16 2008, 15:04:13) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Python 3.0b2+ (py3k:65708, Aug 16 2008, 15:09:19) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2