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

2009-06-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, I know it will not affect g++ or gcc users, I was asking that to make sure Sridhar do not intend to make it work on a system where gcc or g++ are *also* used since they will be picked prior to this option. I'll include that patch then. -- _

[issue6294] Improve shutdown exception ignored message

2009-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have said 3.1.1. Ie, would this be a bug fix or really a new feature that has to wait. Moot until someone does a patch. -- ___ Python tracker ___

[issue2622] Import errors in email.message.py

2009-06-16 Thread John Jackson
John Jackson added the comment: Also occurs in 2.6... -- versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue6294] Improve shutdown exception ignored message

2009-06-16 Thread R. David Murray
R. David Murray 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 during shutdown is most lik

[issue6294] Improve shutdown exception ignored message

2009-06-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : 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 <> [was] ignored instead of, for instance E

[issue6215] Backport the IO lib to trunk

2009-06-16 Thread Antoine Pitrou
Antoine Pitrou 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 ___ _

[issue6292] Fix tests to work with -OO

2009-06-16 Thread Antoine Pitrou
Antoine Pitrou 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 (but users may a

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

2009-06-16 Thread Trent Mick
Trent Mick 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 to fix lin

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

2009-06-16 Thread Raymond Hettinger
Raymond Hettinger 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 language changes to the parser an

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

2009-06-16 Thread Collin Winter
New submission from Collin Winter : 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 as expected. Examp

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

2009-06-16 Thread Raymond Hettinger
Raymond Hettinger 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 that construct in Python 2.3 to be

[issue6292] Fix tests to work with -OO

2009-06-16 Thread Collin Winter
New submission from Collin Winter : 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 will trigger and ano

[issue1191964] asynchronous Subprocess

2009-06-16 Thread R. David Murray
R. David Murray 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 ___ __

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

2009-06-16 Thread Nick Coghlan
Nick Coghlan 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 a better alterna

[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 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 is broken in Pyt

[issue6284] C/API PyErr_AsUnicode()

2009-06-16 Thread Campbell Barton
Campbell Barton 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 _

[issue6284] C/API PyErr_AsUnicode()

2009-06-16 Thread Campbell Barton
Campbell Barton 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 replacement. however we

[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 : 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 server.login("domena\someuser","somepassword") File "C:\Python\lib\smtplib.py", line 583, in logi

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

2009-06-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: This patch will not work with the compiler is gcc or g++ Is that intended ? -- ___ Python tracker ___

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

2009-06-16 Thread Tarek Ziadé
Tarek Ziadé 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

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

2009-06-16 Thread Hagen Fürstenau
Hagen Fürstenau 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 least a year to tes