[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Charles-François Natali
Charles-François Natali added the comment: > Richard Oudkerk added the comment: > > I remember wondering at one time why EPOLLNVAL did not exist, and realizing > that closed fds are just silently unregistered by epoll(). Exactly. > I guess the issue is that some of the selectors indicate a bad

[issue18808] Thread.join returns before PyThreadState is destroyed

2013-09-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 06 septembre 2013 à 00:19 +, Tim Peters a écrit : > Tim Peters added the comment: > > So you're not concerned about a now-private API (which used to be > advertised), but are concerned about a user mucking with a new private > lock in an exceedin

[issue15350] {urllib,urllib.parse}.urlencode.__doc__ is unclear

2013-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in 3.3 and cpython. 3.2 is security fix mode and patches are not backported. This does not apply to 2.7. Thanks for the patch. -- resolution: -> fixed status: open -> closed versions: -Python 2.7, Python 3.2 ___

[issue15350] {urllib,urllib.parse}.urlencode.__doc__ is unclear

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 975d1e180689 by Senthil Kumaran in branch 'default': merge from 3.3 http://hg.python.org/cpython/rev/975d1e180689 -- nosy: +python-dev ___ Python tracker _

[issue18942] _debugmallocstats() gibberish output on Windows

2013-09-05 Thread Tim Peters
Changes by Tim Peters : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue18942] _debugmallocstats() gibberish output on Windows

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d95cc29ea94e by Tim Peters in branch '3.3': Issue #18942: sys._debugmallocstats() output was damaged on Windows. http://hg.python.org/cpython/rev/d95cc29ea94e New changeset 43f772554872 by Tim Peters in branch 'default': Nerge 3.3 into default. http

[issue18942] _debugmallocstats() gibberish output on Windows

2013-09-05 Thread Tim Peters
New submission from Tim Peters: On Windows, _debugmallocstats() output ends with lines like this: 0 free 12-sized PyTupleObjects * zd bytes each =0 0 free 13-sized PyTupleObjects * zd bytes each =0 "zd" is senseless. Betting it's due to using a %zd f

[issue18939] Venv docs regarding original python install

2013-09-05 Thread Graham Wideman
Graham Wideman added the comment: Thanks R. David for your comments. > It should also mention that the activation is per-shell-session, .. which also has implications (or lack of effect) for launching from Windows Explorer, for example. Seems like in practical use, one would need to set up a

[issue18924] Enum members are easily replaced

2013-09-05 Thread Ethan Furman
Ethan Furman added the comment: Heavy-handed would be having the metaclass turn all the enum members into read-only properties. The solution I have proposed is more like a wagging of one's finger saying, "No, no, that's not the right way!" ;) -- _

[issue18941] RotatingFileHandler and TimedRotatingFileHandler do not respect delay on rollover

2013-09-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18940] TimedRotatingFileHandler and RotatingFileHandler fail to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18939] Venv docs regarding original python install

2013-09-05 Thread R. David Murray
R. David Murray added the comment: Hmm. It seems to me that that document is indeed not clear as to what is really going on. My understanding has always been that there is only one Python interpreter, but that it behaves differently when invoked through the symlink in the venv. I suppose th

[issue18939] Venv docs regarding original python install

2013-09-05 Thread Graham Wideman
Graham Wideman added the comment: Additionally on the subject of venv docs: I would encourage making it more clear regarding how activate changes the user's PATH. Both http://www.python.org/dev/peps/pep-0405/ and http://docs.python.org/3.3/library/venv.html talk about how activate adds the

[issue18941] RotatingFileHandler and TimedRotatingFileHandler do not respect delay on rollover

2013-09-05 Thread Joshua Olson
Joshua Olson added the comment: If delay is set then don't automatically open the new file. -- keywords: +patch Added file: http://bugs.python.org/file31625/delay_rollover.patch ___ Python tracker _

[issue18941] RotatingFileHandler and TimedRotatingFileHandler do not respect delay on rollover

2013-09-05 Thread Joshua Olson
Joshua Olson added the comment: Demonstrate the bug -- Added file: http://bugs.python.org/file31624/logging_test.py ___ Python tracker ___ ___

[issue18940] TimedRotatingFileHandler and RotatingFileHandler fail to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Changes by Joshua Olson : Added file: http://bugs.python.org/file31623/logging_test.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18940] TimedRotatingFileHandler and RotatingFileHandler fail to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Joshua Olson added the comment: This fixes the issue in both RotatingFilerHandler classes. -- title: TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time. -> TimedRotatingFileHandler and RotatingFileHandler fail to doRollover if a logger has

[issue18924] Enum members are easily replaced

2013-09-05 Thread Eric Snow
Eric Snow added the comment: > I would agree with Eli and Eric if it wasn't for that problem. Agreed. That was the gist of my question that led to Ethan's example. If it's easy to accidentally break an enum, particularly in a subtle way, then it may not be worth taking a consenting adults ap

[issue18940] TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Changes by Joshua Olson : Removed file: http://bugs.python.org/file31621/doRollover.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18940] TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Changes by Joshua Olson : Removed file: http://bugs.python.org/file31620/logging_test.py ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18940] TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Changes by Joshua Olson : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue18940] TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
Joshua Olson added the comment: Here is a patch for the logging file from the cpython hg repo. -- keywords: +patch Added file: http://bugs.python.org/file31621/doRollover.patch ___ Python tracker __

[issue18808] Thread.join returns before PyThreadState is destroyed

2013-09-05 Thread Tim Peters
Tim Peters added the comment: So you're not concerned about a now-private API (which used to be advertised), but are concerned about a user mucking with a new private lock in an exceedingly unlikely (in the absence of malice) way. That clarifies things ;-) I'm not really concerned about eithe

[issue18929] inspect.classify_class_attrs ignores metaclass

2013-09-05 Thread Ethan Furman
Ethan Furman added the comment: Another option with the global fix is to only add the metaclass to the mro if the metaclass is not 'type'. -- ___ Python tracker ___

[issue18931] new selectors module should support devpoll on Solaris

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

[issue18941] RotatingFileHandler and TimedRotatingFileHandler do not respect delay on rollover

2013-09-05 Thread Joshua Olson
New submission from Joshua Olson: For low volume loggers RotatingFileHandler and TimedRotatingFileHandler will create possibly unnecessary files on doRollover, since they don't check the value of delay when opening the new self.stream. self.stream = self._open() should be something like if n

[issue18940] TimedRotatingFileHandler fails to doRollover if a logger has delay=True and no logs in that time.

2013-09-05 Thread Joshua Olson
New submission from Joshua Olson: In TimedRotatingFileHandler if you have a low volume logger than hasn't written to the log within the interval time doRollover will fail because there is no file to rotate. os.rename(self.baseFilename, dfn) should be something like if os.path.exists(self.ba

[issue18937] add unittest assertion for logging

2013-09-05 Thread Vinay Sajip
Vinay Sajip added the comment: I agree a context manager would be useful. Note that I have already provided a Handler subclass (TestHandler) as well as a Matcher class which allows matching of LogRecords, and which can be used in assertions. These are in test.support as they were originally in

[issue18937] add unittest assertion for logging

2013-09-05 Thread Vinay Sajip
Vinay Sajip added the comment: Whoops, meant to say "... moved to the unittest package ...". -- ___ Python tracker ___ ___ Python-bugs

[issue18939] Venv docs regarding original python install

2013-09-05 Thread Graham Wideman
New submission from Graham Wideman: http://docs.python.org/dev/library/venv.html More detail needed regarding the original python environment The article explains how to use venv to create a new python installation with independent libraries etc, and a means to activate one or another virtual

[issue18876] Problems with files opened in append mode with io module

2013-09-05 Thread Erik Bray
Erik Bray added the comment: Thank you! Has there been a separate issue opened for the BufferedWriter bug or can that be covered by this issue as well? -- ___ Python tracker __

[issue18933] Add link to source code in logging documentation

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc4e6b48c321 by Vinay Sajip in branch '2.7': Issue #18933: Added links to source code. http://hg.python.org/cpython/rev/dc4e6b48c321 New changeset 34e515f2fdfe by Vinay Sajip in branch '3.3': Issue #18933: Added links to source code. http://hg.pytho

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: I remember wondering at one time why EPOLLNVAL did not exist, and realizing that closed fds are just silently unregistered by epoll(). I guess the issue is that some of the selectors indicate a bad fd on registration, and others do it when polled.

[issue18938] Prepend Is Not A Word

2013-09-05 Thread Graham Wideman
Graham Wideman added the comment: "Prepend" appears in every online dictionary I consulted. For a dictionary to list it and give the usual meaning for it, pretty much demonstrates "prepend" functioning as a real word. That and its 1.3 million hits on google. "Prepend" certainly has a commonly

[issue18924] Enum members are easily replaced

2013-09-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think Ethan has a point that the inconsistency when overriding a member can hide subtle bugs. I would agree with Eli and Eric if it wasn't for that problem. Also, we can first forbid overriding, then change our decision later on if someone comes with a use c

[issue18938] Prepend Is Not A Word

2013-09-05 Thread Johnny Boy
New submission from Johnny Boy: If you do a custom install on Windows and click "Add python.exe to Path" the text below says "Prepend c:\Python33\ to the system Path variable" Prepend is not a word! The word you are looking for is Prefix. http://encyclopedia2.thefreedictionary.com/prepend " Alt

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Charles-François Natali
Charles-François Natali added the comment: The test is failing on some (unstable) buildbots: http://buildbot.python.org/all/builders/AMD64%20Solaris%2011%20%5BSB%5D%203.x/builds/1598/steps/test/logs/stdio """ == FAIL: test_invali

[issue18938] Prepend Is Not A Word

2013-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: It is however a very common programming term. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker _

[issue18937] add unittest assertion for logging

2013-09-05 Thread R. David Murray
R. David Murray added the comment: I have project in which that would be useful, so +1 from me for the general concept. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 81f0c6358a5f by Charles-François Natali in branch 'default': Issue #18934: multiprocessing: use selectors module. http://hg.python.org/cpython/rev/81f0c6358a5f -- nosy: +python-dev ___ Python tracker

[issue18936] getopt chokes on unicode option names

2013-09-05 Thread Jason R. Coombs
New submission from Jason R. Coombs: Today I encountered a bug where I was using a Distutils.Command subclass, which uses getopt for option parsing. The implementation is here: https://bitbucket.org/jaraco/jaraco.packaging/src/2.2/jaraco/packaging/depends.py?at=default Around line 59, the opti

[issue18909] Segfaults on win-amd64 due to corrupt pointer to Tkapp_Interp

2013-09-05 Thread Christoph Gohlke
Christoph Gohlke added the comment: Sorry, of course I meant > 2**31. Thank you very much for your review! -- ___ Python tracker ___ _

[issue18937] add unittest assertion for logging

2013-09-05 Thread Antoine Pitrou
New submission from Antoine Pitrou: It is sometimes useful to check for the log messages emitted by some piece of code (especially a library). Would it be a good idea to add a dedicated assertion method for that? I would propose the following API: with self.assertLogging("logger.name", level=

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Add support for 24-bit samples in the audioop module ___ Python tracker ___ ___ Python-

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The monkey-patched version breaks the auto-close on __del__ feature: Files were closed. Just with a warning. I consider this as an enhancement. If you don't close file explicitly you will get a leak on non-refcounted Python implementations. It's true for b

[issue1575020] Request wave support > 16 bit samples

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Add support for 24-bit samples in the audioop module ___ Python tracker ___ ___ Pyth

[issue12866] Add support for 24-bit samples in the audioop module

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately Peter's file is not ready for release. It adds support of 24-bit samples only to the part of functions, it works only on little-endian platform, it should crash on platforms which not allows non-aligned access, and I suspect it can overflow out

[issue18931] new selectors module should support devpoll on Solaris

2013-09-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch is in attachment. -- keywords: +patch Added file: http://bugs.python.org/file31618/devpoll.patch ___ Python tracker ___ ___

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2013-09-05 Thread Meador Inge
Meador Inge added the comment: The monkey-patched version breaks the auto-close on __del__ feature: [meadori@li589-207 cpython]$ ./python Python 3.4.0a1+ (default:c41c68a18bb6, Sep 5 2013, 17:51:03) [GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux Type "help", "copyright", "credits" or "licens

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: LGTM. But I would move "import selectors" in multiprocessing.connection to just before the definition of wait() for Unix. It is not needed on Windows and unnecessary imports slow down start up of new processes. -- __

[issue18933] Add link to source code in logging documentation

2013-09-05 Thread Jonathan Frere
Jonathan Frere added the comment: Well, if all the modules could link back to source code, that would be ideal, it's just the logging happens to be the one that I keep coming back to. Encouraging users to read the source will hopefully help people understand the modules they're using conceptu

[issue16853] add a Selector to the select module

2013-09-05 Thread Charles-François Natali
Charles-François Natali added the comment: > Richard Oudkerk added the comment: > > Even with edge-triggered notification, doesn't registering an fd check > the current readiness: Hum... Looks like I forgot to turn my brain on this morning :-) -- ___

[issue1575020] Request wave support > 16 bit samples

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue1575020] Request wave support > 16 bit samples

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18934] multiprocessing: use selectors module

2013-09-05 Thread Charles-François Natali
New submission from Charles-François Natali: Here's a patch. -- components: Library (Lib) files: selectors_multiprocessing.diff keywords: needs review, patch messages: 197012 nosy: neologix, sbt priority: normal severity: normal stage: patch review status: open title: multiprocessing: us

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker ___ _

[issue18935] test_regrtest.test_timeout failure

2013-09-05 Thread Charles-François Natali
New submission from Charles-François Natali: http://buildbot.python.org/all/builders/AMD64 Fedora without threads 3.x/builds/5074/steps/test/logs/stdio """ == FAIL: test_timeout (test.test_regrtest.ParseArgsTestCase) ---

[issue18924] Enum members are easily replaced

2013-09-05 Thread Eli Bendersky
Eli Bendersky added the comment: On Wed, Sep 4, 2013 at 3:05 PM, Ethan Furman wrote: > > Ethan Furman added the comment: > > Yes, as a matter of fact: > > --> Test.this > > --> Test.this = 'other' > --> Test.this > 'other' > --> Test('that') > > --> list(Test) > [] > > As you can see, the Tes

[issue12704] Language Reference: Clarify behaviour of yield when generator is not resumed

2013-09-05 Thread Eli Bendersky
Eli Bendersky added the comment: On Wed, Sep 4, 2013 at 5:27 PM, Nikolaus Rath wrote: > > Nikolaus Rath added the comment: > > On 09/04/2013 06:03 AM, Eli Bendersky wrote: > > Why guess... did you try it in the code? > > I don't follow... why guess what? And try what in code? > I was referring

[issue18933] Add link to source code in logging documentation

2013-09-05 Thread Vinay Sajip
Vinay Sajip added the comment: Why for the logging module in particular? This isn't the norm for stdlib packages, AFAIK. The logging documentation (both tutorial and reference) is supposed to stand on its own, and in general I don't expect documentation users to (have to) look at the source t

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I rather prefer adding new tests. -- Added file: http://bugs.python.org/file31615/fix_error_message_reader_csv_alternative_1_v6.patch ___ Python tracker

[issue18672] Fix format specifiers for debug output in _sre.c

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18672] Fix format specifiers for debug output in _sre.c

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99310e5e1b1c by Serhiy Storchaka in branch '3.3': Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in http://hg.python.org/cpython/rev/99310e5e1b1c New changeset c41c68a18bb6 by Serhiy Storchaka in branch 'default': Issue #18

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nicola and Berker. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset e81699a6390c by Serhiy Storchaka in branch 'default': Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write http://hg.python.org/cpython/rev/e81699a6390c -- nosy: +python-dev ___ Pytho

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-09-05 Thread Vajrasky Kok
Vajrasky Kok added the comment: Same as fix_error_message_reader_csv_alternative_1_v4.patch (by Serhiy), but I removed unused variables in the test. -- Added file: http://bugs.python.org/file31614/fix_error_message_reader_csv_alternative_1_v5.patch

[issue18830] Remove duplicates from a result of getclasstree()

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18878] Add support of the 'with' statement to sunau.open.

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18830] Remove duplicates from a result of getclasstree()

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39d0dfa5808c by Serhiy Storchaka in branch '3.3': Issue #18830: inspect.getclasstree() no more produces duplicated entries even http://hg.python.org/cpython/rev/39d0dfa5808c New changeset 86ab7b7c173e by Serhiy Storchaka in branch 'default': Issue #

[issue18709] SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238)

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90040e560527 by Christian Heimes in branch '3.3': Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case http://hg.python.org/cpython/rev/90040e560527 New changeset 4e93f32176fb by Christian Heimes in b

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Nicola Palumbo
Changes by Nicola Palumbo : Removed file: http://bugs.python.org/file31590/issue18922.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18933] Add link to source code in logging documentation

2013-09-05 Thread Jonathan Frere
New submission from Jonathan Frere: The logging module documentation is probably best accompanied by the source that it is meant to be documenting. Could a link to either the package directory (http://hg.python.org/cpython/file/2.7/Lib/logging/) or the __init__.py file in that directory (htt

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Nicola Palumbo
Changes by Nicola Palumbo : Added file: http://bugs.python.org/file31613/issue18922.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18878] Add support of the 'with' statement to sunau.open.

2013-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset a62f59667c9e by Serhiy Storchaka in branch 'default': Issue #18878: sunau.open now supports the context manager protocol. Based on http://hg.python.org/cpython/rev/a62f59667c9e -- nosy: +python-dev ___ P

[issue18829] csv produces confusing error message when passed a non-string delimiter

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A comment in csv.py says about compatibility with 2.3! After adding ValueError to the list of catched exceptions we can keep this compatibility for future generations. Here is a patch. I also have resorted the tests a little. -- Added file: http://b

[issue16853] add a Selector to the select module

2013-09-05 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 05/09/2013 9:28am, Charles-François Natali wrote: > As a side note, in the general case, there's more than a performance > optimization: the problem with unregister() + register() vs a real > modify (e.g. EPOLL_CTL_MOD) is that it's subject to a race conditio

[issue18923] Use the new selectors module in the subprocess module

2013-09-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: It's likely that asyncore won't be able to take any practical advantage from this integration. To say one, epoll()/kqueue() pollers won't bring any speedup over select()/poll() because of how asyncore.loop() function is implemented (see http://bugs.python.

[issue18856] Added test coverage for calendar print functions

2013-09-05 Thread Madison May
Madison May added the comment: At Ezio suggestion, I've updated the patch to use test.support.captured_stdout(). -- Added file: http://bugs.python.org/file31611/calendar_print_v2.diff ___ Python tracker __

[issue18923] Use the new selectors module in the subprocess module

2013-09-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file31185/tkinter_string_conv.patch ___ Python tracker ___ ___ Python-bugs-

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file31592/tkinter_string_conv_2.patch ___ Python tracker ___ ___ Python-bug

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Previous patch has a regression, it breaks decoding NUL which Tcl encodes in "modified" UTF-8 as \xc0\x80. However this part of code already broken, because it handles only singular NUL and not a NUL embedded in larger string. Here is a patch which also fixe

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2013-09-05 Thread Meador Inge
Meador Inge added the comment: I was experimenting with something similar to what Jakub has. Rebinding the call the the wrapper seems like a simple and clean way to do it. Although, I wasn't absolutely sure whether this approach covers all cases. -- _

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31608/temp_dir_exists_retry_test_27.patch ___ Python tracker ___ ___ Pytho

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31609/temp_dir_exists_retry_27.patch ___ Python tracker ___ ___ Python-bug

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31607/temp_dir_exists_retry_33_34.patch ___ Python tracker ___ ___ Python-

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31606/temp_dir_exists_retry_test_33_34.patch ___ Python tracker ___ ___ P

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31602/temp_dir_exists_retry_33_34.patch ___ Python tracker ___ ___ Pytho

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31604/temp_dir_exists_retry_test_27.patch ___ Python tracker ___ ___ Py

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31605/temp_dir_exists_retry_27.patch ___ Python tracker ___ ___ Python-b

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31601/temp_dir_exists_retry_test_33_34.patch ___ Python tracker ___ ___

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31602/temp_dir_exists_retry_33_34.patch ___ Python tracker ___ ___ Python-

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2013-09-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31604/temp_dir_exists_retry_test_27.patch ___ Python tracker ___ ___ Pytho

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31605/temp_dir_exists_retry_27.patch ___ Python tracker ___ ___ Python-bug

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2013-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one way is just remove __del__() and monkey-patch underlied file. -- Added file: http://bugs.python.org/file31603/tempfile_simplify.patch ___ Python tracker _

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Added file: http://bugs.python.org/file31601/temp_dir_exists_retry_test_33_34.patch ___ Python tracker ___ ___ P

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31579/temp_dir_exists_retry_test_33_34.patch ___ Python tracker ___ ___

[issue18849] Failure to try another name for tempfile when directory with chosen name exists on windows

2013-09-05 Thread Vlad Shcherbina
Changes by Vlad Shcherbina : Removed file: http://bugs.python.org/file31573/temp_dir_exists_retry_27.patch ___ Python tracker ___ ___ Python-b

  1   2   >