[issue17042] Example in C-API memory management doc has confusing order

2013-01-26 Thread Eric Snow
Eric Snow added the comment: Sorry, I'd meant something like this: char *buf1 = PyMem_New(char, BUFSIZ); char *buf2 = (char *) malloc(BUFSIZ); char *buf3 = (char *) PyMem_Malloc(BUFSIZ); ... /* in reverse order */ PyMem_Del(buf3); /* Wron

[issue5289] ctypes.util.find_library does not work under Solaris

2013-01-26 Thread Skip Montanaro
Skip Montanaro added the comment: Is there still time to get this bug fixed in 2.7.3? I patched my 2.7 ctypes/util.py with the latest version (offset a few lines, but no other problems) and verified that it seems to fix the issue. When running util.py as a main program I see this before runni

[issue17045] Improve C-API doc for PyTypeObject

2013-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation nosy: +docs@python, ezio.melotti stage: -> patch review type: -> enhancement versions: +Python 3.3, Python 3.4 ___ Python tracker

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-26 Thread Eric Snow
Eric Snow added the comment: (changing the title to disassociate it from a particular solution) >> * make sure the original test case does not get used (#16835), > > PEP 399 dictates that the base class does not inherit from > unittest.TestCase, so why would it be used? Sorry for any confusion.

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: I think something similar has already been proposed and rejected on another issue. -- nosy: +ezio.melotti ___ Python tracker ___

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: What's the status of this? Issue #4153 might also be related. -- ___ Python tracker ___ ___ Python-bu

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-26 Thread Eric Snow
Eric Snow added the comment: > I think something similar has already been proposed and rejected on another > issue. Wouldn't surprise me. I'll look for it. I know there's been a bunch of traffic relative to PEP 399 and to test discovery, so I'm guessing I missed it in there. Thanks for the

[issue4972] context managerment support in imaplib, smtplib, ftplib

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: ftplib.FTP and smtplib.SMTP support the "with" statement since 3.2 and 3.3 respectively. imaplib seems to be the only one left. Can someone review and commit the patch for 3.4? -- stage: needs patch -> patch review versions: +Python 3.4 -Python 3.2, Pytho

[issue1479255] Fix building with SWIG's -c++ option set in setup.py

2013-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy stage: needs patch -> test needed versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___

[issue8144] muliprocessing shutdown infinite loop

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: Can you still reproduce the issue? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list m

[issue14017] Make it easy to create a new TextIOWrapper based on an existing

2013-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +pitrou stage: -> needs patch type: -> enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ _

[issue17005] Add a topological sort algorithm

2013-01-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13886] readline-related test_builtin failure

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: This problem still exists on 3.4. The attached patch seems to solve it. -- nosy: +ezio.melotti versions: +Python 3.4 ___ Python tracker ___ __

[issue16488] Add context manager support to epoll object

2013-01-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16486] Add context manager support to aifc module

2013-01-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16485] FD leaks in aifc module

2013-01-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17045] Improve C-API doc for PyTypeObject

2013-01-26 Thread Eric Snow
Eric Snow added the comment: Here's an updated patch after feedback. Thanks Ezio! -- Added file: http://bugs.python.org/file28865/typeobj-doc.diff ___ Python tracker ___ ___

[issue17045] Improve C-API doc for PyTypeObject

2013-01-26 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file28864/typeobj-doc.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2013-01-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Kristján, are you pursuing this yet?. Can we move on? -- nosy: +jcea title: Allow ssl certificates to be speficfied from memory rather than files. -> Allow ssl certificates to be specified from memory rather than files. ___

[issue14018] OS X installer does not detect bad symlinks created by Xcode 3.2.6

2013-01-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49294e55311f by Ned Deily in branch '2.7': Issue #14018: fix merge error http://hg.python.org/cpython/rev/49294e55311f New changeset 58646b0c5226 by Ned Deily in branch '3.2': Issue #14018: fix merge error http://hg.python.org/cpython/rev/58646b0c52

[issue4153] Unicode HOWTO up to date?

2013-01-26 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2013-01-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I wasn't pushing it anymore because there seemed to be no interest and Antoine attitude made me lose interest in contributing this. No one liked to comment on my approach except Antoine and I had grown tired of his persistent negativity and aloof mann

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2013-01-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Manually edited the .patch file The build changes are gone but should probably go in separately in some form later. -- Added file: http://bugs.python.org/file28866/sslpatch2.patch ___ Python tracker

[issue4153] Unicode HOWTO up to date?

2013-01-26 Thread Nick Coghlan
Nick Coghlan added the comment: The section in the HOWTO on Python's unicode support also misses the fact that the easiest way to include a Unicode character in a string literal in Python 3 is to *include that character in the string literal* (since source code is now treated as UTF-8 by defau

[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: On Win 7 with a non-ASCII username, this seems to work fine on both 2.7 and 3.3. 2.7 returns str or unicode depending on the type of the "prefix=", whereas 3.3 only accepts str (I think this is expected). I'm going to close this as out of date, feel free to reo

[issue1778410] removeTest() method patch for unittest.TestSuite

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: Michael, what's the situation now? -- nosy: +ezio.melotti versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ _

[issue1777134] minidom pretty xml output improvement

2013-01-26 Thread Ezio Melotti
Ezio Melotti added the comment: I think this can be closed, since #4147 already improved tpprettyxml(). -- nosy: +ezio.melotti resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue3871] cross and native build of python for mingw* hosts

2013-01-26 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: the last time this was brought up on python-dev the opinions of the primary python developers was made very very clear: anything that is not written by them is treated with extreme hostile and predudicial contempt. what i mean by that is that the

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-26 Thread Nick Coghlan
Nick Coghlan added the comment: Current status: #14015 is still valid (i.e. surrogateescape is not well documented) #4153: the Unicode HOWTO still covers more than the bare minimum people need to know Ned Batchelder's "Pragmatic Unicode" is one of the best intros to the topic I have seen: http

[issue7576] Avoid warnings in PyModuleDef_HEAD_INIT

2013-01-26 Thread Stefan Behnel
Stefan Behnel added the comment: This is a duplicate of issue 9518 (or the other way round) and should be closed as fixed in 3.2. -- components: +Extension Modules nosy: +scoder ___ Python tracker _

[issue17046] test_subprocess test_executable_without_cwd fails when run with installed python

2013-01-26 Thread Ned Deily
New submission from Ned Deily: ./configure --enable-shared --with-pydebug --prefix=/py/root && make && make install cd export LD_LIBRARY_PATH=/py/root/lib /py/root/bin/python3.4 -m test -w -uall,-largefile test_subprocess == F

[issue17044] Implement PEP 422: Simple class initialisation hook

2013-01-26 Thread Daniel Urban
Daniel Urban added the comment: Thanks for the review Ezio! I've fixed the order of the arguments of assertEqual. Regarding your other comment: I agree that your code is shorter and clearer, but it doesn't do exactly the same thing. cls.__init_class__ can be None, and in that case, we should

<    1   2