[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Changes by Eric Snow : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: Windows looks happy now. I'll look into the duplicate portions separately in issue19469. -- status: open -> pending ___ Python tracker ___

[issue19469] Duplicate namespace package portions (but not on Windows)

2013-10-31 Thread Eric Snow
New submission from Eric Snow: In changeset 88c3a1a3c2ff you'll find in test_api.py where I threw together a __path__ to compare against the one I was getting (which had 2 identical entries) on my Ubuntu 12.04 workstation. The XP buildbot (http://buildbot.python.org/all/builders/x86%20XP-4%20

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78d36d54391c by Eric Snow in branch 'default': Issue #19413: Disregard duplicate namespace portions during reload tests. http://hg.python.org/cpython/rev/78d36d54391c -- ___ Python tracker

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: Looks like this broke on windows: == FAIL: test_reload_namespace_changed (test.test_importlib.test_api.Source_ReloadTests) -- Trac

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Changes by Eric Snow : -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: As you can see, Nick, I came up with a test that did just about the same thing (which you had suggested earlier :-) ). For good measure I also added a test that replaces a namespace package with a normal one. -- assignee: -> eric.snow resolution: -> fixe

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88c3a1a3c2ff by Eric Snow in branch 'default': Issue #19413: Restore pre-3.3 reload() semantics of re-finding modules. http://hg.python.org/cpython/rev/88c3a1a3c2ff -- nosy: +python-dev ___ Python tracker

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2013-10-31 Thread Martin Panter
Martin Panter added the comment: I wrote a basic “urllib.request” handler class that I have been using for HTTP persistent connections. It is called PersistentConnectionHandler; see https://github.com/vadmium/python-iview/blob/80dc1b4/iview/hds.py#L442 I am happy for this to be used as the bas

[issue19468] Relax the type restriction on reloaded modules

2013-10-31 Thread Eric Snow
New submission from Eric Snow: The first thing that importlib.reload() does is to verify that the passed module is an instance of types.ModuleType (Lib/importlib/__init__.py:107). This check seems unnecessary to me. We really don't have a functional need for the check (that I know of). Furt

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2013-10-31 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Donald Stufft added the comment: There you go Nick. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Changes by Donald Stufft : Added file: http://bugs.python.org/file32446/combined.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Donald, could you upload an updated patch here that includes both your changes and my docs updates? We'll give people a day to look it over, and then go ahead and commit it and create the tracker issues to update pyvenv/venv and the Mac OS X and Windows install

[issue16286] Use hash if available to optimize a==b and a!=b for bytes and str

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Updated patch. -- Added file: http://bugs.python.org/file32445/compare_hash-2.patch ___ Python tracker ___ _

[issue19467] asyncore documentation: redirect users t

2013-10-31 Thread STINNER Victor
New submission from STINNER Victor: The asyncore module is old and has an efficient design: it is not possible to use modern selectors like epoll() or kqueue() before asyncore.poll() function has to recreate a selector at each call. See a better explanation of its author: msg196995. The async

[issue19467] asyncore documentation: redirect users to the new asyncio module

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- title: asyncore documentation: redirect users t -> asyncore documentation: redirect users to the new asyncio module ___ Python tracker ___ ___

[issue19467] asyncore documentation: redirect users t

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: haypo priority: normal severity: normal status: open title: asyncore documentation: redirect users t ___ Python tracker ___ _

[issue19230] Reimplement the keyword module in C

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: "IMO this should be rejected. Failure to improve startup time + more complicated maintenance." What do you mean by "complicated maintenance"? The C module is short and doesn't use complex functions, I don't expect it to change. -- ___

[issue19230] Reimplement the keyword module in C

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Original: $ ./python -S -m timeit -s 'import sys' 'import keyword; keyword=None; del sys.modules["keyword"]' 1 loops, best of 3: 149 usec per loop Python patched with keyword_grammar.patch: $ ./python -S -m timeit -s 'import sys' 'import keyword; keyword

[issue19421] FileIO destructor imports indirectly the io module at exit

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: I misunderstood the gdb traceback. Display a warning does not reload the io module: in fact, the io module was unloaded and PyImport_ImportModuleLevelObject() already raises an ImportError in this case: ImportError("import of 'io' halted; None in sys.modules")

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

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: > OK. Let's have a function to select a default selector. > Can you think of a better name for the parameter? Or > maybe there should be two functions? I prefer to leave the question to the author of the module, Charles-François :-) --

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

2013-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: OK. Let's have a function to select a default selector. Can you think of a better name for the parameter? Or maybe there should be two functions? -- ___ Python tracker __

[issue19331] Revise PEP 8 recommendation for class names

2013-10-31 Thread Ethan Furman
Ethan Furman added the comment: How's this? I liked Barry's simpler Overriding Principle combine with Nick's simpler Class Names. -- Added file: http://bugs.python.org/file32444/issue19331.stoneleaf.03.patch ___ Python tracker

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

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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

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

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

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

[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

[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

[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

[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

[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

[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". --

[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

[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

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

[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

[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

[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

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

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

[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

[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

[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

[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

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

[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

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

[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

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

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

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

[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

[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

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

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

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

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

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

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

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

[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

[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

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

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

[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

[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

[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

[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

[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

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

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

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

[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

[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

[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

[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

[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

  1   2   >