[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks; I'll fix these. -- assignee: d...@python - mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9089 ___

[issue8954] wininst regression: errors when building on linux

2010-06-27 Thread Georg Brandl
Georg Brandl ge...@python.org 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

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

2010-06-27 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9027 ___ ___ Python-bugs-list

[issue9078] Fix C API documentation of unicode

2010-06-27 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed as r82262. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9078 ___

[issue9059] Backwards compatibility

2010-06-27 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please, do not feed the trolls. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9059 ___

[issue9064] pdb enhancement up/down traversals

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

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

2010-06-27 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes, this is common behavior and should not change. -- nosy: +georg.brandl resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9044

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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. --

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

2010-06-27 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8446

[issue7724] setup.py ignores SDK root on OSX

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue8577] test_distutils fails if srcdir != builddir

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: As r82005 fixed the problem this issue can be closed. -- assignee: ronaldoussoren - nobody nosy: +nobody status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9092] static behavior of local variables

2010-06-27 Thread Konstantin
New submission from Konstantin kaslan...@yahoo.com: 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',

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Bill: can you do some debugging on the buildbot itself? I cannot reproduce the problem locally. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8447

[issue9033] cmd module tab misbehavior

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue9092] static behavior of local variables

2010-06-27 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com 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

[issue8084] pep-0370 on osx duplicates existing functionality

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The tests no longer fail. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8084 ___

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - lemburg nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5180 ___ ___

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

2010-06-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9083 ___ ___

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Please keep the Python3 version of pybench compatible to Python 2.6 and 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5180 ___

[issue9093] Tools/README is out of date

2010-06-27 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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

[issue9088] revert distutils to its 3.1 state

2010-06-27 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue9089

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

2010-06-27 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Did you read my first comment? This bug is maybe related to #8611 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8988 ___

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: References to intobject.h and intobject.c removed in r88289 and r88290. Thanks! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9089] PyNumber_Int is still mentioned in number protocol docs

2010-06-27 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9089 ___

[issue9069] test_float failure on Solaris

2010-06-27 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

2010-06-27 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

[issue8667] Link to PEP 3147 from importlib docs

2010-06-27 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Sorry this took so long, Ashley. I applied your patch in r82300. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8667

[issue9094] Make python-m pickletools do something useful

2010-06-27 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: Attached patch makes python -m pickletools picklefile 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

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

2010-06-27 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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:

[issue7319] Silence DeprecationWarning by default

2010-06-27 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Merged the lot in r82314. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7319 ___

[issue7566] Add ntpath.sameopenfile support for Windows

2010-06-27 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- assignee: - brian.curtin nosy: +brian.curtin stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7566 ___

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

2010-06-27 Thread Benjamin Peterson
New submission from Benjamin Peterson benja...@python.org: 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:

[issue9085] Version number inconsistency in email package

2010-06-27 Thread Tokio Kikuchi
Tokio Kikuchi tkiku...@users.sourceforge.net 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

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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')

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file17785/unpickle-bug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5180 ___

[issue3428] httplib.HTTPMessage undocumented

2010-06-27 Thread ipatrol
ipatrol ipatrol6...@yahoo.com 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 rep...@bugs.python.org

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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:

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9085] Version number inconsistency in email package

2010-06-27 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-27 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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.