[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 ___ _

[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 ___ _

[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

[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

[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 ___ __

[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 https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/charmaps/GEORGIAN-ACADEMY;h=9dc1bc9

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

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- 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: http://bugs.py

[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 ug

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

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +lemburg, loewis, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[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 change

[issue4331] Add functools.partialmethod

2013-10-31 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: needs patch -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4331] Add functools.partialmethod

2013-10-31 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: -anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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 versio

[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 seque

[issue19452] ElementTree iterparse documentation

2013-10-31 Thread Eli Bendersky
Changes by Eli Bendersky : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 for

[issue19452] ElementTree iterparse documentation

2013-10-31 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[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 : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 ___ ___ Py

[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 nar

[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 of

[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 exist

[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 ___ ___ Python-bugs-list mailing l

[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 ___

[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 ___ _

[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 __

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

2013-10-31 Thread Eric Hanchrow
Changes by Eric Hanchrow : -- nosy: -Eric.Hanchrow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue17016] _sre: avoid relying on pointer overflow

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue17405] Add _Py_memset_s() to securely clear memory

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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 tra

[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 ___ P

[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 ___ _

[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 tra

[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 keywor

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

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4350] Remove dead code from Tkinter.py

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6181] Tkinter.Listbox several minor issues

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2013-10-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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': Issue

[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 o

[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 ___ ___ Python

[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 ___ _

[issue19460] Add test for MIMENonMultipart

2013-10-31 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 ___

[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 hav

[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

[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 ___

[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 ___ __

[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" wrote: > > R. David Murray added the comment: > > Does conflict_handler='resolve' address

[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" 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 need it > On 31

[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. http://hg.python.org

[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 : -- dependencies: +Add tkinter basic options tests versions: -Python 2.7, Python 3.3 ___ Python tracker ___ _

[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 in

[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 ___

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

2013-10-31 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2013-10-31 Thread Jeff Hardy
Changes by Jeff Hardy : -- nosy: +jeff.hardy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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

[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 ___ ___

[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

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-31 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file32440/fb2f9c0bbca9.diff ___ Python tracker ___ ___ Python-bugs-list maili

[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 : Removed file: http://bugs.python.org/file30080/2.7_rt.bat_tcltk_fix.diff ___ Python tracker ___ ___ Python-bugs-list

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file30156/issue17883.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17883] Fix buildbot testing of Tkinter

2013-10-31 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file30196/issue17883-tmp-test.diff ___ Python tracker ___ ___ Python-bugs-list

[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 : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue19464] Remove warnings from Windows buildbot "clean" script

2013-10-31 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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

[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 __

[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 ___

[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 ___ __

[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 som

[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 http://hg.python.org

[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 sy

[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 way

[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 epo

[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 al

[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 t

[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 lea

[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 stat

[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(). http://ufwi.org/projects/ed

[issue19466] Clear state of threads earlier in Python shutdown

2013-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19435] Directory traversal attack for CGIHTTPRequestHandler

2013-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2013-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19447] py_compile.compile raises if a file has bad encoding

2013-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

  1   2   >