[issue4027] wrong page index number in reference book of python documentation
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] http://bugs.python.org/issue4027 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1717] Get rid of more refercenes to __cmp__
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 tests. One other detail: In test_descr.py, there are tests for 'overridden behavior for static classes' and 'overridden behavior for dynamic classes', using test classes 'Proxy' and 'DProxy'; apart from the name change, the 'dynamic' code is identical to the 'static' code, so I removed it. I guess this had to do with the __dynamic__ class attribute, which is ancient history, no? -- nosy: +marketdickinson Added file: http://bugs.python.org/file11807/nocmp_tests.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4027] wrong page index number in reference book of python documentation
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4015] [patch] make installed scripts executable on windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
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 to be high performance. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
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: - georg.brandl components: +Documentation -Library (Lib) nosy: +georg.brandl, pitrou priority: - normal type: - feature request versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC
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 server 2008 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4132] LaTeX Error: Environment cmemberdescni undefined.
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 c-api.pdf is lacking the TOC and the Index. All other PDFs have a TOC and an Index. I will include the a copy of the make output (typescript.org) - first call to make. -- assignee: georg.brandl components: Documentation files: typescript.org messages: 74836 nosy: georg.brandl, wplappert severity: normal status: open title: LaTeX Error: Environment cmemberdescni undefined. versions: Python 3.0 Added file: http://bugs.python.org/file11808/typescript.org ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4132 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4132] LaTeX Error: Environment cmemberdescni undefined.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4027] wrong page index number in reference book of python documentation
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3391] Idle uses old showwarning signature
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3391 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] IDLE 2.6 broken on OSX (Leopard)
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] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- assignee: georg.brandl - rhettinger nosy: +rhettinger ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4123 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] IDLE 2.6 broken on OSX (Leopard)
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 tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4133] -R fix for setup.py
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: patch messages: 74841 nosy: skip.montanaro priority: normal severity: normal status: open title: -R fix for setup.py versions: Python 2.5.3 Added file: http://bugs.python.org/file11809/setup.py.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4133 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes
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, it will only certainly build using gcc. I doubt such a dependency was intended, because it is not documented, and no error was thrown when the autoconf script detected that a compiler other than GCC was being used. C99 standard: http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf Exact-width integer types (e.g. int64_t) are documented in §7.18.1.1 of the above. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4130 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
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] http://bugs.python.org/issue4123 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4123] random.shuffle slow on deque
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4133] -R fix for setup.py
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3909] Building PDF documentation from tex files
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2007] cookielib lacks FileCookieJar class for Internet Explorer
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 agreement, though (even though he already agreed to a BSD-ish license). FWIW, there's also a Firefox 3 cookies.sqlite cookiejar in the same package (though not yet used in anger by me, and wanting more tests, so marked experimental). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1717] Get rid of more refercenes to __cmp__
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4134] Peephole optimization: returning a temp
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 are pointless, as the local 3 (or whatever) is never used again. This patch makes the peephole optimizer optimize them out. -- components: None files: peephole-return-temp.diff keywords: patch messages: 74853 nosy: novalis_dt severity: normal status: open title: Peephole optimization: returning a temp versions: Python 2.7 Added file: http://bugs.python.org/file11811/peephole-return-temp.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1717] Get rid of more refercenes to __cmp__
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 PC/winreg.c Objects/setobject.c (but that last one just raises an error pointing out that cmp can't be used to compare sets, so maybe that's okay). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4132] LaTeX Error: Environment cmemberdescni undefined.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance
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 comment about there being agreement on python-dev is probably a misrepresentation. This is what I remembered, I think: http://article.gmane.org/gmane.comp.python.devel/73314/ which seems to say that a new API should be added, but not that urlparse shouldn't be changed to be more compliant with RFC 3986. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3647 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1717] Get rid of more refercenes to __cmp__
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4027] wrong page index number in reference book of python documentation
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 tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4103] sphinx: latexwriter uses undefined 'excdescni' environment
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4102] sphinx: ansi color even on dumb terminal
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4131] Note that Firefox 3 does not write cookies.txt
Georg Brandl [EMAIL PROTECTED] added the comment: Committed in r66936. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4131 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.
Georg Brandl [EMAIL PROTECTED] added the comment: I agree with Martin. Patches are welcome. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4129 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()
Benjamin Peterson [EMAIL PROTECTED] added the comment: Refleak was fixed in r66934. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3623 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()
Benjamin Peterson [EMAIL PROTECTED] added the comment: I mean r66938. Sorry! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3623 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4134] Peephole optimization: returning a temp
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 worthwhile speedup. When the AST optimizer gets built-out, I expect that we'll get many of these sort of optimizations for free. In the meantime, this one just isn't worth adding complexity to the peepholer. -- assignee: - rhettinger nosy: +rhettinger priority: - low ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4134] Peephole optimization: returning a temp
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4083] try statement in language reference not updated for v2.6
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
Benjamin Peterson [EMAIL PROTECTED] added the comment: I like this patch. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4135] help(modules ftp) fails due to test modules
Changes by Alex Coventry [EMAIL PROTECTED]: -- versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4135 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
Changes by STINNER Victor [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4136] merge json library with simplejson 2.0.3
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4136] merge json library with simplejson 2.0.3
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4134] Peephole optimization: returning a temp
Raymond Hettinger [EMAIL PROTECTED] added the comment: Agreed. -- resolution: - rejected status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4136] merge json library with simplejson 2.0.3
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. -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4136 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3787] Make PyInstanceMethod_Type available or remove it
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted
Benjamin Peterson [EMAIL PROTECTED] added the comment: Applied in r66945. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3781 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4134] Peephole optimization: returning a temp
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 development enough to know anything about this. Is it worth bothering to do other work on the peepholer which might handle some more common cases? If not, is there a branch or something where I can look at the AST optimizer? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4134 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3787] Make PyInstanceMethod_Type available or remove it
Benjamin Peterson [EMAIL PROTECTED] added the comment: Applied in r66947. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3787 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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 default charset is UTF-8, but most servers only accept pure ASCII login/password (eg. gmail.com) or a smaller subset of ASCII (eg. only A-Z, a-z, 0-9 and some ponctuation signs :-/). If you user non-ASCII login/password and your server doesn't use UTF-8, change POP3.encoding or your pop object.encoding (encoding is not used in the constructor). welcome attribute (and getwelcome() results) is a bytes string. You have to parse the message headers to get the right charset to decode bytes to unicode characters. A multipart message may contains two or more charsets and different encoding. But poplib is not responsible to decode messages, just to download a message as bytes. Arguments (username (login), password, a message identifier) are unicode strings. For a message identifier, you can also use an integer (nothing new, it was already possible). I hope that apop() works. No Python error is raised but no server does support his authentication method. I tested 3 servers (pop3.haypocalc.com, pop.laposte.net and pop.gmail.com) and none supports APOP. I tested POP3 and POP3_SSL (gmail requires SSL). Added file: http://bugs.python.org/file11812/poplib-bytes.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3727] poplib module broken by str to unicode conversion
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] http://bugs.python.org/issue3727 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3661] sys.call_tracing segfaults
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66949 -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3661 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3664] Pickler.dump from a badly initialized Pickler segfaults
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. -- nosy: +barry priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3664 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3714] nntplib module broken by str to unicode conversion
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3714 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4125] runtests.sh: use -bb flag of Python
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66950 -- nosy: +barry status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4125 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3988] Byte warning mode and b'' != ''
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66950 -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3988 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3574] compile() cannot decode Latin-1 source encodings
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X
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 (judging from the error message) to have been built against a Tcl installation in /Library/Frameworks/Tcl.framework. Mac OS X (10.4.11 and I assume Leopard as well) comes with Tcl/Tk, installed in /System/Library/Frameworks, but there will be no /Library/Frameworks/Tcl.framework unless you install Tcl/Tk on your own (but read on before doing so). Symptom 1: Hence, the error about not being able to find /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl. This symptom should not manifest if either a) you install Tcl/Tk 8.5 on your own, or b) you build Python from the source (so that it finds the pre-installed Tcl in /System/Library). Bug 2: The Python source distribution (both 2.5.2 and 2.6; I have not checked earlier versions) searches for Tcl and Tk in the wrong order, as pointed out in the comp.lang.python post referenced in msg74440 and msg74544. In Mac OS X's standard search order for frameworks, /Library/Frameworks comes before /System/Library/Frameworks (see the ld and dyld man pages: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ ld.1.html and http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ dyld.1.html), whereas the setup.py script in the Python source distribution tries /System/Library/Frameworks/Tcl.framework before /Library/Frameworks/Tcl.framework (and same for Tk.framework). Symptom 2: This causes a problem _only_ when you have a separately installed version of Tcl (e.g. 8.5). Python's setup.py script finds the Tk installation in /System/Library/Frameworks/Tk.framework (version 8.4) and uses its headers, whereas the linker (being part of Mac OS X) chooses the Tk dynamic library in /Library/Frameworks/Tk.framework (version 8.5 if that's what you installed). (I suspect the linker records the Tcl and Tk installations (or versions) found at build time.) Hence the error message about Tk version mismatch. If you are affected by both of these bugs, Tkinter will not work whether or not you install Tcl 8.5 in /Library/Frameworks. I believe the setup.py script ought to be corrected (as per the post cited in msg74544). I do not know of an easy fix for existing Python installations that are affected by this, other than rebuilding Python. -- components: +Build, Installation, Macintosh, Tkinter -IDLE nosy: +mtsch title: IDLE 2.6 broken on OSX (Leopard) - Tkinter cannot find Tcl/Tk on Mac OS X versions: +Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3574] compile() cannot decode Latin-1 source encodings
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3574] compile() cannot decode Latin-1 source encodings
Brett Cannon [EMAIL PROTECTED] added the comment: Applied in r66951. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3664] Pickler.dump from a badly initialized Pickler segfaults
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 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3664 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4027] wrong page index number in reference book of python documentation
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com