[issue6407] multiprocessing Pool should allow custom task queue

2011-11-22 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6407] multiprocessing Pool should allow custom task queue

2011-11-22 Thread Sterling Windmill
Sterling Windmill added the comment: I would also like to see this functionality as I'm currently using more memory than I'd like when using multiprocessing.Pool -- nosy: +swindmill ___ Python tracker

[issue13439] turtle docstring for onkeyrelease references onkey, not onkeyrelease

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen added the comment: onkey and onkeyrelease are the same function, so you still get exactly the same behavior with the example in the docstring. This also makes it hard to have different docstrings for them. Closing as wontfix. -- assignee: -> docs@python components: +D

[issue13439] turtle docstring for onkeyrelease references onkey, not onkeyrelease

2011-11-22 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-22 Thread Tyler Starke
Tyler Starke added the comment: Nevermind. I had to download the source to see that it encodes to 'utf-8', or a passed encoding method, in the methods that are causing problems in 2.6.5. -- ___ Python tracker ___

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-22 Thread Tyler Starke
Tyler Starke added the comment: well that was closed fast. I noticed in the docs that Python 3 demands a str type also. -- ___ Python tracker ___ __

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-22 Thread R. David Murray
R. David Murray added the comment: I suspect you want to be using Python3, then. Although it is nowhere near as simple as that...even with Python3 you still sometimes have to deal with the fact that the wire protocol is bytes. -- nosy: +r.david.murray resolution: -> out of date stat

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-22 Thread Tyler Starke
New submission from Tyler Starke : It seems bad practice for urllib methods to demand a str instance and they should demand a unicode instance. By demanding a str instance the default behavior is too demanding, for the web space it is being used, for the English language. We would want Python

[issue13459] logger.propagate=True behavior clarification

2011-11-22 Thread Mike Fogel
New submission from Mike Fogel : Hi, there's been a fair amount of confusion over the interaction between logger.propagate and the ancestor logger's handlers and level. http://bugs.python.org/issue7535 http://bugs.python.org/issue8327 http://bugs.python.org/issue9606 I think most this confusio

[issue11682] PEP 380 reference implementation for 3.3

2011-11-22 Thread Nick Coghlan
Nick Coghlan added the comment: *Any* expression can be used as a standalone statement and (since PEP 352 was implemented) that now applies to 'yield' as well. PEP 352 fundamentally changed the way yield was conceptualised within the language - thinking of it as "a statement that can be used

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed, thank you. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80d491aaeed2 by Antoine Pitrou in branch '3.2': Issue #13458: Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName. http://hg.python.org/cpython/rev/80d491aaeed2 New changeset 3b5fef34c8c7 by Antoine Pitrou in bran

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Nick Coghlan
Nick Coghlan added the comment: Documenting the tracker UI itself isn't the big issue - what is useful (and what I think Ezio is getting at) is having a single place where newcomers can get a better idea of how we *use* the tracker. If someone just wants to report a bug, then sure, they shoul

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-22 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, my initial reaction is that that specific wording is stronger than I had in mind - there's nothing really wrong with having a shebang line and execute bit set on a top level module and symlinking it from /usr/bin. The problem is that we're doing those thin

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Here is an updated patch (pipe_poll_fix.patch) which should be applied > on top of sigint_event.patch. > > It fixes the problems with PipeConnection.poll() and Queue.empty() and > makes PipeListener.accept() use overlapped I/O. This should make all > the pip

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Robert Xiao
Robert Xiao added the comment: Also applies to Python 2.7. -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list maili

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Robert Xiao
Robert Xiao added the comment: Attaching patch. -- keywords: +patch Added file: http://bugs.python.org/file23760/ssl.patch ___ Python tracker ___ ___

[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think closing stdout is a legitimate desire so, yes, I would consider it a bug if we print an error in that case. A patch could either first check the "closed" attribute, or silence the ValueError. -- stage: -> needs patch type: -> behavior versio

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Robert Xiao
New submission from Robert Xiao : _ssl.c has a memory leak in _get_peer_alt_names. The `names' object is initialized here: Modules/_ssl.c:601: if (method->it) names = (GENERAL_NAMES*) (ASN1_item_d2i(NULL, &p,

[issue11682] PEP 380 reference implementation for 3.3

2011-11-22 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: Updated doc patch 0001-2.diff: following ncoghlan's request, the bulk of yield documentation is kept in expressions.rst, and simple_stmts.rst mostly refers to the other one. (In previous version it was the other way around). After doing this change, I still th

[issue13405] Add DTrace probes

2011-11-22 Thread Chris Miles
Changes by Chris Miles : -- nosy: -chrismiles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: - Added documentación. - Change "sys.trace_capabilities" to an external "dtrace" extension module. I don't care about Sun/Apple compatibility. The new probes are far more extensive, and they should be the new standard. The code is tested under Solaris 10 x8

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file23756/750ca6da48f3.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file23758/a9f4ae43fd85.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13415] del os.environ[key] ignores errors

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: Oh, it looks like unsetenv() has no return value on Mac OS X Tiger: http://www.python.org/dev/buildbot/all/builders/PPC%20Tiger%202.7/builds/100/steps/compile/logs/stdio ./Modules/posixmodule.c: In function 'posix_unsetenv': ./Modules/posixmodule.c:7052: error

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-22 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%202.7/builds/732/steps/test/logs/stdio test test_telnetlib failed -- Traceback (most recent call last): File "/export/home/buildbot/64bits/2.7.cea-indiana-amd64/build/Lib/test/test_telnetlib

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-11-22 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.x/builds/2435/steps/test/logs/stdio Re-running test 'test_poplib' in verbose mode test_apop (test.test_poplib.TestPOP3Class) ... ok test_dele (test.test_poplib.TestPOP3Class) ... ok test_exce

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%202.7/builds/405/steps/test/logs/stdio -- ___ Python tracker ___

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: test_urllib2net test test_urllib2net failed -- Traceback (most recent call last): File "/usr/home/buildbot/buildarea/2.7.krah-freebsd/build/Lib/test/test_urllib2net.py", line 195, in test_sites_no_connection_close req = urllib2.urlopen(URL) File "/usr/

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e5506d9a079 by Victor Stinner in branch '3.2': Issue #13436: Fix unsetenv() test on Windows http://hg.python.org/cpython/rev/2e5506d9a079 New changeset 029ad97883ef by Victor Stinner in branch 'default': (Merge 3.2) Issue #13436: Fix unsetenv() te

[issue13415] del os.environ[key] ignores errors

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e892f428278 by Victor Stinner in branch '3.2': Issue #13415: os.unsetenv() doesn't ignore errors anymore. http://hg.python.org/cpython/rev/3e892f428278 New changeset aa55b7dc43f7 by Victor Stinner in branch 'default': (Merge 3.2) Issue #13415: os.

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I fixed the bogus error message, but "level=None" is still not allowed, whereas the docs promise that optional values can be None. -- ___ Python tracker ___

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffcdfc534942 by Amaury Forgeot d'Arc in branch '3.2': Issue #13436: Fix a bogus error message when an AST object was passed http://hg.python.org/cpython/rev/ffcdfc534942 New changeset 470f7d7c57ce by Amaury Forgeot d'Arc in branch '3.2': Issue #134

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: > I'm only using the function with the NULL error handler. I don't think that anyone uses it without something else. The function is used to prepare a string input for a function converting a string to an integer. I don't see how xmlcharrefreplace can be usef

[issue13457] Display module name as string in `ImportError`

2011-11-22 Thread Ram Rachum
Changes by Ram Rachum : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-11-22 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13457] Display module name as string in `ImportError`

2011-11-22 Thread Brian Curtin
Brian Curtin added the comment: 3.3 will be adding an attribute which would have "datetime\r" here. See #1559549, which might make this a duplicate. You shouldn't (have to) rely on parsing the exception string. -- nosy: +brian.curtin ___ Python tra

[issue13457] Display module name as string in `ImportError`

2011-11-22 Thread Ram Rachum
Changes by Ram Rachum : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13457] Display module name as string in `ImportError`

2011-11-22 Thread Ram Rachum
New submission from Ram Rachum : Recently I was confronted with a mysterious error: ImportError: No module named datetime Firther investigation revealed that the cause was a pickling problem that ran `__import__('datetime\r')`. If `ImportError` would have shown the module name as a string

[issue13425] http.client.HTTPMessage.getallmatchingheaders() always returns []

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen added the comment: 4) Deprecate the function to be removed in 3.4 or 3.5 and "fix" it to always return []. This way we won't break any 3.0-3.2 code that is using the function, but the users of such code will start to get DeprecationWarnings in 3.3. There's no meaningful way to

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen added the comment: It seems to me there's not that much text on how the tracker itself works. Only sections "Checking if a bug already exists" and "Reporting an issue" have this kind of information. The text in these sections seems to be mostly from http://docs.python.org/bugs.

[issue13456] Providing a custom HTTPResponse class to HTTPConnection

2011-11-22 Thread R. David Murray
New submission from R. David Murray : The doc string for HTTPConnection.getresponse mentions (in broken English) that the instance's response_class attribute determines what class gets instantiated for a response. The docs do not mention this attribute, nor any other way to control what class

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the reason these docs are scattered is that the devguide is a guide, not a reference manual. I don't think this patch makes sense: if the tracker really needed so much text to explain how it works, then the tracker would have a severe UI problem. Most

[issue13156] _PyGILState_Reinit assumes auto thread state will always exist which is not true.

2011-11-22 Thread Charles-François Natali
Charles-François Natali added the comment: Alright, should be fixed now. Graham, thanks for the report! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue13156] _PyGILState_Reinit assumes auto thread state will always exist which is not true.

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba90839c4993 by Charles-François Natali in branch '3.2': Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the http://hg.python.org/cpython/rev/ba90839c4993 New changeset aa6ce09d2350 by Charles-François Natali in branch '

[issue12156] test_multiprocessing.test_notify_all() timeout (1 hour) on FreeBSD 7.2

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed2d3680f489 by Charles-François Natali in branch '2.7': Issue #12156: Skip test_multiprocessing on systems which don't support enough http://hg.python.org/cpython/rev/ed2d3680f489 New changeset 311bb5e65b02 by Charles-François Natali in branch '3.

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52fecdc1c5d8 by Charles-François Natali in branch 'default': Issue #13093: Perform a real merge. http://hg.python.org/cpython/rev/52fecdc1c5d8 -- ___ Python tracker _

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Ezio Melotti
New submission from Ezio Melotti : The documentation about the bug tracker is sparse in a few different places. The devguide contains 4 pages: 1. http://docs.python.org/devguide/helptriage.html 2. http://docs.python.org/devguide/devrole.html 3. http://docs.python.org/devguide/triaging.html

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-22 Thread akira
akira <4kir4...@gmail.com> added the comment: TypeError tests can check that an implementation raises a correct exception type i.e., it doesn't raise ValueError prematurely on invalid format_string without checking that there is mapping argument. METH_O does it for CPython. I'm not sure how ot

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-22 Thread Guido van Rossum
Guido van Rossum added the comment: Are you sure? The way I read the PEP, it just said that str(cls) and str(func) should *use* qualname. That could mean returning '' or ''. On Tue, Nov 22, 2011 at 7:27 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > > PEP 3155 is accepted and mak

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: - Line tracing is more efficient and corretly skip the last body line when the loop is done. - Trace new style classes deletion. - When creating new style classes, ignore internal classes. Show only user defined classes. - Solve a possible crash if we are

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file23749/c64a284f4309.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file23756/750ca6da48f3.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13454] crash when deleting one pair from tee()

2011-11-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Also, a check for NULL would not hurt in tee_next(): diff -r 1e0e821d2626 Modules/itertoolsmodule.c --- a/Modules/itertoolsmodule.c Fri Nov 04 22:17:45 2011 +0100 +++ b/Modules/itertoolsmodule.c Tue Nov 22 17:24:42 2011 +0100 @@ -475,6 +475,8 @@ if

[issue13454] crash when deleting one pair from tee()

2011-11-22 Thread Ezio Melotti
Ezio Melotti added the comment: Confirmed on py3k, it doesn't seem to happen with smaller values. -- components: +Extension Modules nosy: +ezio.melotti, rhettinger stage: -> test needed versions: +Python 3.3 ___ Python tracker

[issue13454] crash when deleting one pair from tee()

2011-11-22 Thread STINNER Victor
STINNER Victor added the comment: tee() uses a linked-list of teedataobject. This list is destroyed by recursive calls to teedataobject_dealloc(). Extract of the gdb trace: #5 0x08171a8e in teedataobject_clear (tdo=0xad21b394) at ./Modules/itertoolsmodule.c:412 #6 0x08171b39 in teedataobje

[issue13454] crash when deleting one pair from tee()

2011-11-22 Thread Pyry Pakkanen
New submission from Pyry Pakkanen : Running the following results in a Segmentation fault on Ubuntu 11.10 64-bit with both python and python3. from itertools import * c = count() a,b = tee(c) for i in range(1000): next(a) del(b) -- messages: 148124 nosy: PyryP priority: normal sev

[issue3932] HTMLParser cannot handle '&' and non-ascii characters in attribute names

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: +1 on refusing the temptation to guess and to be half-working for some cases by accident. -- ___ Python tracker ___ __

[issue13224] Change str(x) to return only __qualname__ for some types

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: PEP 3155 is accepted and makes str(cls) and str(function) as well as repr(cls) and repr(function) return the qualified name, which obsoletes part of this request. I haven’t checked if it has the same problem with Python methods. str(module) is not changed by t

[issue13448] PEP 3155 implementation

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: Nothing to say; waiting for a doc update. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs

[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

2011-11-22 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13443] wrong links and examples in the functional HOWTO

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: Broken links should obviously be fixed, either to their newer location if it can be found or to Web Archive links. I think that it’s a good thing to link to some outside articles and code from the official docs; we acknowledge that the stdlib is not the whole of

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: +1 -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue12424] distutils2: extension section uses bad environment marker separator

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: Does your latest patch address my second review? -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: Patch to PEP 8 attached. -- Added file: http://bugs.python.org/file23755/pep8-shebangs.diff ___ Python tracker ___ ___

[issue13453] Tests and network timeouts

2011-11-22 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
New submission from STINNER Victor : A lot of tests using the network are failing sometimes. They look like timeout or network failure. Example: == ERROR: test_storlines (test.test_ftplib.TestTLS_FTPClassMixin) ---

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread Stefan Krah
Stefan Krah added the comment: I'm only using the function with the NULL error handler. If I had to use 'xmlcharrefreplace', presumably I'd overallocate 'output' for the worst case scenario: sizeof("�") per encoded character. It's hard to tell if people are using this feature. PyUnicode_EncodeD

[issue12759] "(?P=)" input for Tools/scripts/redemo.py raises unnhandled exception

2011-11-22 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the patch! The patch should also include tests for this case in Lib/test/test_re.py -- components: +Regular Expressions stage: needs patch -> test needed ___ Python tracker

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think the existing tests have any value. I might leave one of them, but I think I'll just use your new tests instead. akira: I'd like to add your name to the Misc/ACKS file, if it's not already there. What's your full name? Thanks for the bug report a

[issue13245] sched.py kwargs addition and default time functions

2011-11-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Checked in as f1a21f2e3bec and dc52db0fa2e5. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread STINNER Victor
New submission from STINNER Victor : Error handling of PyUnicode_EncodeDecimal() is broken by design. The caller cannot know the size of the output buffer because each error handler produce a variable output, whereas the caller has to allocate this buffer and it is not possible to specify the

[issue13425] http.client.HTTPMessage.getallmatchingheaders() always returns []

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen added the comment: getallmatchinheaders() is not documented, i.e. it's not part of the public API. Furthermore, it's only used by http.server.CGIHTTPRequestHandler, and the comment above it even says that it should be moved there. There are three options now: 1) Document the fu

[issue13245] sched.py kwargs addition and default time functions

2011-11-22 Thread Mark Dickinson
Mark Dickinson added the comment: +1 to kwargs support in sched. I've also ended up modifying sched.py to support this in the past. -- nosy: +mark.dickinson ___ Python tracker ___

[issue13425] http.client.HTTPMessage.getallmatchingheaders() always returns []

2011-11-22 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13451] sched.py: speedup cancel() method

2011-11-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: In attachment. Before the patch: 9.433167934417725 After the patch: 0.0016150474548339844 scheduler.queue and scheduler.empty should be modified in accordance (which I haven't done, it's just to give you an idea). -- Added file: http://bugs.pyth