[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: Well, actually encodings.aliases links to the encoding _module name_, as described in the doc: Encoding Aliases Support This module is used by the encodings package search function to map encodings names to module names. So I've

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Added file: http://bugs.python.org/file22058/fail_tactis.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Added file: http://bugs.python.org/file22059/issue8898_withtests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Added file: http://bugs.python.org/file22060/fail_mcbs.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-05-22 Thread Nicolas Estibals
New submission from Nicolas Estibals nicolas.estib...@gmail.com: smtplib.send_message permits to send messages that are in python Message representation by selecting smtp's from and to in the message headers. Most of the time the implementation is correct but if the message is bounced

[issue12148] Clarify or-ing together doctest option flags

2011-05-22 Thread ekorn
New submission from ekorn jono...@gmail.com: Combining multiple option flags to doctest.testmod(optionflags=...) requires the bitwise or operator |, not plain or. I therefore suggest rewording or-ing together individual option flags. to or-ing together individual option flags, using the

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-22 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Digging a little deeper, here's the conclusion: - with py3k, fragmentation is less likely: the buffered reader returned by makefile() ensures that we can allocate only one result buffer for the total number of bytes read() (thanks to

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-22 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file22063/imaplib_recv_27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1441530 ___

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-22 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file22044/imaplib_read.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1441530 ___

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-22 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file22051/imaplib_ssl_makefile.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1441530 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Michele Orrù wrote: Michele Orrù maker...@gmail.com added the comment: Well, actually encodings.aliases links to the encoding _module name_, as described in the doc: Encoding Aliases Support This module is used by the encodings

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-22 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5715 ___ ___

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d5771ed4ec4e by Victor Stinner in branch '2.7': Issue #12012: test_ssl uses test_support.import_module() http://hg.python.org/cpython/rev/d5771ed4ec4e -- ___ Python tracker

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, you broke the Solaris gcc buildbot on 2.7. It should be fixed by d5771ed4ec4e. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: So, what do you prefer? Add a check for sys.platform, or just skip it? discussion on python-dev. So I'm +1 for just skipping it for now (with a XXX comment on the right maybe). -- title: The email package should defer to the codecs

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: Sorry, I was told that email the bugtracker could not work properly. - mcbs has something broken in its imports; mbcs is only available on Windows. So, what do you prefer? Add a check for sys.platform, or just skip it? - tactis module

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Removed file: http://bugs.python.org/file22057/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue12079] decimal.py: TypeError precedence in fma()

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 825b4278a055 by Mark Dickinson in branch 'default': Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation http://hg.python.org/cpython/rev/825b4278a055 -- nosy:

[issue12079] decimal.py: TypeError precedence in fma()

2011-05-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It turns out that this is as simple as moving the _convert_other call to the top of the Decimal.fma method. (For some reason I was confusing this with the subtleties involved in making sure that an InvalidOperation arising from the

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Michele Orrù wrote: Michele Orrù maker...@gmail.com added the comment: Sorry, I was told that email the bugtracker could not work properly. - mcbs has something broken in its imports; mbcs is only available on Windows. So,

[issue6560] socket sendmsg(), recvmsg() methods

2011-05-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +charles-francois.natali, rosslagerwall versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6560 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: unittest.skip* are decorators, so useless in this case; also, AFAIS Lib/test/ uses sys.platform. I would suggest to put a try statement in encodings.mbcs, and raise an error in case the imported modules imported are not found. But this is

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Something like: if name == 'mbcs' and not sys.platform.startswith('win'): continue should be enough. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Removed file: http://bugs.python.org/file22065/issue8898_skip.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Added file: http://bugs.python.org/file22066/issue8898_skip.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I suggest to: 1) remove the alias for tactis; 2) add the aliases for latin_* and the tests for the aliases; 3) fix the email.charset to use the new aliases instead of its own dict. 2) and 3) should go on 3.3 only, 1) could be

[issue12148] Clarify or-ing together doctest option flags

2011-05-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think adding the word 'bitwise' in front of or'ed and linking it to that section would be sufficient. -- nosy: +r.david.murray versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue12073] regrtest: use faulthandler to dump the tracebacks on SIGUSR1

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Update the patch and describe the new feature in regrtest doc (--help). -- Added file: http://bugs.python.org/file22067/regrtest_sigusr1-2.patch ___ Python tracker rep...@bugs.python.org

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-22 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12100 ___ ___

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a patch. Stefan, could you please review? -- keywords: +patch Added file: http://bugs.python.org/file22068/issue12080.patch ___ Python tracker rep...@bugs.python.org

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12080 ___ ___

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @charles-francois.natali: Your patch is ok, you can commit it into 3.1, 3.2, 3.3. But you may wait after 3.2.1. @Georg Brandl: Should we wait after Python 3.2.1 for this issue? -- nosy: +georg.brandl

[issue12103] Documentation of open() does not claim 'e' support in mode string

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue #12105 adds os.O_CLOEXEC flag, so we will be able to write open(os.open(filename, os.O_RDONLY|os.O_CLOEXEC)). Do you want to work on a doc patch? -- ___ Python tracker

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: open() documentation may explain the os.fdopen(os.open()) trick to use low-level options like O_SYNC or O_CLOEXEC. Why not, but I leave it to someone more comfortable with documentation than me :-) Issue #12103 should be fine

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I don't know if it's related, but SimpleXMLRPCServer in Python 2.7 uses fcntl(self.fileno(), fcntl.F_SETFD, flags): class SimpleXMLRPCServer(SocketServer.TCPServer, SimpleXMLRPCDispatcher): ... def

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oh, by the way: it would also be nice to add os.O_CLOEXEC to Python 2.7. For example, tempfile._mkstemp_inner() uses: fd = _os.open(file, flags, 0600) _set_cloexec(fd) # fcntl(fd, F_SETFD, flags | FD_CLOEXEC)

[issue12140] Crash upon start up

2011-05-22 Thread Philip Drew
Philip Drew pwtd...@gmail.com added the comment: The error message is: ImportError: No module named site. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12140 ___

[issue12140] Crash upon start up

2011-05-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The 'site' module should be in Python27\Lib\site.py. You could try to run python.exe -v to see if it says something useful in the output, or maybe try to reinstall Python and see if it works. --

[issue12140] Crash upon start up

2011-05-22 Thread Philip Drew
Philip Drew pwtd...@gmail.com added the comment: The site module is in the right place This is what I got running the -v flag: (I don't know what you're looking for) Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: I suggest to: 1) remove the alias for tactis; 2) add the aliases for latin_* and the tests for the aliases; 3) fix the email.charset to use the new

[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: I think it's better to use a StringIO instance for the tests. Regarding resetting the incremental codec every time .encode() is called: Hye-Shik will have to comment. Perhaps there's an internal reason why they do this. --

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: One moment -- adding a new value to the os module looks like a new feature to me. Is there any convincing reason why this needs to go to 3.2? (And it most definitely shouldn't go to 3.1.) -- ___

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a slightly improved version that adds guards against computing 10**ye for large ye in the case y 0, ye 0. -- Added file: http://bugs.python.org/file22069/issue12080_v2.patch ___ Python

[issue9942] Allow memory sections to be OS MERGEABLE

2011-05-22 Thread s7v7nislands
Changes by s7v7nislands s7v7nisla...@gmail.com: -- nosy: +s7v7nislands ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9942 ___ ___ Python-bugs-list

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: No reason. I think this is definitely 3.3 material. -- nosy: +pitrou versions: -Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12105

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch looks fine to me. Is it easily testable? -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5715 ___

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: In the sense that the alias for 'tactis' should be removed also in 2.7 and 3.2? -- title: The email package should defer to the codecs module for all aliases - The email package should defer to the codecs module for all aliases

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù maker...@gmail.com: Removed file: http://bugs.python.org/file22064/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898 ___

[issue12138] buggy use of transient_internet() in test_urllibnet

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 52b78e07d009 by Antoine Pitrou in branch '3.2': Issue #12138: fix use of transient_internet() in test_urllibnet http://hg.python.org/cpython/rev/52b78e07d009 New changeset 18432e8885e0 by Antoine Pitrou in branch 'default': Issue

[issue12138] buggy use of transient_internet() in test_urllibnet

2011-05-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12138 ___

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Both patches look ok to me. -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1441530 ___

[issue12145] distutils2 should support README.rst

2011-05-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hi, thanks for the report. Distutils is feature frozen, and distutils does not included README{.txt,} by default anymore*. I don’t know why Tarek changed that. If he changes his mind, I’d be +1 to your proposal, otherwise it will be

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - test_distutils failure with --enable-shared ___ Python tracker rep...@bugs.python.org

[issue12135] The spawn function should return stderr.

2011-05-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Let’s make one bug for both requests (print whole command line + print stderr), fix it in packaging and discuss if it can be backported to distutils. -- ___ Python tracker rep...@bugs.python.org

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The docs should value readability over conciseness IMHO; the examples here with seven operations in a row are a bit scary. -- ___ Python tracker rep...@bugs.python.org

[issue12102] mmap requires file to be synced

2011-05-22 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: that doesn't make me any good Well - 'can only be better than myself, so i'll take that as yes :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12102

[issue12102] mmap requires file to be synced

2011-05-22 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: Removed file: http://bugs.python.org/file22020/12102.1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12102 ___

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-22 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, I'm not sure that the note is necessary at all, but once it's there, it should value *correctness* over conciseness and readability. -- ___ Python tracker rep...@bugs.python.org

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks for the test David -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12143 ___ ___

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: The attached patch causes a segfault while running test_urllib: $ ./python -m test test_urllib [1/1] test_urllib test.test_urllib.FakeHTTPConnection object at 0xb66b0fbc test.test_urllib.FakeHTTPConnection object at 0xb66b76fc

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This occurs when running the GC and then calling the finalization of an IO object, which temporarily resurrects the object to call its close() method: #0 0x7fc20bc1609b in raise () from /lib64/libpthread.so.0 #1 0x005328e7 in

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: euc_jp and euc_kr seem to be backward (that is, codecs translates them to the _ version, instead of translating the _ version to the - version). I worry that there might be other deviations from the standard email names. I would

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hmm. Must have misread. Looks like all the common charsets do have MIME entries in the IANA table. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8898

[issue1674555] sys.path in tests contains system directories

2011-05-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: The advantage of an environment variable is that it is by default inherited by subprocesses. (These patches no longer apply cleanly. I will create updated patches.) --

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: On second thought the resolution order ought to be swapped anyway: if the user has added an ALIAS, they are going to want that used, not the one from codecs. -- ___ Python tracker

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a quick script to reproduce. It seems that the type of the object has to be caught in a reference cycle for this to happen: apparently the descriptors start being deallocated but the method cache isn't updated yet (?). -- nosy:

[issue12146] Possible bug in 're' documentation example

2011-05-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I wrote the recipe and wanted to follow any actions related to it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12146 ___

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ezio, in the meantime, you can simply put the FakeSocket declaration at the top level. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12149

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I am trying to fix this by backporting the distutils fix, but --enabled-share does not work for me ?! $ make distclean ./configure --enable-shared --with-pydebug make $ ./python libpython3.3dm.so.1.0: cannot open shared object file: No

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Tarek, you must use LD_LIBRARY_PATH. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10126 ___

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-05-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: These changes cause test failure on 3.1 branch when verbose mode is disabled: # python3.1 -m test.regrtest test_zipfile test_zipfile test test_zipfile produced unexpected output:

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f1c544245eab by Charles-François Natali in branch 'default': Issue #12105: Add O_CLOEXEC to the os module. http://hg.python.org/cpython/rev/f1c544245eab -- nosy: +python-dev ___ Python

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I've committed the patch to 3.3. Since the documentation aspect is traced in Issue #12103, I'm closing this issue. Марк, thanks for reporting this! -- resolution: accepted - fixed stage: commit review - committed/rejected

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: And apparently some buildbot doesn't like it: http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/57/ == FAIL: test_oscloexec

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3d822e1ca930 by Tarek Ziade in branch 'default': Issue 10126 - backported distutils fix for the enable-share mode into packaging http://hg.python.org/cpython/rev/3d822e1ca930 -- nosy: +python-dev

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Fixed in packaging. It seems that all fronts are OK, so closing this -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10126

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Davide Rizzo
Changes by Davide Rizzo sor...@gmail.com: -- nosy: +davide.rizzo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12149 ___ ___ Python-bugs-list

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- resolution: duplicate - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12132 ___

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 1ba12ac770e0 by Tarek Ziade in branch 'default': Issue 12132 - skip the test_buil_ext test if the xx module is not found http://hg.python.org/cpython/rev/1ba12ac770e0 -- nosy: +python-dev

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12132 ___ ___

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 9ef8fc5454cb by Victor Stinner in branch '3.1': Issue #10801: Remove a debug print() from test_zipfile http://hg.python.org/cpython/rev/9ef8fc5454cb -- ___ Python tracker

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: These changes cause test failure on 3.1 branch when verbose mode is disabled What a shame! I commited a debug print(): 1.39 +print(fname) It should be fixed by my last commit. --

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: @ned: right. done, and fixes issue12132 -- assignee: pitrou - tarek components: +Library (Lib) title: --multiprocessing fails with packaging.tests.test_command_build_ext - sysconfig.get_config_vars('srcdir') fails in specific cases

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Patch looks fine to me. Is it easily testable? test_subprocess has some tests checking cloexec: test_pipe_cloexec() and test_pipe_cloexec_real_tools(). You may reuse some code from these tests? --

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: One moment -- adding a new value to the os module looks like a new feature to me. Is there any convincing reason why this needs to go to 3.2? (And it most definitely shouldn't go to 3.1.) Python doesn't suppose atomic

[issue12150] test_sysconfig fails on solaris

2011-05-22 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: == ERROR: test_get_path (test.test_sysconfig.TestSysConfig) -- Traceback (most recent call last): File

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Python doesn't suppose atomic open+CLOEXEC anymore, I consider this as a regression from Python 2 (which support open(re) with the GNU libc). It has never been documented (nor supported) so, no, I wouldn't consider it a regression. But... it

[issue12105] open() does not able to set flags, such as O_CLOEXEC

2011-05-22 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: And apparently some buildbot doesn't like it Linux-2.6.22-vs2.2.0.7-gentoo-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-2.0.1 little-endian O_CLOEXEC support was added to Linux 2.6.23: this means that the libc defines it while

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Given that the note is already gone* as obsolete in 3.x, I think a minimal maintenance fix for correctness should be fine for 2.7. * It is replaced, in essence, by Ranges containing absolute values larger than sys.maxsize are permitted but

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-05-22 Thread Ismail Donmez
Ismail Donmez ism...@namtrac.org added the comment: Can someone please review this patch? test_list fails with clang without this patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11149

[issue12151] test_logging fails sometimes

2011-05-22 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: test_logging does sometimes fail. A recent example on Windows XP: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4645/steps/test/logs/stdio test test_logging failed -- Traceback (most recent call last):

[issue12151] test_logging fails sometimes

2011-05-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 54ffc01b6cc2 by Victor Stinner in branch 'default': Issue #12151: test_logging writes debug messages to stderr, not stdout http://hg.python.org/cpython/rev/54ffc01b6cc2 -- nosy: +python-dev

[issue12113] test_packaging fails when run twice

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I cannot reproduce the problem: python -m test test_packaging test_packaging. I suppose that it was fixed by tarek. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python

[issue12121] test_packaging failure when ssl is not available

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It looks like Tarek fixed this bug because I'm unable to reproduce it. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2011-05-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12144 ___ ___ Python-bugs-list mailing list

[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

2011-05-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Could you possibly test the bug in Python 2.7, 3.1, 3.2 and current 3.3 branch?. Python 2.6 is open for security fixes only, I think. -- ___ Python tracker rep...@bugs.python.org

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-05-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12147 ___ ___ Python-bugs-list mailing list

[issue12150] test_sysconfig fails on solaris

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of #12125. -- nosy: +haypo resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12150

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

2011-05-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue #12150 has been marked as a duplicate of this issue: == ERROR: test_get_path (test.test_sysconfig.TestSysConfig)

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

2011-05-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12125 ___ ___ Python-bugs-list mailing list

  1   2   >