[issue7644] bug in nntplib.body() method with possible fix

2012-02-13 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Looking into the source code of nntplib, I'd claim this bug isn't valid anymore? At least the file is opened in binary mode now – see Lib/nntplib.py:462 In any case, we have a test suite now. -- nosy: +hynek versions: +Python 3.3 -Python

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: (I'm adding Antoine to the noisy list). You could maybe try building with '--without-pymalloc', and run under valgrind (--suppressions=Misc/valgrind-python.supp), see

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2012-02-13 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13997 ___ ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: FWIW the JSON doc doesn't even mention the acceleration module _json, but since people here are used to import cElementTree I think it should be mentioned that it's now deprecated and accelerations are used automatically, so something like

[issue13993] Handling of broken end tags in HTMLParser

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset df5e5eea7833 by Ezio Melotti in branch '3.2': #13993: HTMLParser is now able to handle broken end tags when strict=False. http://hg.python.org/cpython/rev/df5e5eea7833 New changeset 2e66baa1d86a by Ezio Melotti in

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2012-02-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13997 ___ ___

[issue14000] Subprocess stdin.flush does not flush

2012-02-13 Thread Andrew Moffat
New submission from Andrew Moffat andrew.robert.mof...@gmail.com: The following code only works if the p.stdin.close() line is uncommented. It seems that stdin only flushes to the process on stdin.close(), not on stdin.flush(). --- import subprocess as subp

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 65fc79fb4eb2 by Florent Xicluna in branch 'default': Issue #13988: cElementTree is deprecated and the _elementtree accelerator is automatically used whenever available. http://hg.python.org/cpython/rev/65fc79fb4eb2

[issue8739] Update to smtpd.py to RFC 5321

2012-02-13 Thread Catalin Iacob
Changes by Catalin Iacob iacobcata...@gmail.com: -- nosy: +catalin.iacob ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e9cf34d56ff1 by Florent Xicluna in branch 'default': Fix xml_etree_c test error (follow up of issue #13988). http://hg.python.org/cpython/rev/e9cf34d56ff1 -- ___ Python

[issue6721] Locks in python standard library should be sanitized on fork

2012-02-13 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721 ___ ___ Python-bugs-list

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2012-02-13 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: This issue was too broad. The new patch is focussed on sys.exc_info. All hints of coroutines have been removed and f_yieldfrom is untouched. New patch reduces code by 65 lines and does not conflict with issue 13607. -- title: Move fields

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2012-02-13 Thread Mark Shannon
Changes by Mark Shannon m...@hotpy.org: Removed file: http://bugs.python.org/file24350/coro.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13897 ___

[issue13991] namespace packages depending on order

2012-02-13 Thread andrea crotti
andrea crotti andrea.crott...@gmail.com added the comment: I reopen the ticket because I'm still not convinced.. I tried to substitute the setuptools namespace declaration with the more standard python: from pkgutil import extend_path __path__ = extend_path(__path__, __name__) It behaves

[issue13986] ValueError: cannot convert float NaN to integer

2012-02-13 Thread Shivam
Shivam shivam.agar...@aricent.com added the comment: Hi Terry, Thanks for your reply. I am made changes suggested by you but still getting the same error: Below is the change that have been made: try: local_var = (os.fstat(f.fileno()).st_mtime) -- added line

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Unfortunately, my application is running so slow under valgrind that behavior is changing, namely the sockets are all timing out. -- ___ Python tracker rep...@bugs.python.org

[issue8739] Update to smtpd.py to RFC 5321

2012-02-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Gah, that's what I get for trying to do something quick. By changing the name of that variable I introduced a backward incompatibility, since that change was released in 3.2. -- ___ Python

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Now the merge is done. Thank you Eli for the effort, and to the other contributors for the review. Following topics may need further work: - add a Deprecation warning for cElementTree? it will annoy the package maintainers which

[issue13986] ValueError: cannot convert float NaN to integer

2012-02-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It's going to be tricky for any of the core Python developers to solve this based on the current level of information---unless anyone has access to a MIPs machine and can reproduce the error, that is. Can you find a local expert who knows

[issue3905] subprocess failing in GUI applications on Windows

2012-02-13 Thread Tim Lesher
Changes by Tim Lesher tles...@gmail.com: -- nosy: +tlesher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3905 ___ ___ Python-bugs-list mailing

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Jan Lieskovsky
New submission from Jan Lieskovsky ian...@seznam.cz: A denial of service flaw was found in the way Simple XML-RPC Server module of Python processed client connections, that were closed prior the complete request body has been received. A remote attacker could use this flaw to cause Python

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___ ___ Python-bugs-list

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Unfortunately, my application is running so slow under valgrind that behavior is changing, namely the sockets are all timing out. Did you see any invalid read/write? By the way, a google search returned me this:

[issue13991] namespace packages depending on order

2012-02-13 Thread andrea crotti
Changes by andrea crotti andrea.crott...@gmail.com: -- resolution: invalid - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13991 ___ ___

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, loewis stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: and I do occasionally use PyThreadState_SetAsyncExc to asynchronously terminate threads. Did you write an extension module for this? It is possible that there is a refcount error there. -- nosy: +amaury.forgeotdarc

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Jan Lieskovsky
Jan Lieskovsky ian...@seznam.cz added the comment: CVE request: [2] http://www.openwall.com/lists/oss-security/2012/02/13/3 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___

[issue13960] Handling of broken comments in HTMLParser

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 333e3acf2008 by Ezio Melotti in branch '2.7': #13960: HTMLParser is now able to handle broken comments. http://hg.python.org/cpython/rev/333e3acf2008 -- ___ Python

[issue13960] Handling of broken comments in HTMLParser

2012-02-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I now backported this to 2.7, together with some improvements in the handling of declarations that I committed on 3.2 (4c4ff9fd19b6) and 3.3 (06a6fed0da56). Apparently ! is not a valid comment in HTML5, but it is considered a bogus comment

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +XML nosy: +flox versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___

[issue13993] Handling of broken end tags in HTMLParser

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a349448474ea by Ezio Melotti in branch '2.7': #13993: HTMLParser is now able to handle broken end tags. http://hg.python.org/cpython/rev/a349448474ea -- ___ Python

[issue13993] Handling of broken end tags in HTMLParser

2012-02-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This is now fixed. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13993

[issue13607] Move generator specific sections out of ceval.

2012-02-13 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: Why do the codes used internally by ceval have to be the same as those made public? Have you considered returning the exit code directly, rather than adding another field to frameobject? yieldfrom can be handled in a similar way to yield by

[issue13903] New shared-keys dictionary implementation

2012-02-13 Thread Mark Shannon
Changes by Mark Shannon m...@hotpy.org: Added file: http://bugs.python.org/file24510/691ce331f955.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13903 ___

[issue13903] New shared-keys dictionary implementation

2012-02-13 Thread Mark Shannon
Changes by Mark Shannon m...@hotpy.org: Removed file: http://bugs.python.org/file24465/e50db1b7ad7b.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13903 ___

[issue13979] Automatic *libc.so loading behaviour

2012-02-13 Thread Sébastien Barthélémy
Changes by Sébastien Barthélémy barthel...@crans.org: -- nosy: +sbarthelemy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13979 ___ ___

[issue10227] Improve performance of MemoryView slicing

2012-02-13 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Sure. Flagging this as fixed. Can´t close it until 10181 is closed due to some dependency thing. (perhaps someone else knows what to do?) -- resolution: - fixed ___ Python tracker

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-02-13 Thread Paul Moore
New submission from Paul Moore p.f.mo...@gmail.com: I created a bdist_wininst installer for distutils2 and installed it into my Python 2.7.2 installation. This is on Wondows, 32-bit. I then tried to do a simple install to test it was working. python -m distutils2.run install stemming Checking

[issue10227] Improve performance of MemoryView slicing

2012-02-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Great. I removed the dependency since it's fixed in both cpython and pep-3118. -- dependencies: -Problems with Py_buffer management in memoryobject.c (and elsewhere?) stage: - committed/rejected status: open - closed

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___ ___

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___ ___ Python-bugs-list

[issue14000] Subprocess stdin.flush does not flush

2012-02-13 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: This appears to be a buffering issue with the tr program. Replace with [cat, -] and it works whether the close() is in or not. To fix this, you need to open up the child process so that it is connected to a tty. man 4 pts if you want

[issue4966] Improving Lib Doc Sequence Types Section

2012-02-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file24511/0a49f6382467.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4966 ___

[issue8739] Update to smtpd.py to RFC 5321

2012-02-13 Thread Alberto Trevino
Alberto Trevino albe...@byu.edu added the comment: David, I'd be happy to help, but I'm pretty busy for the next month. I read the description of your patch, and it sounds good to me. Anything that moves the project forward is always welcomed. Thanks for your work on this. --

[issue13968] Support recursive globs

2012-02-13 Thread Yuval Greenfield
Yuval Greenfield ubershme...@gmail.com added the comment: I noticed this implementation on PyPI http://packages.python.org/rglob/ which sort of has rglob defined as def rglob(pattern, base='.'): Which seems like the most comprehensible way of doing this, though not the most compact. The

[issue8739] Update to smtpd.py to RFC 5321

2012-02-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK. Maybe someone else will want to work on it, too. I'll see if I can get it taken care of one way or another during the PyCon sprints. I'm going to mark this as easy, because really other than expanding test coverage I think the

[issue13998] Lookbehind assertions go behind the start position for the match

2012-02-13 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: The documentation says of the 'pos' parameter This is not completely equivalent to slicing the string and of the 'endpos' parameter it will be as if the string is endpos characters long. In other words, it starts searching at 'pos'

[issue13998] Lookbehind assertions go behind the start position for the match

2012-02-13 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: If it's intended behaviour, then I'd request that the documentation specifically mention lookbehind assertions the way it does with ^. Saying it's slightly different doesn't make clear the ways in which it is different, and that's

[issue13922] argparse handling multiple -- in args improperly

2012-02-13 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: See nargs=argparse.REMAINDER for an approach that doesn't require that first '--': http://docs.python.org/library/argparse.html#nargs But yeah, removing more than one '--' is probably a bug. Fixing it would be a little backwards

[issue14003] __self__ on built-in functions is not as documented

2012-02-13 Thread Роман Донченко
New submission from Роман Донченко dxdra...@yandex.ru: The language reference says this in section 3.2: ~ Built-in functions A built-in function object is a wrapper around a C function. Examples of built-in functions are len() and math.sin() ... Special read-only attributes: ... __self__

[issue14003] __self__ on built-in functions is not as documented

2012-02-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It looks like this changed between 2.x and 3.x but the docs were not updated. None makes more sense than the module as __self__, though, so perhaps it is actually a bug. Then, again, since Python functions don't have a __self__, the

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-13 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Apply! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13193 ___ ___ Python-bugs-list

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3925081a7ca0 by Nadeem Vawda in branch '2.7': Issue #13193: Fix distutils.filelist tests to always use / as path separator. http://hg.python.org/cpython/rev/3925081a7ca0 --

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-13 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: Hi, here's a patch with the changes proposed by Terry Cheers, francis -- keywords: +patch nosy: +francismb Added file: http://bugs.python.org/file24512/issue13579_80a50b7ad88f.patch ___

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-13 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Tests are failing on all the Windows buildbots (e.g. http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/5966/steps/test/logs/stdio ). The problem seems to be that the test in question is hardwired to expect / as the

[issue8739] Update to smtpd.py to RFC 5321

2012-02-13 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8739 ___ ___ Python-bugs-list mailing list

[issue7644] bug in nntplib.body() method with possible fix

2012-02-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: test_nntplib doesn't seem to exercise the second argument to body() (the file object). Perhaps you want to add a test for that? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue13229] Improve tools for iterating over filesystem directories

2012-02-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Not sure this is the right place to mention this, but I'm realizing handling symlink loops will be interesting. It is interesting because, when e.g. you are globbing, your glob's results may not include the symlinks' target path; so there are

[issue13229] Improve tools for iterating over filesystem directories

2012-02-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oh, forgot to mention, the term symlink loop itself is ambiguous. There are direct symlink loops: an example is a some_dir/linky link pointing to ../some_dir/linky. These will fail when resolving them. There are indirect symlink loops:

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: SimpleXMLRPCRequestHandler.do_POST() is simply looping on EOF. The patch attached fixes this (the server doesn't seem to generate an error in response to this partial request though). -- keywords: +patch nosy: +neologix Added

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-02-13 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6085 ___ ___ Python-bugs-list

[issue14003] __self__ on built-in functions is not as documented

2012-02-13 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: It's nicer for introspection if __self__ is None on builtin functions. But fixing the docs is easier (and more backwards compatible). -- nosy: +michael.foord ___ Python tracker

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2012-02-13 Thread Stephen Day
Stephen Day stevv...@gmail.com added the comment: I apologize for reopening this bug, but I find your interpretation to be inaccurate. While technically valid, the combination of the documentation, the function name and the main use cases yields pathological invocations of urlencode. My bug

[issue13703] Hash collision security issue

2012-02-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Dave Malcolm wrote: [new patch] Please change how the env vars work as discussed earlier on this ticket. Quick summary: We only need one env var for the randomization logic: PYTHONHASHSEED. If not set, 0 is used as seed. If set to a

[issue13968] Support recursive globs

2012-02-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: But I think I like this API better as it really is easier to explain. I think you got it wrong. Looking at the implementation, it is no different from the API proposed above, except that it also lets you choose the start dir. --

[issue14004] Distutils filelist selects too many files on Windows

2012-02-13 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: When using a MANIFEST.in with only include *.txt, on Windows, distutils grabs too many files. I set DISTUTILS_DEBUG=1 and ran ./setup.py sdist on the keyring library and it included this output: include *.txt include_pattern:

[issue14004] Distutils filelist selects too many files on Windows

2012-02-13 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14004 ___ ___ Python-bugs-list

[issue14004] Distutils filelist selects too many files on Windows

2012-02-13 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14004 ___ ___

[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The 2.7 patch needs to remove an existing python2 link before creating it. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12627

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2012-02-13 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___ Python-bugs-list mailing

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2012-02-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: What is the status of this issue? Is there still a fan of this issue motivated to write a PEP, a patch or something like that? -- ___ Python tracker rep...@bugs.python.org

[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001 ___

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: patch review - committed/rejected status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13930 ___

[issue14005] IDLE Crash when running/saving a file

2012-02-13 Thread Scott Bowman
New submission from Scott Bowman scott.thomas.bow...@gmail.com: Whenever I save or try to run a program from the text editor window, IDLE crashes. Any suggestions? I'm running Windows 7, btw. -- components: None messages: 153305 nosy: Scott.Bowman priority: normal severity: normal

[issue13951] Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-02-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Should it seg fault or just throw an exception? Python cannot do anything useful on such fatal error. In Python 3.3, there is a faulthandler module which can help to debug: it dumps the traceback of all threads on such fatal error.

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-13 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: oh did I miss a / vs os.sep somewhere? Looking. I'll fix this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13930 ___

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c861c0a7f40c by Victor Stinner in branch '3.2': Issue #13913: normalize utf-8 codec name in UTF-8 decoder http://hg.python.org/cpython/rev/c861c0a7f40c New changeset af1a9508f7fa by Victor Stinner in branch

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Use codecs.lookup(alias).name to the the normalize name of a codec. Examples: import codecs codecs.lookup('utf-8').name 'utf-8' codecs.lookup('iso-8859-1').name 'iso8859-1' codecs.lookup('latin1').name 'iso8859-1'

[issue13927] Extra spaces in the output of time.ctime

2012-02-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: asctime() docs say it's a 24 char string. I'm not sure that all platform conform to this specification... which is not future proof! $ ./python Python 3.3.0a0 (default:af1a9508f7fa, Feb 14 2012, 01:18:15) [GCC 4.6.2 20111027 (Red

[issue13927] Extra spaces in the output of time.ctime

2012-02-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Or you could give the strftime specification string that produces the equivalent output. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13927

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: I see no invalid read/write. Only warnings are some conditional jump depends on uninitialized value in pycrypto's libraries very early on though. The link seems to be a different bug from mine. I did test in python 2.6.7 and the crash still

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6fd16782ecb8 by Gregory P. Smith in branch '3.2': Issue #13930: fix a / to use os.sep so that the test works on Windows. http://hg.python.org/cpython/rev/6fd16782ecb8 New changeset f13fbd848d50 by Gregory P. Smith

[issue13706] non-ascii fill characters no longer work in formatting

2012-02-13 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: thousands_separator.patch: - Remove the unused _PyUnicode_InsertThousandsGroupingLocale() function - Add a test for non-ASCII thousands separator (depend on the locale) - _PyUnicode_InsertThousandsGrouping() expects thousands

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-13 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13930 ___ ___ Python-bugs-list

[issue13193] packaging.tests.test_manifest and distutils.tests.test_filelist failures

2012-02-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sorry I was unavailable. I read and approved of the patch but could not push, so thanks for doing it :) -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___

[issue13229] Improve tools for iterating over filesystem directories

2012-02-13 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: WalkDir attempts to handle symlink loops, but the test suite doesn't currently ensure that that handling works as expected (I did some initial manual tests and haven't updated it since, though). It's... not trivial:

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2012-02-13 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: It's still on my radar to come back and have a look at it. Feedback from the web folks doing Python 3 migrations is that it would have helped them in quite a few cases. I want to get a couple of other open PEPs out of the way first, though

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-02-13 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: The documentation of xml.etree.ElementTree has to be improved. The first, very obvious step, would be to start the documentation page with a general overview of the module + some simple examples. The current opening section makes no sense

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I would add to the TODO - improve the documentation of the module. Opened issue 14006 for this. -- resolution: fixed - stage: committed/rejected - needs patch status: closed - open ___ Python

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13988 ___

[issue11380] close failed in file object destructor when Broken pipe happens on stdout

2012-02-13 Thread Jeremy Fishman
Jeremy Fishman jeremy.r.fish...@gmail.com added the comment: The behavior under question here is how the interpreter handles a broken pipe during shutdown. The following code behaves as expected when either (a) the process receives a SIGINT or (b) the output pipe is closed import sys try:

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I started going over the deprecated methods in ElementTree and ran into a more serious problem. XmlParser.doctype() is listed as deprecated, and indeed ElementTree (the Python version) issues a deprecation warning. However, the C

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: BTW, I take back what I said about using PyThreadState_SetAsyncExc. Turns out I had a bug where this function would never succeed (was always returning 0). -- ___ Python tracker

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: DeprecationWarnings aren't that annoying anymore now that they're silent by default. It should at least have a PendingDeprecationWarning -- nosy: +pjenvey ___ Python tracker

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-13 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: Although documented, the C accelerator of xml.etree.ElementTree (used by default since issue 13988) does not use or define the doctype() methods of the XMLParser and TreeBuilder classes, although this method is documented. As far as I can

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: The doctype() problem is deeper, since neither does TreeBuilder implement it (although for this class it's not even deprecated). Since this appears to be a problem in 3.2 as well, I'm opening a new issue - 14007, to track this. --

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- Removed message: http://bugs.python.org/msg153325 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13988 ___

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-13 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: The C accelerator of xml.etree.ElementTree (used by default since issue 13988) does not use or define or use the doctype() methods of the XMLParser and TreeBuilder classes, although this method is documented. As far as I can tell, this

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- Removed message: http://bugs.python.org/msg153327 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13988 ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Opened issue 14007 to track the doctype() problem -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13988 ___

  1   2   >