[issue9085] Version number inconsistency in email package

2010-06-27 Thread Tokio Kikuchi
Tokio Kikuchi added the comment: I couldn't track down the bug but the symptom is that python 2.5 -- mailman 2.1.13 combination make Japanese message 'mojibake'. Using only email package for generating message cause no trouble as far as I can check, so the bug may be in mailman (with combina

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a patch which makes python3 read 27.bench without errors. I think this should be applied while a complete solution for unpickling old style class instances from text mode (protocol = 0) pickles is found. -- Added file: http://bug

[issue9085] Version number inconsistency in email package

2010-06-27 Thread R. David Murray
R. David Murray added the comment: So you are saying that there are significant differences between the 2.5 email and the 2.6 email? Can you give any details? -- status: closed -> open ___ Python tracker

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The remaining bug is a bit harder. If you try to run unpickle-bug-2.py on the same pickle, you get $ python3 unpickle-bug-2.py /tmp/bug.pkl <__main__.Bug object at 0x1006a8f40> Traceback (most recent call last): File "unpickle-bug-2.py", line 9, in

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As promised, here is the fix (issue5180-pickle.diff) for the "unpickle-bug.py" issue. Unfortunately, it looks like more bugs remain. 27.bench is still not loadable. -- stage: -> unit test needed Added file: http://bugs.python.org/file17786/i

[issue3428] httplib.HTTPMessage undocumented

2010-06-27 Thread ipatrol
ipatrol added the comment: This is still not fixed. Also, it would be nice to add the response code in somewhere as I don't see it in the stdlib epydoc pages -- nosy: +ipatrol ___ Python tracker __

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17785/unpickle-bug.py ___ Python tracker ___ ___ Python-bugs-list mail

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like I was able to get to the root of the problem. I am attaching two files that demonstrate the issue: ==> pickle-bug.py <== import pickle import sys class Bug: pass bug = Bug() f = open(sys.argv[1], 'w') pickle.Pickler(f, protocol=0).dum

[issue9085] Version number inconsistency in email package

2010-06-27 Thread Tokio Kikuchi
Tokio Kikuchi added the comment: I filed this bug because I found email 4.0.2 in Python 2.5 was not suitable for the latest mailman 2.1.13 especially for Japanese environment. It would be best if you can further bump the Python 2.6 email to 4.0.3 and that of 2.7 to 4.0.4. (Or, 5.0.1 if there

[issue9096] importlib doesn't handle valid marshalled data with invalid semantics

2010-06-27 Thread Benjamin Peterson
New submission from Benjamin Peterson : get_code() returns marshal.loads(self.get_data()). If get_data() returns valid marhsal data that is not a code object, get_code() will explode when it tries to exec it with a TypeError not the expected ValueError. -- assignee: brett.cannon messag

[issue7566] Add ntpath.sameopenfile support for Windows

2010-06-27 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin nosy: +brian.curtin stage: -> needs patch ___ Python tracker ___ ___ Python-bu

[issue7319] Silence DeprecationWarning by default

2010-06-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: Merged the lot in r82314. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9095] patchcheck should handle extraneous whitespace in .rst files

2010-06-27 Thread Brett Cannon
New submission from Brett Cannon : Tools/scripts/reindent-rst.py already exists, so this should be simple to add. -- components: Demos and Tools keywords: easy messages: 108808 nosy: brett.cannon priority: low severity: normal stage: needs patch status: open title: patchcheck should hand

[issue9094] Make python-m pickletools do something useful

2010-06-27 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Attached patch makes python -m pickletools print symbolic disassembly of a pickle to stdout. If the idea is well received, I will add help option, usage string and possibly -o option to redirect output to a file. I am not sure that current "run doct

[issue1634499] Py3k: Fix pybench so it runs

2010-06-27 Thread Éric Araujo
Éric Araujo added the comment: Is this bug closed? (Bonus cookies points for mention of the revision) -- nosy: +merwok ___ Python tracker ___ _

[issue8667] Link to PEP 3147 from importlib docs

2010-06-27 Thread Brett Cannon
Brett Cannon added the comment: Sorry this took so long, Ashley. I applied your patch in r82300. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-27 Thread Ezio Melotti
Ezio Melotti added the comment: Changing the function is better than changing the comment. Although changing just the comment is better than leaving it unchanged. -- versions: +Python 3.2 -Python 2.5 ___ Python tracker

[issue9069] test_float failure on Solaris

2010-06-27 Thread Mark Dickinson
Mark Dickinson added the comment: The gcc optimization bug was fixed (with impressive speed!) upstream. I'm going to close this as 'won't fix'. It's probably possible to find a workaround, but the issue is minor, apparently only affects one platform, and relates to a little-used method. For

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson added the comment: References to intobject.h and intobject.c removed in r88289 and r88290. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-27 Thread STINNER Victor
STINNER Victor added the comment: Did you read my first comment? "This bug is maybe related to #8611" -- ___ Python tracker ___ ___ Py

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson added the comment: Removed PyNumber_Int from docs (and Data/refcounts.dat; though I suspect that file is far from up-to-date) in r82288. -- ___ Python tracker __

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I have found issue1634499 which deals with running pybench. I suggest that we reopen that issue and move discussion of issue5180.diff there. I really like the idea to keep single source for 2.x and 3.x pybench, but we need to add some machinery to run

[issue9088] revert distutils to its 3.1 state

2010-06-27 Thread Éric Araujo
Éric Araujo added the comment: Can you explain this a bit, for those who weren’t at that summit you mention (I guess at EuroPython)? (I took the liberty of rephrasing the title to make it IMO clearer) -- components: +Distutils nosy: +merwok resolution: -> accepted title: revert distu

[issue9093] Tools/README is out of date

2010-06-27 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Here is the list of subdirectories in Tools. Here is the diff between directory listing and readme ('-' means no readme entry, '+' - no tool): -buildbot -ccbench +audiopy +compiler faqwiz -framer freeze gdb i18n -iobench -msi -pybench pynche scr

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Please keep the Python3 version of pybench compatible to Python 2.6 and 2.7. -- ___ Python tracker ___ _

[issue9083] At least some Tools utilities are still Python 2

2010-06-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> lemburg nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8084] pep-0370 on osx duplicates existing functionality

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The tests no longer fail. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The comment is wrong, os.path.normcase should not return s.lower(), as the other issue notes the case sensitivity is filesystem dependent. Returning s.lower() will break code when dealing with paths that refer to an NFS share on a Linux server, or to a pat

[issue9092] static behavior of local variables

2010-06-27 Thread Mark Dickinson
Mark Dickinson added the comment: Please see the warning in this section of the tutorial: http://docs.python.org/tutorial/controlflow.html#default-argument-values -- nosy: +mark.dickinson resolution: -> invalid status: open -> closed ___ Python tra

[issue9033] cmd module tab misbehavior

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch is a workaround for the issue, but isn't someone I'd want to commit without some serious cleanup. As I noted when support for linking with libedit was merged it would be better to add a translation layer that translates GNU readline config

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Bill: can you do some debugging on the buildbot itself? I cannot reproduce the problem locally. -- ___ Python tracker ___

[issue8883] Proxy exception lookup fails on MacOS in urllib.

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed the patch with some minor modifications in r82284 (2.7), r82285 (2.6), r82286 (3.2), r82287 (3.1) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: crash -> behavior ___

[issue9092] static behavior of local variables

2010-06-27 Thread Konstantin
New submission from Konstantin : In [12]: def func(x=[]) : : L=x : L.append('a') : return L : In [13]: func() Out[13]: ['a'] In [14]: func() Out[14]: ['a', 'a'] In [15]: func() Out[15]: ['a', 'a', 'a'] In [16]: func() Out[16]: ['a', 'a', 'a', 'a'] In [

[issue8577] test_distutils fails if srcdir != builddir

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: As r82005 fixed the problem this issue can be closed. -- assignee: ronaldoussoren -> nobody nosy: +nobody status: open -> closed ___ Python tracker ___

[issue7724] setup.py ignores SDK root on OSX

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: This was committed a while back, I guess I forgot to close this issue. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-06-27 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Marc-Andre: is this still relevant or did the fix for SDK support enough to fix the build. BTW. Is this for OSX 10.4 instead of 10.3? AFAIK the compiler on 10.3 doesn't support SDKs at all. -- ___ Python tracker

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied to 2.6 (r82280), r82281 (3.2), r82282 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Even when building using an SDK you can use frameworks in /Library/Frameworks because $SDKROOT/Library/Frameworks is a symlink to the real /Library/Frameworks. -- ___ Python tracker

[issue8621] uuid.uuid4() generates non-unique values on OSX

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a fix in r82276 (2.7), r82277 (2.6), r82278 (3.2) and r82279 (3.1). Please reopen the issue if you notice that the problem does not go away on the buildbots. -- status: open -> closed ___ Python tracker

[issue9046] Python 2.7rc2 doesn't build on Mac OS X 10.4

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed a fix in r82272 (2.7), r82273 (3.2), r82274 (2.6), r82273 (3.1) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> compile error ___ Python tracker

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: This still is a problem, the Carbon wrappers assume that Py_UNICODE has the same representation as the Unicode type in Carbon and that is a 16-bit type. -- ___ Python tracker _

[issue9044] [optparse] confusion over an option and its value without any space in between

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: Yes, this is common behavior and should not change. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker

[issue9064] pdb enhancement up/down traversals

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: Committed a slightly different patch in r82263. Thanks for the idea! -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker __

[issue9059] Backwards compatibility

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: Please, do not feed the trolls. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mai

[issue9078] Fix C API documentation of unicode

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: Committed as r82262. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Pyt

[issue9027] add test_support.run_unittest command line options and arguments

2010-06-27 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8954] wininst regression: errors when building on linux

2010-06-27 Thread Georg Brandl
Georg Brandl added the comment: It certainly should be possible to build these installers, and if I understand your output correctly, an installer *was* built. The warning is, after all, just a warning, and probably just the warning got added compared to 2.5, but the behavior is the same. T

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks; I'll fix these. -- assignee: d...@python -> mark.dickinson ___ Python tracker ___ ___ Python