[issue4027] wrong page index number in reference book of python documentation

2008-10-16 Thread Winfried Plappert
Winfried Plappert [EMAIL PROTECTED] added the comment: This problem also applies to Python 3.0rc1. Georg, could you please comment on ray's and tjreedy's question. Thanks -- versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED]

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Guido's patch breaks these tests: test_descr test_hash test_long test_richcmp test_set It looks like all these are easily fixed: all these tests were making outdated assumptions and needed updating. Here's a patch that fixes these

[issue4027] wrong page index number in reference book of python documentation

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I'm not ignoring this issue; I think it's a trivial fix once I find out where :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027 ___

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

2008-10-16 Thread anatoly techtonik
anatoly techtonik [EMAIL PROTECTED] added the comment: The same issue in Roundup Tracker bugtracker http://sourceforge.net/tracker2/index.php?func=detailaid=1163804group_id=31577atid=402788 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4015

[issue4123] random.shuffle slow on deque

2008-10-16 Thread paul rubin
paul rubin [EMAIL PROTECTED] added the comment: If it's not a bug, it is at least a surprising gotcha that should be documented in the manual. The collections module is described in the library docs as high performance container datatypes but I could not possibly consider the observed behavior

[issue4123] random.shuffle slow on deque

2008-10-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Well, perhaps the deque documentation should make it clear that random access is O(n), rather than O(1) for a list. With this information it is easy to infer that operations such as shuffle() can be much slower on a deque. -- assignee:

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-16 Thread Andre Heider
Andre Heider [EMAIL PROTECTED] added the comment: To my surprise there indeed is a vista SP1 box in our test farm. We tested my patch on the following windows machines (each without an installed CRT redist): - xp SP2 and SP3 - xp64 SP2 - server 2003 R2 SP1 - vista with and without SP1 - windows

[issue4132] LaTeX Error: Environment cmemberdescni undefined.

2008-10-16 Thread Winfried Plappert
New submission from Winfried Plappert [EMAIL PROTECTED]: When building latex documentation for the first time round, the make of c-api fails with ! LaTeX Error: Environment cmemberdescni undefined.. A second make builds c-api and all other documents successfully. However, The pdf document

[issue4132] LaTeX Error: Environment cmemberdescni undefined.

2008-10-16 Thread Winfried Plappert
Winfried Plappert [EMAIL PROTECTED] added the comment: PS.: The original error occurs in line 164 of the attached output file. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4132 ___

[issue4027] wrong page index number in reference book of python documentation

2008-10-16 Thread Ray Wang
Ray Wang [EMAIL PROTECTED] added the comment: ah, thanks goodness, what a fortune that you are not ignoring this problem. I expect the fix could be happen in the near future. :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027

[issue3391] Idle uses old showwarning signature

2008-10-16 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3391 ___

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-16 Thread Don Braffitt
Don Braffitt [EMAIL PROTECTED] added the comment: ITEC-MBP-15087:~ dbraffitt$ cd /Library/Frameworks/Tcl.framework/ -bash: cd: /Library/Frameworks/Tcl.framework/: No such file or directory - Don ___ Python tracker [EMAIL PROTECTED]

[issue4123] random.shuffle slow on deque

2008-10-16 Thread Raymond Hettinger
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- assignee: georg.brandl - rhettinger nosy: +rhettinger ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123 ___

[issue4123] random.shuffle slow on deque

2008-10-16 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Will add a note to the deque docs that random access is O(n). -- priority: normal - low ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-16 Thread Nat
Nat [EMAIL PROTECTED] added the comment: Do you know if you have tcl/tk somewhere else? Otherwise, I think you need to install it. You can get the source from Sourceforge, or I think you can get it from Activestate. http://tcl.sourceforge.net/ ___ Python

[issue4133] -R fix for setup.py

2008-10-16 Thread Skip Montanaro
New submission from Skip Montanaro [EMAIL PROTECTED]: Please apply the attached one-line patch to setup.py. This is a backport from trunk/2.6. I would check it in myself but I don't have access to a read/write checkout at the moment. Thanks, Skip -- files: setup.py.diff keywords:

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2008-10-16 Thread jared jennings
jared jennings [EMAIL PROTECTED] added the comment: According to §7.1.3 of the C99 standard, the name __int128_t is reserved for implementation-specific use because it starts with an underscore. So if gcc defines this type and icc does not, that is not a bug in icc; and if Python uses this type,

[issue4123] random.shuffle slow on deque

2008-10-16 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Patch attached. -- assignee: rhettinger - georg.brandl keywords: +patch Added file: http://bugs.python.org/file11810/dequedoc.diff ___ Python tracker [EMAIL PROTECTED]

[issue4123] random.shuffle slow on deque

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done in r66913. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123

[issue4133] -R fix for setup.py

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done in r66914. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4133

[issue3909] Building PDF documentation from tex files

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: OK, I've committed a fix that I hope will work for all situations in r66916. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3909 ___

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2008-10-16 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Forgot to add: if somebody else does the work, I'm happy to agree to the code being used in Python stdlib. Perhaps it would be necessary to get the author of the original Perl code from which this MSIE class is derived to sign a contributor

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Thanks, Mark! Applied in r66920. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717 ___

[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance

2008-10-16 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Here they are: http://bugs.python.org/issue1500504 http://bugs.python.org/issue1462525 http://bugs.python.org/issue1591035 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3647

[issue4134] Peephole optimization: returning a temp

2008-10-16 Thread David Turner
New submission from David Turner [EMAIL PROTECTED]: This patch adds an optimization to the peephole optimizer for the common case of: def func(...): ... retval = ... return retval Before the patch, the compiler would generate STORE_FAST 3 LOAD_FAST 3 RETURN_VALUE The store and load

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Presumably any nonzero entries for tp_compare in type initializers should be looked at closely, as well? I see nonzero tp_compare entries in: Modules/_tkinter.c Modules/parsermodule.c Objects/cellobject.c Objects/descrobject.c

[issue4132] LaTeX Error: Environment cmemberdescni undefined.

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in r66930. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4132 ___

[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance

2008-10-16 Thread John J Lee
John J Lee [EMAIL PROTECTED] added the comment: Hmm, I see you've already commented on some of those, Senthil. Perhaps you could add a comment to this bug explaining how your patch relates to the others. Should it replace them? (why?) Should one of those patches be applied also? Also, my

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Let's lower the priority on this. -- priority: release blocker - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717 ___

[issue4027] wrong page index number in reference book of python documentation

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: OK, I have the problem. The hyperref package must not be included before fncychap, in fact, it should be included last. I'll fix this as soon as I've found the most adaptable way to do it. :) ___ Python

[issue4103] sphinx: latexwriter uses undefined 'excdescni' environment

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in 0.5 trunk (since r66930). -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4103 ___

[issue4102] sphinx: ansi color even on dumb terminal

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in r66933. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4102 ___

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

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66932 and r66934. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3623 ___

[issue4131] Note that Firefox 3 does not write cookies.txt

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed in r66936. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4131 ___

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I agree with Martin. Patches are welcome. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4129 ___ ___

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

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Refleak was fixed in r66934. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3623 ___ ___ Python-bugs-list

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

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I mean r66938. Sorry! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3623 ___ ___ Python-bugs-list mailing

[issue4134] Peephole optimization: returning a temp

2008-10-16 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Sorry, am not excited by this one. It is not a common idiom in most code that I've ever seen and it never occurs in an inner-loop. Besides the load_fast/store_fast combination are so *very* fast that any real code would not see a

[issue4134] Peephole optimization: returning a temp

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I wonder why people don't just write return ... in the first place... -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134

[issue4083] try statement in language reference not updated for v2.6

2008-10-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r66940. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4083 ___

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I like this patch. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___

[issue4135] help(modules ftp) fails due to test modules

2008-10-16 Thread Alex Coventry
Changes by Alex Coventry [EMAIL PROTECTED]: -- versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4135 ___ ___ Python-bugs-list

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
Changes by STINNER Victor [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: Oooops, I removed the message74562 from giampaolo.rodola, sorry: As for issue #3911 this is another module for which an actual test suite would be very necessary. ___ Python tracker [EMAIL PROTECTED]

[issue4136] merge json library with simplejson 2.0.3

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: Can you write a patch against python trunk ? :-) -- nosy: +haypo ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4136 ___

[issue4136] merge json library with simplejson 2.0.3

2008-10-16 Thread Bob Ippolito
Bob Ippolito [EMAIL PROTECTED] added the comment: Sure, but that doesn't port it to Python 3.0 :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4136 ___ ___

[issue4134] Peephole optimization: returning a temp

2008-10-16 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Agreed. -- resolution: - rejected status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134 ___

[issue4136] merge json library with simplejson 2.0.3

2008-10-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Sure, but that doesn't port it to Python 3.0 :) Still, as Victor suggests, the first step for porting it to 3.0 definitely is to produce a patch for the trunk. What the next steps will be can be discussed when this step has been completed.

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
Changes by STINNER Victor [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11782/poplib_unicode-5.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: After testing real world message, my patch using pure unicode doesn't work. The problem comes with message encoding with 8-bit encoding. If the email charset is different than POP3.encoding, the message in not decoded correctly.

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Let's commit the capi patch but not expose instancemethod. Make it so. -- resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3787

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

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Applied in r66945. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3781 ___

[issue4134] Peephole optimization: returning a temp

2008-10-16 Thread David Turner
David Turner [EMAIL PROTECTED] added the comment: The idiom appears at least 370 times in the standard library. And, while on its own it can't appear in a loop, a function that uses it might get called in a loop. You mention some sort of AST optimizer. I haven't really followed Python

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Applied in r66947. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3787 ___

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: New patch: resp() returns bytes - self.file is now a binary file - encode commands using POP3.encoding charset, default is UTF-8 - use md5.hexdigest() - factorize POP3_SSL code: code specific for SSL is just the creation of the socket The

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: About apop(): the second argument is the user password, not a shared password which is the local variable timestamp read from welcome attribute. ___ Python tracker [EMAIL PROTECTED]

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
Changes by STINNER Victor [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11812/poplib-bytes.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___

[issue3727] poplib module broken by str to unicode conversion

2008-10-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: I forgot the new unit tests. New patch: - port python trunk unit tests Added file: http://bugs.python.org/file11813/poplib-bytes-2.patch ___ Python tracker [EMAIL PROTECTED]

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66948 -- nosy: +barry resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3685 ___

[issue3661] sys.call_tracing segfaults

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66949 -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3661 ___

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

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Rather than attach a full _pickle.c file, please generate a unified diff with just your changes. The patch should include a test for the crashing condition. If you can upload that I'll try to accept it for rc3. Deferring for now.

[issue3714] nntplib module broken by str to unicode conversion

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: This issue does not seem close to resolution and the nntplib is not critical enough to block the release, so I'm deferring this to rc3. -- nosy: +barry priority: release blocker - deferred blocker

[issue4125] runtests.sh: use -bb flag of Python

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66950 -- nosy: +barry status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4125 ___

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

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66950 -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3988 ___ ___

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

2008-10-16 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Brett, please apply and close the issue. -- nosy: +barry ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-16 Thread Mark Tsuchida
Mark Tsuchida [EMAIL PROTECTED] added the comment: There are two symptoms here, each caused by a different bug. Neither is specific to IDLE; they have to do with Tkinter recognizing the correct Tcl/Tk installation at build time and run time. Bug 1: The Python 2.6 binary installer appears

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

2008-10-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Sorry about that; been one of those days. Doing a svn up and making sure it still compiles fine. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

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

2008-10-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Applied in r66951. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___

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

2008-10-16 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: Oops. I must have been quite tired when I submitted that. Here's the patch for the fix and the test case. -- keywords: +patch Added file: http://bugs.python.org/file11814/issue3664_fix.diff

[issue4027] wrong page index number in reference book of python documentation

2008-10-16 Thread Ray Wang
Ray Wang [EMAIL PROTECTED] added the comment: Woohoo, you are awesome, thanks a lot! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027 ___ ___ Python-bugs-list