[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-31 Thread Vajrasky Kok
Vajrasky Kok added the comment: So msg.as_string() = cte - base64 message - 0JDQkdCS # base64 encoded string What about msg.as_bytes()? Should it be: cte - 8bit message - \\u0410\\u0411\\u0412 (raw-unicode-escape) or \xd0\x90\xd0\x91\xd0\x92 (utf-8)? or message - 0JDQkdCS (base64)

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: I'm fine with not fixing this for 3.3. Does this need to wait on PEP 451 acceptance? -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19413

[issue19450] Bug in sqlite in Windows binaries

2013-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's certainly possible to update SQLite without rebuilding Python. Just replace sqlite3.dll with a newer version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450

[issue19172] selectors: add keys() method

2013-10-31 Thread Berker Peksag
Berker Peksag added the comment: + .. method:: get_map() + + Return a mapping of file objects to selector keys. I kind of feel like a walking linter though I think this needs a versionadded tag :) -- keywords: -needs review nosy: +berker.peksag

[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0848c90a5dd1 by Tim Golden in branch 'default': Issue #19418 Fix some warnings on Win64 http://hg.python.org/cpython/rev/0848c90a5dd1 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue19459] Fatal Python error: Py_Initialize: Unable to get the locale encoding: GEORGIAN-PS

2013-10-31 Thread Caolán McNamara
New submission from Caolán McNamara: LANG=ka_GE.georgianps /usr/bin/python3 Fatal Python error: Py_Initialize: Unable to get the locale encoding LookupError: unknown encoding: GEORGIAN-PS Aborted (core dumped) but with python-2.7.5 no crash... LANG=ka_GE.georgianps /usr/bin/python2 Python 2.7.5

[issue19172] selectors: add keys() method

2013-10-31 Thread Charles-François Natali
Charles-François Natali added the comment: Berker Peksag added the comment: + .. method:: get_map() + + Return a mapping of file objects to selector keys. I kind of feel like a walking linter though I think this needs a versionadded tag :) Well, selectors have been added to 3.4

[issue19459] Fatal Python error: Py_Initialize: Unable to get the locale encoding: GEORGIAN-PS

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: This bug was initially reported in LibreOffice: https://bugs.freedesktop.org/show_bug.cgi?id=68850 -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19459

[issue19459] Fatal Python error: Py_Initialize: Unable to get the locale encoding: GEORGIAN-PS

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: I found three georgian encodings: https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/charmaps/GEORGIAN-PS;h=64615ff4344d74ea0c70cfd7a6c6c8019afb884e;hb=HEAD

[issue19459] Python does not support the GEORGIAN-PS charset

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Fatal Python error: Py_Initialize: Unable to get the locale encoding: GEORGIAN-PS - Python does not support the GEORGIAN-PS charset versions: +Python 3.4 ___ Python tracker

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue is not release blocker because it affects only testing. Here is a patch which should fix tests. -- components: +Tests keywords: +patch priority: release blocker - normal stage: - patch review type: - behavior Added file:

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: +if u'\ud83d\udc9d' != u'\U0001f49d': If would prefer a test on sys.maxunicode, something like: if sys.maxunicode == 0x: Oh, I didn't remember that Python supports surrogate pairs, but not always. Support of non-BMP characters in Python 2 is

[issue19459] Python does not support the GEORGIAN-PS charset

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +lemburg, loewis, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19459 ___

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Failing test case showing that Python 3.3 can't reload a module that is converted to a package behind importlib's back (I like this better than the purely introspection based tests, since it shows a real, albeit obscure, regression due to this behavioural

[issue4331] Add functools.partialmethod

2013-10-31 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4331 ___ ___

[issue4331] Add functools.partialmethod

2013-10-31 Thread Matt Joiner
Changes by Matt Joiner anacro...@gmail.com: -- nosy: -anacrolix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4331 ___ ___ Python-bugs-list

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Added most of the nosy list from the tracking issue 19347. Updated draft docs. I believe this version of the module docs should be complete (since the installation guide updates are covered by issue 19407). While Donald's attached patch is incomplete, the

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Donald Stufft added the comment: For what it's worth I can get --root ready to go shortly, I have a patch against pip for it (https://github.com/pypa/pip/pull/1272) I just need to write some tests to ensure it keeps working. Let me go off and do that right now. --

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Donald Stufft added the comment: I also need to update the bundled Wheel to one that was created with Python 3.4 instead of 2.7 (which matters until the fix for https://github.com/pypa/pip/issues/1067 which is https://github.com/pypa/pip/pull/1251 lands). That fixes the issue where the wheel

[issue19437] More failures found by pyfailmalloc

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset d191d22a9d23 by Victor Stinner in branch 'default': Issue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an http://hg.python.org/cpython/rev/d191d22a9d23 -- ___ Python tracker

[issue19452] ElementTree iterparse documentation

2013-10-31 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report, Peter. This is indeed a documentation fix for Python 3.3; note that in 3.4 (default branch), the restriction was lifted and iterparse now accepts any iterable sequence. The documentation also reflects that (saying that 'events' is a

[issue19452] ElementTree iterparse documentation

2013-10-31 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19452 ___ ___ Python-bugs-list

[issue19452] ElementTree iterparse documentation

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6941225e014 by Eli Bendersky in branch '3.3': Issue #19452: Clarify the documentation of iterparse w.r.t. events argument. http://hg.python.org/cpython/rev/e6941225e014 New changeset 2a996cecf762 by Eli Bendersky in branch 'default': Null merge

[issue19452] ElementTree iterparse documentation

2013-10-31 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/issue19452 ___

[issue16425] minidom replaceChild(new_child, old_child) removes new_child even if in another document

2013-10-31 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: -eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16425 ___ ___ Python-bugs-list

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2013-10-31 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report, Martin. I'll take a look once I get some time -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19176 ___

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: +if u'\ud83d\udc9d' != u'\U0001f49d': If would prefer a test on sys.maxunicode, something like: if sys.maxunicode == 0x: No. 1. The check is true only on wide build. 2. It depends on how test module was loaded, true if it loaded from

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: 2. It depends on how test module was loaded, true if it loaded from .py-file and false if it loaded from .py[co]-file. I tested with Python compiled in narrow or wide build: len(u'\ud83d\udc9d') value changes depending if the file is compiled to PYC in

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Donald Stufft added the comment: Ok, merged in the --root fix to pip and created a Wheel using Python 3.4 (which I installed the Wheel distribution using an ensurepip installed pip ;) ). Updated on github and a patch added, all outstanding issues that affect this patch exist on the pip side

[issue4331] Add functools.partialmethod

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Updated patch based on Alon's last patch. The major functional change is to ensure __self__ is set appropriately on any bound methods returned by the descriptor. I also updated the docs and docstring, and added a What's New entry (as well as rewording the

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Brett Cannon
Brett Cannon added the comment: No, the fix can go into Python 3.4 right now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19413 ___ ___

[issue19282] dbm.open should be a context manager

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Patch looks reasonable to me - if nobody beats me to it, I'll commit this before beta 1 :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282 ___

[issue19385] dbm.dumb should be consistent when the database is closed

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Patch looks good to me, I'll apply it when I apply issue 19282. -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19385

[issue19450] Bug in sqlite in Windows binaries

2013-10-31 Thread Marc Schlaich
Marc Schlaich added the comment: Ah that's great. The issue is resolved with SQLite 3.8.1. However, would be great if a newer SQLite version comes already bundled with Python. -- ___ Python tracker rep...@bugs.python.org

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-31 Thread Eric Hanchrow
Changes by Eric Hanchrow eric.hanch...@gmail.com: -- nosy: -Eric.Hanchrow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19063 ___ ___

[issue17016] _sre: avoid relying on pointer overflow

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17016 ___ ___ Python-bugs-list

[issue17405] Add _Py_memset_s() to securely clear memory

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17405 ___ ___ Python-bugs-list

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d5df9602a72 by Serhiy Storchaka in branch '2.7': Issue #19457: Fixed xmlcharrefreplace tests on wide build when tests are http://hg.python.org/cpython/rev/8d5df9602a72 -- nosy: +python-dev ___ Python

[issue10685] trace does not ignore --ignore-module

2013-10-31 Thread Tom Hines
Tom Hines added the comment: The trace module ignores the --ignore-dir option for both the --listfuncs and --trackcalls modes. I have attached a patch. -- keywords: +patch nosy: +tomhines Added file: http://bugs.python.org/file32437/trace.diff ___

[issue19385] dbm.dumb should be consistent when the database is closed

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Additional checks can slowdown the code. It doesn't matter in some operations, but not on __len__, __contains__, etc. EAFP approach is to catch AttributeError and raise appropriate dbm.dumb.error exception. -- nosy: +serhiy.storchaka

[issue17405] Add _Py_memset_s() to securely clear memory

2013-10-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think I still don't understand the use case within Python. Why would you want to clear the internal state of a hash object? If you can read the computer's memory, you probably have access to sensitive data already? --

[issue19385] dbm.dumb should be consistent when the database is closed

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one nitpick. I think that closing check should be after argument type check and key encoding. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19385

[issue19457] test.test_codeccallbacks.CodecCallbackTest.test_xmlcharrefreplace_with_surrogates() and test.test_unicode.UnicodeTest.test_encode_decimal_with_surrogates() loaded from *.pyc files fail wi

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Arfrever for your report. And please describe a problem in the body of the issue, not in its title. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python

[issue19460] Add test for MIMENonMultipart

2013-10-31 Thread Vajrasky Kok
New submission from Vajrasky Kok: Apparently there is no test for MIMENonMultipart. [sky@localhost cpython]$ grep -R MIMENonMultipart Lib/test/* [sky@localhost cpython]$ Attached the patch to add test for MIMENonMultipart. -- components: Tests files: add_test_non_multipart.patch

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6157 ___ ___

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6159 ___ ___

[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6160 ___ ___

[issue4350] Remove dead code from Tkinter.py

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4350 ___ ___

[issue6181] Tkinter.Listbox several minor issues

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6181 ___ ___

[issue6225] Fixing several minor bugs in Tkinter.Canvas and one in Misc._configure

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6225 ___ ___

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6167 ___ ___

[issue18684] Pointers point out of array bound in _sre.c

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18684 ___ ___ Python-bugs-list

[issue19437] More failures found by pyfailmalloc

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b37fbda9043 by Victor Stinner in branch 'default': Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass() http://hg.python.org/cpython/rev/9b37fbda9043 New changeset e035b4656088 by Victor Stinner in branch 'default':

[issue19461] RawConfigParser modifies empty strings unconditionally

2013-10-31 Thread Nacsa Kristóf
New submission from Nacsa Kristóf: http://hg.python.org/cpython/file/8d5df9602a72/Lib/ConfigParser.py#l529 RawConfigParser has a special case of replacing '' with '' in reader. However the writer does not do the same. This may cause problems, for example if you merge multiple ini files into

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-10-31 Thread R. David Murray
R. David Murray added the comment: as_bytes should be producing the raw utf8 bytes with cte 8bit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19063 ___

[issue19461] RawConfigParser modifies empty strings unconditionally

2013-10-31 Thread Nacsa Kristóf
Nacsa Kristóf added the comment: typo: `key=` instead of `key=value` was meant as `key=` instead of `key=` -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19461 ___

[issue19460] Add test for MIMENonMultipart

2013-10-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19460 ___ ___

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 Thread Artem Ustinov
New submission from Artem Ustinov: In order to migrate from optparse to argparse we need to have an ability to substitute anguments, e.g. remove and then create. In our framework we use the command line utility base class and then inherit the particular tools from it. The parser in base class

[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54bf7b5ec3b6 by Tim Golden in branch '3.3': Issue #19418 Fix some warnings on Win64 http://hg.python.org/cpython/rev/54bf7b5ec3b6 -- ___ Python tracker rep...@bugs.python.org

[issue19461] RawConfigParser modifies empty strings unconditionally

2013-10-31 Thread R. David Murray
R. David Murray added the comment: A configurable option is probably the only way forward, due to backward compatibility reasons, but Łukasz will know for sure. If so, it can only go in the *next* version of Python, and while we haven't hit beta yet on 3.4 it may be too late for anyone to

[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-31 Thread Tim Golden
Tim Golden added the comment: Fixed in 3.3 / 3.4 -- resolution: - fixed stage: commit review - committed/rejected status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19418

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 Thread R. David Murray
R. David Murray added the comment: Does conflict_handler='resolve' address your use case? It sounds like it should. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19462

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

2013-10-31 Thread Derek Wilson
Derek Wilson added the comment: this would still be nice to have fixed ... any progress? -- nosy: +underrun versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5715

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 Thread Artem Ustinov
Artem Ustinov added the comment: We need argparse to raise an error for conflicting options and that's why we need to implicitly substitute an option when we need it On 31 Oct 2013 19:54, R. David Murray rep...@bugs.python.org wrote: R. David Murray added the comment: Does

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 Thread Artem Ustinov
Artem Ustinov added the comment: Explicitly substitute, excuse me On 31 Oct 2013 20:11, Artem Ustinov rep...@bugs.python.org wrote: Artem Ustinov added the comment: We need argparse to raise an error for conflicting options and that's why we need to implicitly substitute an option when we

[issue19349] Not so correct exception message when running venv

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 731bdec35fdd by Vinay Sajip in branch '3.3': Issue #19349: Corrected error message. http://hg.python.org/cpython/rev/731bdec35fdd New changeset e97d9926da83 by Vinay Sajip in branch 'default': Closes #19349: Merged fix from 3.3.

[issue19463] assertGdbRepr depends on hash randomization / endianess

2013-10-31 Thread Christian Heimes
New submission from Christian Heimes: I'm seeing some unrelated test failures on PPC Linux (big endian) in my PEP-456 branch. http://buildbot.python.org/all/builders/PPC64%20PowerLinux%20custom/builds/17/steps/test/logs/stdio

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: +Add tkinter basic options tests versions: -Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6157 ___

[issue6839] zipfile can't extract file

2013-10-31 Thread Adam Polkosnik
Adam Polkosnik added the comment: Just tested my patch on mac, and it appears that it didn't work on OSX (and likely on other unix platforms too). Conclusion... os.path.basename() will not do anything to windows paths when running on unix. I'm thinking that instead of bailing at 'File name

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue19085 adds test file in which test for this issue should be placed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6157 ___

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19462 ___ ___ Python-bugs-list mailing

[issue19453] pydoc.py doesn't detect IronPython, help(foo) can hang

2013-10-31 Thread Jeff Hardy
Changes by Jeff Hardy jdha...@gmail.com: -- nosy: +jeff.hardy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19453 ___ ___ Python-bugs-list mailing

[issue19464] Remove warnings from Windows buildbot clean script

2013-10-31 Thread Zachary Ware
New submission from Zachary Ware: Here's a patch to remove the compiler warning raised during the clean step on the Windows buildbots. The warning is about the fact that ssl.vcxproj doesn't have an NMakeCleanCommandLine command; the patch adds such a command that simply echos OpenSSL must be

[issue19141] Windows Launcher fails to respect PATH

2013-10-31 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as no activity following Mark's comment. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19141 ___

[issue17933] format str bug in urllib request.py

2013-10-31 Thread R. David Murray
R. David Murray added the comment: This was changed to %r by Benjamin Peterson in 27e470952085. -- resolution: - out of date stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-31 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: Added file: http://bugs.python.org/file32440/fb2f9c0bbca9.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19183 ___

[issue19443] add to dict fails after 1,000,000 items on py 2.7.5

2013-10-31 Thread Milton Mobley
Milton Mobley added the comment: I now believe the problem of slow execution is caused by performance of the Windows 7 page file, and not by a Python bug. Others reported that similar tests worked on Windows 8.1 and various Linux systems. So I request to close or withdraw the Python bug.

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: Removed file: http://bugs.python.org/file30080/2.7_rt.bat_tcltk_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17883 ___

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: Removed file: http://bugs.python.org/file30156/issue17883.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17883 ___

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: Removed file: http://bugs.python.org/file30196/issue17883-tmp-test.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17883 ___

[issue19443] add to dict fails after 1,000,000 items on py 2.7.5

2013-10-31 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19443 ___

[issue19464] Remove warnings from Windows buildbot clean script

2013-10-31 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- assignee: - tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19464 ___ ___

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Zachary Ware added the comment: Buildbots are still hanging on test_ttk_guionly and failing test_tcl and both patches still apply cleanly. Is there anything I can do to help move this forward again? -- ___ Python tracker rep...@bugs.python.org

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-31 Thread Christian Heimes
Christian Heimes added the comment: I had to add the conversion from LE to host endianess. The missing conversion was affecting and degrading hash value dispersion. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19183

[issue19085] Add tkinter basic options tests

2013-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Ezio's comments. -- Added file: http://bugs.python.org/file32441/tkinter_options_tests_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19085

[issue18985] Improve the documentation in fcntl module

2013-10-31 Thread R. David Murray
R. David Murray added the comment: Here's my suggestion. -- Added file: http://bugs.python.org/file32442/fcntl-doc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18985 ___

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

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: this would still be nice to have fixed ... any progress? Python 3.4 behaves a little bit better: all files and sockets are non-inheritable by default. It does not fix the issue if you fork without exec. To fix this issue, we need a patch. Nobody proposed

[issue17405] Add _Py_memset_s() to securely clear memory

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Some comments: - I don't have small files which just contain one function. Do you expect that we may add other security-related functions? You may add a pysecurity.c file. (It's maybe a stupid idea.) - Why only a few hash functions (sha1, sha3)? We must use

[issue19444] mmap.mmap() allocates a file descriptor that isn't CLOEXEC

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Robert, want to submit a patch? If someone wants to work on a patch, here is the code of Python 3.4 to duplicate a file descriptor and make it non-inheritable. http://hg.python.org/cpython/file/e97d9926da83/Python/fileutils.c#l978 and

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread STINNER Victor
New submission from STINNER Victor: multiprocess, telnetlib (and subprocess in a near future, see #18923) use the following code to select the best selector: # poll/select have the advantage of not requiring any extra file descriptor, # contrarily to epoll/kqueue (also, they require a single

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: What's the use case for not wanting to use an extra FD? Nevertheless I'm fine with using a function to pick the default selector (but it requires some changes to asyncio too, which currently uses DefaultSelector). Something I would find useful would be a

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: What's the use case for not wanting to use an extra FD? A selector may be used a few millisecond just to check if a socket is ready, and then destroyed. For such use case, select() is maybe enough (1 syscall). Epoll requires more system calls: create the

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: Hm... I'm trying to understand how you're using the selector in telnetlib.py (currently the only example outside asyncio). It seems you're always using it with a single file/object, which is always 'self' (which wraps a socket), except one place where you're

[issue19466] Clear state of threads earlier in Python shutdown

2013-10-31 Thread STINNER Victor
New submission from STINNER Victor: Each Python thread holds references to objects, in its current frame for example. At Python shutdown, clearing threads state happens very late: the import machinery is already dead, types are finalized, etc. If a thread has an object with a destructor, bad

[issue19442] Python crashes when a warning is emitted during shutdown

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: warn_shutdown.py does not emit warnings because the thread states are destroyed too late, when the modules have been destroyed. I opened a new issue #19466 Clear state of threads earlier in Python shutdown which would permit to emit properly warnings, at

[issue19442] Python crashes when a warning is emitted during shutdown

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13a05ed33cf7 by Victor Stinner in branch 'default': Close #19442: warn_explicit() does nothing when called late during Python shutdown http://hg.python.org/cpython/rev/13a05ed33cf7 -- resolution: - fixed stage: - committed/rejected

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: It still seems to me that this is pretty atypical use of selectors I already implemented something similar to subprocess.Popen.communicate() when I was working on old Python versions without the timeout parameter of communicate().

[issue19466] Clear state of threads earlier in Python shutdown

2013-10-31 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/issue19466 ___

[issue19435] Directory traversal attack for CGIHTTPRequestHandler

2013-10-31 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/issue19435 ___

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2013-10-31 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/issue19462 ___

  1   2   >