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

2011-11-22 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com 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

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

2011-11-22 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13425 ___ ___ Python-bugs-list

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

2011-11-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 rep...@bugs.python.org

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

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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)

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: 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

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

2011-11-22 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Checked in as f1a21f2e3bec and dc52db0fa2e5. Thanks. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13245

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

2011-11-22 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com 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

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

2011-11-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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(#4294967295) per encoded character. It's hard to tell if people are

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: A lot of tests using the network are failing sometimes. They look like timeout or network failure. Example: == ERROR: test_storlines

[issue13453] Tests and network timeouts

2011-11-22 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13453 ___ ___

[issue10318] make altinstall installs many files with incorrect shebangs

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

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

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Does your latest patch address my second review? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12424 ___

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

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +1 -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13440 ___ ___

[issue13443] wrong links and examples in the functional HOWTO

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-11-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6135 ___ ___ Python-bugs-list

[issue13448] PEP 3155 implementation

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nothing to say; waiting for a doc update. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448 ___

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

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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)

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

2011-11-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +1 on refusing the temptation to guess and to be half-working for some cases by accident. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3932

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

2011-11-22 Thread Pyry Pakkanen
New submission from Pyry Pakkanen frostb...@suomi24.fi: 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

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

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-11-22 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23756/750ca6da48f3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23749/c64a284f4309.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

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

2011-11-22 Thread Guido van Rossum
Guido van Rossum gu...@python.org 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 'function f.g.h at 0x1234' or 'class '__main__.C.D'. On Tue, Nov 22, 2011 at 7:27 AM, Éric Araujo

[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

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: 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.

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[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 neolo...@free.fr added the comment: Alright, should be fixed now. Graham, thanks for the report! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue13456] Providing a custom HTTPResponse class to HTTPConnection

2011-11-22 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: 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

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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

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

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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

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

2011-11-22 Thread Ram Rachum
New submission from Ram Rachum r...@rachum.com: 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

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

2011-11-22 Thread Ram Rachum
Changes by Ram Rachum r...@rachum.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13457 ___ ___ Python-bugs-list mailing

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

2011-11-22 Thread Brian Curtin
Brian Curtin br...@python.org 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

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

2011-11-22 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- assignee: - brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10854 ___ ___

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

2011-11-22 Thread Ram Rachum
Changes by Ram Rachum r...@rachum.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13457 ___ ___ Python-bugs-list

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-11-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 rep...@bugs.python.org

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

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 =

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org http://bugs.python.org/issue13453

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-11-22 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10854 ___ ___ Python-bugs-list

[issue13453] Tests and network timeouts

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-11-22 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13224 ___ ___ Python-bugs-list

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

2011-11-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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':

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23758/a9f4ae43fd85.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23756/750ca6da48f3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2011-11-22 Thread Chris Miles
Changes by Chris Miles miles.ch...@gmail.com: -- nosy: -chrismiles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue11682] PEP 380 reference implementation for 3.3

2011-11-22 Thread Zbyszek Szmek
Zbyszek Szmek zbys...@in.waw.pl 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

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Robert Xiao
New submission from Robert Xiao nneon...@gmail.com: _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,

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

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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: -

[issue13458] _ssl memory leak in _get_peer_alt_names

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

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Robert Xiao
Robert Xiao nneon...@gmail.com added the comment: Also applies to Python 2.7. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13458 ___

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13458 ___ ___ Python-bugs-list

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue10318] make altinstall installs many files with incorrect shebangs

2011-11-22 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue13455] Reorganize tracker docs in the devguide

2011-11-22 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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,

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue13458] _ssl memory leak in _get_peer_alt_names

2011-11-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch committed, thank you. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13458

[issue11682] PEP 380 reference implementation for 3.3

2011-11-22 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue13459] logger.propagate=True behavior clarification

2011-11-22 Thread Mike Fogel
New submission from Mike Fogel m...@fogel.ca: 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

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

2011-11-22 Thread Tyler Starke
New submission from Tyler Starke prof.eb...@gmail.com: 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.

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

2011-11-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2011-11-22 Thread Tyler Starke
Tyler Starke prof.eb...@gmail.com added the comment: well that was closed fast. I noticed in the docs that Python 3 demands a str type also. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13460

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

2011-11-22 Thread Tyler Starke
Tyler Starke prof.eb...@gmail.com 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

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

2011-11-22 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13439 ___ ___ Python-bugs-list

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

2011-11-22 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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

[issue6407] multiprocessing Pool should allow custom task queue

2011-11-22 Thread Sterling Windmill
Sterling Windmill sterl...@ampx.net 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 rep...@bugs.python.org

[issue6407] multiprocessing Pool should allow custom task queue

2011-11-22 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6407 ___ ___ Python-bugs-list