[issue2758] arg 2 of PyErr_SetFromErrnoWithFilename should be const

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: This is already fixed in trunk and the various 3.x branches. -- nosy: +brian.curtin priority: -> normal resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-12 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Ronald, with your patch I see this on 10.4 (Xcode 2.5): [...] lipo -extract ppc7400 -extract i386 -output /Users/apy/rrun/build/activepython-DEV/build/pyhg_trunk-macosx-hgtip27-rrun/image/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32 p

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-01-12 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7672] _ssl module causes segfault

2010-01-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: Bill: unloading the shared probably means he does dlclose() (after having done dlopen initially). Furthermore, it probably means he does that on libpythonxy.so. I'm a bit puzzled that it also affects _ssl.so (unless he dlcloses that as well) - Python, on its

[issue7672] _ssl module causes segfault

2010-01-12 Thread Sean Soria
Sean Soria added the comment: You are correct, dlclose is called on libpythonXY.so and all .so modules loaded by it. -- ___ Python tracker ___ __

[issue7672] _ssl module causes segfault

2010-01-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: As for the module's __del__: that is already implemented in moduleobject.c:module_dealloc. It doesn't give the module implementation a hook to execute custom code. In Py3k, you can implemenent the m_free hook of the PyModuleDef. --

[issue6837] Mark the compiler package as deprecated

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: This can be reconsidered now that the DeprecationWarnings are silenced by default (see #7319). -- nosy: +ezio.melotti priority: -> normal resolution: wont fix -> status: closed -> open ___ Python tracker

[issue2846] Gzip cannot handle zero-padded output + patch

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is no need to write: try: [...] except IOError as err: self.fail(err) Just let the exception be raised and produce an error. -- nosy: +pitrou ___ Python tracker

[issue4772] undesired switch fall-through in socketmodule.c

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: "makesockaddr" shouldn't be mentioned in the exception message, since it's just an internal helper function. -- nosy: +pitrou ___ Python tracker __

[issue7687] Bluetooth support untested

2010-01-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : We have bluetooth support in the socket module but it never gets tested in the regression suite. -- components: Library (Lib), Tests messages: 97696 nosy: brian.curtin, pitrou priority: normal severity: normal stage: needs patch status: open title: B

[issue6058] Add cp65001 to encodings/aliases.py

2010-01-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> high stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue7688] TypeError: __name__ must be set to a string object

2010-01-12 Thread Frank Millman
New submission from Frank Millman : At the top of my program I have 'from __future__ import unicode_literals'. The relevant lines from my program read - from multiprocessing.managers import BaseManager class MyManager(BaseManager): pass MyManager.register('my_function', my_function)

<    1   2