[issue6288] Update contextlib.nested docs in light of deprecation

2009-06-16 Thread Hagen Fürstenau
Hagen Fürstenau hfuerste...@gmx.net added the comment: Does that mean that nested() can be removed or changed incompatibly in 3.2 at the same time that an alternative way for handling the remaining use case is introduced? This would seem to violate the promise in PEP 5, that users will have at

[issue6287] distutils.core.setup does not document the 'license' meta-data

2009-06-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r73441 and merged in all branches. Thanks ! -- components: +Documentation status: open - closed versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2009-06-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: This patch will not work with the compiler is gcc or g++ Is that intended ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6164 ___

[issue6291] TypeError: b2a_base64() argument 1 must be bytes or buffer, not str during SMTP.login

2009-06-16 Thread Milivoj Milani
New submission from Milivoj Milani miliv...@gzr.hr: When trying to send an e-mail using a tutorial like example, I get the following message: Traceback (most recent call last): File test.py, line 3, in module server.login(domena\someuser,somepassword) File C:\Python\lib\smtplib.py,

[issue6284] C/API PyErr_AsUnicode()

2009-06-16 Thread Campbell Barton
Campbell Barton ideasma...@gmail.com added the comment: Thanks for the feedback, I wasnt aware of PyErr_Display, its not documented as far as I know. http://docs.python.org/dev/py3k/genindex-all.html For blender, its development id still in progress so we don't yet have an internal console

[issue6284] C/API PyErr_AsUnicode()

2009-06-16 Thread Campbell Barton
Campbell Barton ideasma...@gmail.com added the comment: Updated with an PyErr_DisplayEx function that accepts a file argument. -- Added file: http://bugs.python.org/file14308/PyErr_AsUnicode_r73443.diff ___ Python tracker rep...@bugs.python.org

[issue6291] TypeError: b2a_base64() argument 1 must be bytes or buffer, not str during SMTP.login

2009-06-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is a duplicate of issue 5259, and has already been fixed. Thanks for the report. -- nosy: +r.david.murray priority: - normal resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - smtplib

[issue6288] Update contextlib.nested docs in light of deprecation

2009-06-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: That's a good point actually - with 3.1's in-between status and the lack of deprecation in 2.6, nested() is going to have to stick around for 2.7/3.2 anyway. So PendingDeprecation now with full deprecation in 2.7/3.2 when we will hopefully have

[issue1191964] asynchronous Subprocess

2009-06-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Retargeting to 3.2 since 3.1 is now feature-frozen. -- nosy: +r.david.murray versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1191964

[issue6292] Fix tests to work with -OO

2009-06-16 Thread Collin Winter
New submission from Collin Winter coll...@gmail.com: The attached patch fixes a number of tests to work when -OO is given to Python. The majority of these tests are docstring-related, either doctests or making assertions about __doc__, with a handful of tests testing that assert statements

[issue6288] Update contextlib.nested docs in light of deprecation

2009-06-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: There is *no* reason to downgrade the warning. We can leave it as deprecated in 3.1 and remove it in 3.3 if we want. A PendingDeprecationWarning is just a plain bad idea, it doesn't actually warn the users. We introduced

[issue6293] Have regrtest.py echo back sys.flags

2009-06-16 Thread Collin Winter
New submission from Collin Winter coll...@gmail.com: This patch makes regrtest.py echo back the contents of sys.flags at the beginning of a test run. Unladen Swallow has found this useful for verifying that the regrtest.py settings in the Makefile and in our Buildbot configs are interacting

[issue6288] Update contextlib.nested docs in light of deprecation

2009-06-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: To be clear, I'm strongly -1 on switching to a PendingDeprecationWarning. That is not what it is for. There is nothing in the PEP 5 language that requires it (a PDW isn't even mentioned, the pep is mainly targeted at deep

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2009-06-16 Thread Trent Mick
Trent Mick tre...@gmail.com added the comment: Tarek, This should not affect anyone using gcc or g++ on AIX because of this check just before the lines added by this patch: elif compiler[:3] == gcc or compiler[:3] == g++: return -Wl,-R + dir The intention of the patch is

[issue6292] Fix tests to work with -OO

2009-06-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Rather than silently skipping stuff or writing to stderr, the patch should, as much as possible, use the new test-skipping API in unittest. Perhaps DocTestSuite could centralize some of the effort by inspecting sys.flags and skipping accordingly

[issue6215] Backport the IO lib to trunk

2009-06-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, the patch looks ok, so you can commit it if it fixes things on Windows. (I honestly haven't tested it, though) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6215

[issue6294] Improve shutdown exception ignored message

2009-06-16 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: When (at least sometimes) exceptions occur during shutdown, warnings like the following appear: Exception TypeError: 'NoneType' object is not callable in ignored This is apparently meant to be read as Exception TypeError: 'NoneType' object

[issue6294] Improve shutdown exception ignored message

2009-06-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Since 3.1 is in final release candidate, a change like this is not appropriate for 3.1. This error message is generated in PyErr_WriteUnraisable, which is called from many contexts, including __del__ methods. A __del__ method called

[issue2622] Import errors in email.message.py

2009-06-16 Thread John Jackson
John Jackson johnjack...@pobox.com added the comment: Also occurs in 2.6... -- versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2622 ___