[issue6717] Some problem with recursion handling

2011-05-22 Thread Peter Wentworth
Peter Wentworth added the comment: Attached is a crashing program that shows that the event handler is called again before activation of the prior instance has completed. I also have a second turtle that queues the nested events. It doesn't crash the system, at least. Perhaps someone can al

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2011-05-22 Thread Mark Nottingham
Changes by Mark Nottingham : -- nosy: +mnot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9942] Allow memory sections to be OS MERGEABLE

2011-05-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: In order to arrive at some resolution of this issue, I'm answering the original question ("Should Python enable a way for folks to inform the OS of MADV_MERGEABLE memory?"). The discussion has shown that the answer is "no"; there are no pages of memory where

[issue11015] Bring test.support docs up to date

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, you're right, there are still a lot of undocumented symbols (functions, classes, globals). I compiled a list of those I could not find in the .rst docs, excluding ones that are only used in regrtest.py itself: --

[issue6717] Some problem with recursion handling

2011-05-22 Thread Peter Wentworth
Peter Wentworth added the comment: I can confirm the crash persists as of Python 3.1.3 on Windows, and would like to add my vote to prioritizing it. Without having delved into the code, it seems strange that the rapid stream of events is causing stack overflow / recursion limit problems. I

[issue12126] incorrect select documentation

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Closing this issue, since it specifically refers to the select error which was fixed. Tracking the removal of the sockets howto document can be done elsewhere. -- resolution: -> fixed status: open -> closed ___ Pyth

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

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Agreed. Fix committed & issue closed. -- status: open -> closed ___ Python tracker ___ ___ Python-b

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

2011-05-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76e5fe8e21fd by Eli Bendersky in branch '2.7': Issue 12003: fixing error in xrange alternative sample http://hg.python.org/cpython/rev/76e5fe8e21fd -- nosy: +python-dev ___ Python tracker

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

2011-05-22 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2011-05-22 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Adding support for this is a good idea. There could be a question about whether this constitutes a bug fix or a feature; I'll canvass some other devs and see if we have a consensus on it. It may take me a bit to find time to do a deta

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

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

[issue12150] test_sysconfig fails on solaris

2011-05-22 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of #12125. -- nosy: +haypo resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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 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 _

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12121] test_packaging failure when ssl is not available

2011-05-22 Thread STINNER Victor
STINNER Victor 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

[issue12113] test_packaging fails when run twice

2011-05-22 Thread STINNER Victor
STINNER Victor 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 tracker

[issue12151] test_logging fails sometimes

2011-05-22 Thread Roundup Robot
Roundup Robot 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 ___ Python tr

[issue12151] test_logging fails sometimes

2011-05-22 Thread STINNER Victor
New submission from STINNER Victor : 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): File "D:\cygwin\home\db3l\b

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

2011-05-22 Thread Ismail Donmez
Ismail Donmez added the comment: Can someone please review this patch? test_list fails with clang without this patch. -- ___ Python tracker ___

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

2011-05-22 Thread Terry J. Reedy
Terry J. Reedy 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 some features (suc

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

2011-05-22 Thread Charles-François Natali
Charles-François Natali 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 the kernel doesn't

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

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou 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 tooks some

[issue12150] test_sysconfig fails on solaris

2011-05-22 Thread Tarek Ziadé
New submission from Tarek Ziadé : == ERROR: test_get_path (test.test_sysconfig.TestSysConfig) -- Traceback (most recent call last): File "/home2/buildbot/slave

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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 open+CLOEXEC anymore, I consider th

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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? -- ___ Python tr

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

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé 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 versions: +Python 2.7

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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. -- ___ Python tracker

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

2011-05-22 Thread Roundup Robot
Roundup Robot 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

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Roundup Robot
Roundup Robot 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 ___ Python trac

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: duplicate -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Davide Rizzo
Changes by Davide Rizzo : -- nosy: +davide.rizzo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: Fixed in packaging. It seems that all fronts are OK, so closing this -- status: open -> closed ___ Python tracker ___

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Roundup Robot
Roundup Robot 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 ___ Pyt

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

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou 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 (test.test_posix.PosixTester) ---

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

2011-05-22 Thread Charles-François Natali
Charles-François Natali 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 status: open -> clo

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

2011-05-22 Thread Roundup Robot
Roundup Robot 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 tracker

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

2011-05-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis 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: *

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Tarek, you must use LD_LIBRARY_PATH. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé 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 such file or director

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ezio, in the meantime, you can simply put the FakeSocket declaration at the top level. -- ___ Python tracker ___ _

[issue12146] Possible bug in 're' documentation example

2011-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I wrote the recipe and wanted to follow any actions related to it. -- ___ Python tracker ___ ___

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou 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: +amaury.forgeot

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

2011-05-22 Thread R. David Murray
R. David Murray 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

[issue1674555] sys.path in tests contains system directories

2011-05-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis 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.) -- ___ Python tracker

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

2011-05-22 Thread R. David Murray
R. David Murray added the comment: Hmm. Must have misread. Looks like all the common charsets do have MIME entries in the IANA table. -- ___ Python tracker ___ ___

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

2011-05-22 Thread R. David Murray
R. David Murray 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 suggest we pull the list of

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou 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 faulthandler_fatal_e

[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-05-22 Thread Ezio Melotti
New submission from Ezio Melotti : The attached patch causes a segfault while running test_urllib: $ ./python -m test test_urllib [1/1] test_urllib Fatal Python error: Segmentation fault Current thread 0xb77de8d0: File "/home/wolf/dev/py/py3k/Lib/http/client.py", line 451 in close Fil

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: Thanks for the test David -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2011-05-22 Thread Eli Bendersky
Eli Bendersky 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 __

[issue12102] mmap requires file to be synced

2011-05-22 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file22020/12102.1.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue12102] mmap requires file to be synced

2011-05-22 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 ___

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

2011-05-22 Thread Éric Araujo
Éric Araujo 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

[issue12135] The spawn function should return stderr.

2011-05-22 Thread Éric Araujo
Éric Araujo 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 _

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-22 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> test_distutils failure with --enable-shared ___ Python tracker

[issue12145] distutils2 should support README.rst

2011-05-22 Thread Éric Araujo
Éric Araujo 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 rejected. * The code righ

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

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Both patches look ok to me. -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue12138] buggy use of transient_internet() in test_urllibnet

2011-05-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue12138] buggy use of transient_internet() in test_urllibnet

2011-05-22 Thread Roundup Robot
Roundup Robot 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 #12138: fix use of

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

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file22064/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2011-05-22 Thread Michele Orrù
Michele Orrù 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 ___

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

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch looks fine to me. Is it easily testable? -- versions: +Python 3.3 ___ Python tracker ___ ___ P

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

2011-05-22 Thread Antoine Pitrou
Antoine Pitrou 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 ___

[issue9942] Allow memory sections to be OS MERGEABLE

2011-05-22 Thread s7v7nislands
Changes by s7v7nislands : -- nosy: +s7v7nislands ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Mark Dickinson 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 tracker

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

2011-05-22 Thread Georg Brandl
Georg Brandl 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 tracker

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

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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. -- __

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

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti 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. >

[issue12140] Crash upon start up

2011-05-22 Thread Philip Drew
Philip Drew 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. C:\Users\PWTD>c:\Python27\python.exe -v # ins

[issue12140] Crash upon start up

2011-05-22 Thread Ezio Melotti
Ezio Melotti 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. -- ___ Python tracker

[issue12140] Crash upon start up

2011-05-22 Thread Philip Drew
Philip Drew added the comment: The error message is: ImportError: No module named site. -- ___ Python tracker ___ ___ Python-bugs-lis

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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) which is not atomic. --

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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 __init__(self, ...):

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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 for this idea. -

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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 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 ___ Python tra

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue12080] decimal.py: performance in _power_exact

2011-05-22 Thread Mark Dickinson
Mark Dickinson 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 _

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

2011-05-22 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-05-22 Thread STINNER Victor
STINNER Victor 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 ___

[issue12148] Clarify "or-ing together" doctest option flags

2011-05-22 Thread R. David Murray
R. David Murray 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

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

2011-05-22 Thread Ezio Melotti
Ezio Melotti 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 considered a bug and fixed on

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

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file22066/issue8898_skip.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file22065/issue8898_skip.patch ___ Python tracker ___ ___ Python-bugs-list maili

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

2011-05-22 Thread Ezio Melotti
Ezio Melotti added the comment: Something like: if name == 'mbcs' and not sys.platform.startswith('win'): continue should be enough. -- ___ Python tracker ___ ___

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

2011-05-22 Thread Michele Orrù
Michele Orrù 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 another story. ---

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

2011-05-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +charles-francois.natali, rosslagerwall versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ _

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

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Michele Orrù wrote: > > Michele Orrù 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

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

2011-05-22 Thread Mark Dickinson
Mark Dickinson 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 multiplication part of the

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

2011-05-22 Thread Roundup Robot
Roundup Robot 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: +python-dev __

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

2011-05-22 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file22057/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2011-05-22 Thread Michele Orrù
Michele Orrù 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 is not present.

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

2011-05-22 Thread Michele Orrù
Michele Orrù 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 module for all alias

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

2011-05-22 Thread STINNER Victor
STINNER Victor added the comment: > Victor, you broke the Solaris gcc buildbot on 2.7. It should be fixed by d5771ed4ec4e. -- status: open -> closed ___ Python tracker ___

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

2011-05-22 Thread Roundup Robot
Roundup Robot 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

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

2011-05-22 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-05-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Michele Orrù wrote: > > Michele Orrù 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

  1   2   >