[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-13 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: normal -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue3859] test_sys.Sizeof fails on win64

2008-09-13 Thread Robert Schuppenies
Robert Schuppenies <[EMAIL PROTECTED]> added the comment: You are right, it should be '3P'. When merging to py3k I changed the previous line, but not the one causing trouble. -- keywords: +patch Added file: http://bugs.python.org/file11486/test_sys.patch

[issue3862] test_array fails on FreeBSD7 amd64

2008-09-13 Thread Reed O'Brien
New submission from Reed O'Brien <[EMAIL PROTECTED]>: or in FreeBSD? 2.6rc1 and 3.0b3 both fail test_array on FreeBSD7 amd64 test_array passes in 2.5.2 on the same machine but fails test_list the same as test_array... *** Signal 9 -- components: Tests messages: 73204 nosy: robrien sev

[issue3861] distutils CCompiler._compile doesn't require lang keyword argument

2008-09-13 Thread Mike Auty
New submission from Mike Auty <[EMAIL PROTECTED]>: I'm testing out Python-2.6b3 and attempted to build wxpython-2.8.8.1. It creates a subclassed CCompiler (MyUnixCCompiler), which overrides the _compile function, with the following signature: _compile(self, obj, src, ext, cc_args, extra_postarg

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: OK, thanks for the report anyway :) -- nosy: +pitrou resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3843] hexadecimal, not decimal

2008-09-13 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: No problem! Fixed in r66458. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: OK, this was because I had a .pydistutils.cfg file containing the following (ironically, put there following somebody's recipe for installing setuptools packages using stow): [install] install_lib=~/lib/python$py_version_short/site-packages insta

[issue3843] hexadecimal, not decimal

2008-09-13 Thread maix
maix <[EMAIL PROTECTED]> added the comment: I'll just reuse that since it's such a little thing (complain if that's not okay then I won't do again :) ): On http://docs.python.org/dev/whatsnew/2.6.html , it says > The bsddb module also has a new maintainer, Jes|uacute|s Cea Should be a ú I think

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-13 Thread Van Lindberg
Van Lindberg <[EMAIL PROTECTED]> added the comment: Neil, you are right. I was thinking about linking to the binary dll (which some people think might impose licensing restrictions under some circumstances), but the text does refer to the source code. As Python does not distribute any source cod

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-13 Thread Neil Hodgson
Neil Hodgson <[EMAIL PROTECTED]> added the comment: The recommended addition includes the 'excluded license' section which appears unnecessary as Python does not distribute any source code redistributables, only the .DLL file which is a binary executable. Including this is likely to confuse th

[issue3531] file read preallocs 'size' bytes which can cause memory problems

2008-09-13 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- resolution: -> rejected status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3850] find_recursion_limit.py is broken

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Bug fixed and module comments updated in r66457. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Van, your recommendation is much appreciated. I'll add your text to the LICENSE file of the next release candidates. ___ Python tracker <[EMAIL PROTECTED]> __

[issue3860] GzipFile and BZ2File should support context manager protocol

2008-09-13 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: -> normal versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3860] GzipFile and BZ2File should support context manager protocol

2008-09-13 Thread Hagen Fürstenau
New submission from Hagen Fürstenau <[EMAIL PROTECTED]>: When you've become used to writing with open("xzy", "w") as f: it's strange when it doesn't work for gzip.open or bz2.BZ2File. Or is there a reason for them not being context managers? -- components: Library (Lib) messages: 7319

[issue3859] test_sys.Sizeof fails on win64

2008-09-13 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> schuppenies nosy: +schuppenies ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3857] ImportError: No module named test.test_support

2008-09-13 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3857] ImportError: No module named test.test_support

2008-09-13 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: Please close this issue. Between 2.6b3 and 2.6rc1 Lib/httplib.py has been changed. Sorry about the confusion! ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've implemented "another solution". test_open() in test_multithreading.patch won't pass though It'll raise error in conn.poll() not in constructor. $ ./dummy.exe b.py Traceback (most recent call last): File "b.py", line 6, in c

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-13 Thread Fredrik Lundh
Fredrik Lundh <[EMAIL PROTECTED]> added the comment: A bit more information on the changes to the core engine that are responsible for the 2x speedup (on what?) would be nice to have, I think (especially since you seem to have removed the KMP prefix scanner). (Isn't there a RE benchmark suite so

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-13 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- nosy: -benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bug

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-13 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Corrected the diff file, again. :-( The atomic groups and possessive quantifiers are as described at http://www.regular-expressions.info. Added file: http://bugs.python.org/file11484/regex_2.5.2.diff ___

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-13 Thread Matthew Barnett
Changes by Matthew Barnett <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11451/regex_2.5.2.diff ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2008-09-13 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- title: tkinter.mainloop() is meanling less and crash: remove it -> tkinter.mainloop() is meaningless and crash: remove it ___ Python tracker <[EMAIL PROTECTED]>

[issue3638] tkinter.mainloop() is meanling less and crash: remove it

2008-09-13 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Looks fine to me. But I can't see the reason to keep this as a module function in python 2.6 so I would remove it there too. -- nosy: +gpolo ___ Python tracker <[EMAIL PROTECTED]>

[issue3318] Documentation: timeit: "lower bound" should read "upper bound"

2008-09-13 Thread unutbu
unutbu <[EMAIL PROTECTED]> added the comment: Georg, please forgive me. I thought a sample size of 3 was much too small to make a claim about the typical case, but it appears after doing a computer experiment that I was wrong: #!/usr/bin/env python from __future__ import division import timeit

[issue1482122] Shift+Backspace exhibits odd behavior

2008-09-13 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: I've just found some discussion about the problem here: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/577df9cfa39e6688/49484ac512f13693?lnk=gst&q=shift+backspace#49484ac512f13693 Hope this is enough to close this issue, a

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

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: See also #3825. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing lis

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: By the way, the patch must be pretty incomplete, since there are almost no changes to _sre.c. Am I missing something? ___ Python tracker <[EMAIL PROTECTED]> __

[issue3698] incompatible arguments in warning formatting for idle

2008-09-13 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Duplicate of issue3391 -- nosy: +gpolo resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3859] test_sys.Sizeof fails on win64

2008-09-13 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: the "AMD64 W2k8 3.0" buildbot always fail test_sys: ... check(range(66000), size(h + '3l')) ... AssertionError: wrong size for : got 56, expected 48 The previous line of the test is: check(range(1), size(h + '3P')) (win64 is

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2008-09-13 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Did you mean "(event.state & 10) != 0" instead of "(event.state & 1) != 0" ? Otherwise it won't work when event.state is 8. I'm attaching a patch that does the same thing that is done on py3k branch and python-trunk. -- keywords: +pa

[issue3856] IDLE fails on startup on Mac 10.5 for 2.6b3 and 3.0b3

2008-09-13 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This bug was fixed after b3 was released (r65971). You should retry it using python 2.6rc1 or update your sources for py3k. -- nosy: +gpolo resolution: -> out of date status: open -> closed ___ Py

[issue3853] Windows SQLite DLL should be built with multithreading enabled

2008-09-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: It seems that it is already the case. On Windows, a one-big-source-file version of sqlite is used, fetched from http://svn.python.org/projects/external/sqlite-3.5.9 (see Tools/buildbot/external-common.bat) and in this file, SQLITE_THRE

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3850] find_recursion_limit.py is broken

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > On my Macbook, it segfaults; perhaps that docstring applied only > to MacOS 9? Well, I just tried under Windows and the interpreter neither segfaults nor prints a MemoryError, it aborts silently. I guess the comment is either out of date o

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I thought socket handle on BeOS is not file descripter neighter. (I'm not sure BeOS is still supported or not) >Another solution would be to reuse code from Modules/selectmodule.c. You mean this code? if (v < 0 || v >= FD_SETSIZE) {

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- components: +Installation priority: -> critical type: -> behavior versions: +Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> _

[issue3766] socket.socket.recv broken (unbearably slow)

2008-09-13 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3766] socket.socket.recv broken (unbearably slow)

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > Yes, obviously. Although adding it to the client socket did make no > difference after I had already done so for the server. Still > communication is too slow by orders of magnitude. (Sorry for pointing > this out again) Well, if this preci

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread John J Lee
New submission from John J Lee <[EMAIL PROTECTED]>: ./configure --prefix=DIR && make && make install tries to install files in directories outside of DIR. This happens both with trunk (r66412) and 2.6b3. This is a problem for users of GNU stow, for example. I know that certainly this worked fa

[issue3657] pickle can pickle the wrong function

2008-09-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > I expect this is why nobody has ever complained about it: unless you're > looking at the strings embedded in the pickle GLOBAL opcode, it's > unlikely to have a visible consequence. Well, it may have a consequence if pickle picks the "rand

[issue3845] memory access before short string when checking suffix

2008-09-13 Thread Ralph Corderoy
Changes by Ralph Corderoy <[EMAIL PROTECTED]>: -- nosy: +ralph.corderoy ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3857] ImportError: No module named test.test_support

2008-09-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I just installed python 2.6rc1, and I don't get the error at all. are you sure that you did not install a 2.6b3 afterwards? The content of your file d:\Python26\lib\httplib.py does not match with mine, suggest a version mismatch. -

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Note that Windows does not crash in such cases: >>> import socket, _multiprocessing >>> obj = _multiprocessing.Connection(44977608) >>> obj.poll() IOError: [Errno 10038] An operation was attempted on something that is not a socket >>>

[issue3857] ImportError: No module named test.test_support

2008-09-13 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: OK, by now I know exactly what the problem is: The Windows installer allows you the option of DESELECTING the "Test Suite". Initially I deselected the Test Suite because I thought I do not need it. But this is wrong. urllib loads test.test_

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2008-09-13 Thread Jimmy Retzlaff
Jimmy Retzlaff <[EMAIL PROTECTED]> added the comment: Works great on 2.6rc1. Thanks! ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue3857] ImportError: No module named test.test_support

2008-09-13 Thread Winfried Plappert
New submission from Winfried Plappert <[EMAIL PROTECTED]>: The following 2 line program fails under Python 2.6rc1: Python 2.6b3 (r26b3:66303, Sep 8 2008, 13:45:13) [MSC v.1500 32 bit (Intel)] on win32 as downloaded today (2008-09-13): # start program --- import urllib fh = urllib.urlopen(

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2008-09-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks for the reminder. This is now fixed in r66439 and r66440, as well as 2.6rc1 (although I haven't actually tested it, due to lack of access to an AMD64 system right now - please report whether it works). -- nosy: +loewis resolut