[issue24215] test_trace uses test_pprint

2015-05-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Converting test_pprint to be unittest discoverable had broke the test_trace that uses test_main from test_pprint. == ERROR: test_coverage (test.test_trace.TestCoverage)

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why idlelib.__main__ should be backported? You can start IDLE as "python -m idlelib.idle" in 2.7 and this works as well in 3.x. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue20035] Clean up Tcl library discovery in Tkinter on Windows

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I afraid about Tix. _fix.py searches not only Tcl/Tk, but Tix too. New patch doesn't set TIX_LIBRARY. Unfortunately there are no Tix tests at all, and we can break the support of Tix without the notice. -- ___ Pyt

[issue24213] ProcessPoolExecutor().map() fails following an identical map()

2015-05-16 Thread Ned Deily
Ned Deily added the comment: I can reproduce a crash with your sample program using the current numpy wheel (1.9.2) and the python.org 3.4.3. The significant parts of the OS X crash dump: Crashed Thread:0 Dispatch queue: com.apple.main-thread Exception Type:EXC_BAD_ACCESS (SI

[issue20035] Clean up Tcl library discovery in Tkinter on Windows

2015-05-16 Thread Zachary Ware
Zachary Ware added the comment: Here's a new patch that actually applies, and has a couple of improvements. I'd greatly appreciate some review on this; I'm planning on committing before beta1 anyway. -- nosy: +paul.moore, steve.dower, tim.golden priority: normal -> high Added file: htt

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Benjamim, I made idlever update from sys.version until removed, so remove it from release process. Serhiy, yes there are extensions which might possibly use this private api, even if they really should not. I want to bring Nick (PEP 434 approver) into the di

[issue24199] Idle: remove idlelib.idlever.py and its use in About dialog

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c473ac171041 by Terry Jan Reedy in branch '2.7': Issue #24199: Stop using idelver in aboutdialog. https://hg.python.org/cpython/rev/c473ac171041 New changeset c862166060ed by Terry Jan Reedy in branch '3.4': Issue #24199: Make idlever module self up

[issue16991] Add OrderedDict written in C

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: Started to look at the patch in more detail. Found one leak. There are more. Eric, maybe you can hunt them? -- ___ Python tracker ___ _

[issue16314] Support xz compression in distutils

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 25cb42a4bce9 by Serhiy Storchaka in branch 'default': Fixed issue #16314 test for the case when lzma is not available. https://hg.python.org/cpython/rev/25cb42a4bce9 -- ___ Python tracker

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2015-05-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue16314] Support xz compression in distutils

2015-05-16 Thread Ned Deily
Ned Deily added the comment: The test for lzma being importable is not sufficient. == ERROR: test_make_archive_xztar (distutils.tests.test_archive_util.ArchiveUtilTestCase) --

[issue24214] Exception with utf-8, surrogatepass and incremental decoding

2015-05-16 Thread RalfM
New submission from RalfM: I have an utf-8 encoded file containing single surrogates. Reading this file, specifying surrgatepass, works fine when I read the whole file with .read(), but raises an UnicodeDecodeError when I read the file line by line: - start of demo - Python 3.4.3 (v3.4

[issue24213] ProcessPoolExecutor().map() fails following an identical map()

2015-05-16 Thread OceanEngineer
New submission from OceanEngineer: Attached file runs fine. Uncommenting line 19 makes python crash. Also, no crash happens if order of execution of map() and executor.map() is switched. This problem seems to be related to numpy in some way, the code does not crash if the commented return of f

[issue24209] Allow IPv6 bind in http.server

2015-05-16 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23572] functools.singledispatch fails when "not BaseClass" is True

2015-05-16 Thread Ethan Furman
Ethan Furman added the comment: Attached is patch and test case. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file39398/issue23572.stoneleaf.01.patch ___ Python tracker ___

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44fc6db34b69 by Terry Jan Reedy in branch '3.4': Issue #24212: Put reference in idle.__main__ to issue with explanation. https://hg.python.org/cpython/rev/44fc6db34b69 -- nosy: +python-dev ___ Python trac

[issue24201] _winreg PyHKEY Type Confusion

2015-05-16 Thread JohnLeitch
JohnLeitch added the comment: Thank you again for the explanation of the internals at play here. Armed with the knowledge you provided, I conducted further experimentation, and I believe I can now demonstrate how EIP control is possible with this bug. Note that RPC initialization is not necess

[issue16991] Add OrderedDict written in C

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: I must have used a better example :) >>> import sys; from collections import OrderedDict as OD >>> sys.getrefcount(None) 2053 >>> OD();OD();OD();OD(); OrderedDict() OrderedDict() OrderedDict() OrderedDict() >>> sys.getrefcount(None) 2057 -- ___

[issue18986] Add a case-insensitive case-preserving dict

2015-05-16 Thread Ethan Furman
Ethan Furman added the comment: >From https://mail.python.org/pipermail/python-dev/2015-May/140003.html == Before the Python 3.5 feature freeze, I should step-up and formally reject PEP 455 for "Adding a key-transforming dictiona

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2015-05-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: Discussion on another issue suggested that 3.x idlelib.__main__ be backported to 2.7 so 'python -m idlelib would work with 2.7 as with 3.x. The current file: """ IDLE main entry point Run IDLE as python -m idlelib """ import idlelib.PyShell idlelib.PyShell.m

[issue24211] Add RFC 6532 support to the email library

2015-05-16 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file39396/email_smtputf8.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue24211] Add RFC 6532 support to the email library

2015-05-16 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file39397/email_smtputf8.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue24211] Add RFC 6532 support to the email library

2015-05-16 Thread R. David Murray
New submission from R. David Murray: I could have sworn there was an issue for this already, but I couldn't find it. Attached patch adds a utf8 policy knob and an SMTPUTF8 policy instance, and modifies BytesGenerator and the _header_value_parser to use that policy setting to generate utf8 head

[issue22804] Can't run Idle in Windows 8 or windows 64

2015-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing because this report contains insufficient information to act on. -- resolution: -> duplicate stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue11477] Incorrect operand precedence when implementing sequences in C

2015-05-16 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: > But what to do with this code after 3.7? And why not to do this right now? It's on my TODO list, but I'll probably won't have time to work on in it before beta 1. Thanks for the review! -- resolution: -> fixed stage: -> resolved status: open -> clo

[issue24210] Tests failed with -Werror

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset e73182301a61 by Berker Peksag in branch 'default': Issue #24210: Silence more PendingDeprecationWarning warnings in tests. https://hg.python.org/cpython/rev/e73182301a61 -- ___ Python tracker

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: methodcaller with keyword arguments pickled with pickle_getter_and_caller3.patch needs Python 3.5 to unpickle. Following patch pickles it in backward compatible way. -- Added file: http://bugs.python.org/file39395/pickle_getter_and_caller4.patch ___

[issue8489] Support RFC 6531 in smptlib

2015-05-16 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> RFC 6531 (SMTPUTF8) support in smtplib versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue21083] Add get_content_disposition() to email.message.Message

2015-05-16 Thread R. David Murray
R. David Murray added the comment: Thanks, Abhilash. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue21083] Add get_content_disposition() to email.message.Message

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29ba76f5c3dc by R David Murray in branch 'default': #21083: add get_content_disposition method to email.message. https://hg.python.org/cpython/rev/29ba76f5c3dc -- nosy: +python-dev ___ Python tracker

[issue18986] Add a case-insensitive case-preserving dict

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue16314] Support xz compression in distutils

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09bd552999bf by Serhiy Storchaka in branch 'default': Issue #16314: Added support for the LZMA compression in distutils. https://hg.python.org/cpython/rev/09bd552999bf -- nosy: +python-dev ___ Python trac

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2015-05-16 Thread R. David Murray
R. David Murray added the comment: Thanks, Milan. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6ea762200e27 by R David Murray in branch 'default': #21804: Add RFC 6856 (UTF8) support to poplib. https://hg.python.org/cpython/rev/6ea762200e27 -- nosy: +python-dev ___ Python tracker

[issue16991] Add OrderedDict written in C

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: As for refleak -- I looked at it briefly: simple "a = OrderedDict(); a = None" code leaks, so it must be somewhere in tp_new/tp_dealloc. And I know what object is leaking - it's None. -- ___ Python tracker

[issue24210] Tests failed with -Werror

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch LGTM. But what to do with this code after 3.7? And why not to do this right now? > An unrelated failure: Ah, this is issue24134. Thank you for reporting this. -- ___ Python tracker

[issue24134] assertRaises can behave differently

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, the last patch exposed a flaw in test_slice. def test_hash(self): # Verify clearing of SF bug #800796 self.assertRaises(TypeError, hash, slice(5)) self.assertRaises(TypeError, slice(5).__hash__) But the second self.ass

[issue23780] Surprising behaviour when passing list to os.path.join.

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, sorry, I forget to attach it. -- Added file: http://bugs.python.org/file39394/join_datatype_check_2.patch ___ Python tracker ___ _

[issue18682] [PATCH] remove bogus codepath from pprint._safe_repr

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Are there tests for all the "builtin scalars"? Yes, now there are. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 -Python 3.4

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch. An unrelated failure: $ ./python -Werror -m test test_slice [1/1] test_slice test test_slice failed -- Traceback (most recent call last): File "/home/berker/projects/cpython/default/Lib/test/test_slice.py", line 82, in test_hash self.asse

[issue18682] [PATCH] remove bogus codepath from pprint._safe_repr

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c77a42c234d6 by Serhiy Storchaka in branch 'default': Issue #18682: Optimized pprint functions for builtin scalar types. https://hg.python.org/cpython/rev/c77a42c234d6 -- nosy: +python-dev ___ Python trac

[issue23964] Update README documentation for IDLE tests.

2015-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23964] Update README documentation for IDLE tests.

2015-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the push. I incorporated most of your suggestions and added more changes. -- ___ Python tracker ___

[issue23780] Surprising behaviour when passing list to os.path.join.

2015-05-16 Thread Florian Bruhin
Florian Bruhin added the comment: Serhiy, I don't see a new patch added - did you forget to attach it or am I missing something? :) -- ___ Python tracker ___ ___

[issue23964] Update README documentation for IDLE tests.

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19e111891e39 by Terry Jan Reedy in branch '2.7': Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart. https://hg.python.org/cpython/rev/19e111891e39 New changeset 35b84ba2f8b1 by Terry Jan Reedy in branch '3.4': Issue #2396

[issue19662] smtpd.py should not decode utf-8

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7d3074fa888 by R David Murray in branch 'default': #19662: Make requirement to support arbitrary keywords explicit. https://hg.python.org/cpython/rev/a7d3074fa888 -- ___ Python tracker

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2015-05-16 Thread R. David Murray
Changes by R. David Murray : -- stage: -> commit review type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24204] string.strip() documentation is misleading

2015-05-16 Thread Carol Willing
Carol Willing added the comment: Additional text added about stripping characters from the leading end and trailing end of the string. An additional example that illustrates the outer characters being stripped while the inner string characters, even though matching the chars set of characters,

[issue21800] Implement RFC 6855 (IMAP Support for UTF-8) in imaplib.

2015-05-16 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue22027] RFC 6531 (SMTPUTF8) support in smtplib

2015-05-16 Thread R. David Murray
R. David Murray added the comment: Rewrote the tests to keep all the existing tests working against an unmodified SimSMTPServer, so that we know backward compatibility is maintained. And as I said, I changed the tests to reflect that a non-ascii body must be provided as binary data, which mea

[issue22027] RFC 6531 (SMTPUTF8) support in smtplib

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b0e4c87bf9e by R David Murray in branch 'default': #22027: Add RFC6531 support to smtplib. https://hg.python.org/cpython/rev/6b0e4c87bf9e -- nosy: +python-dev ___ Python tracker

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Interesting, I ran the test suite twice before commit the patch. I will take a look, thanks! -- ___ Python tracker ___ _

[issue16991] Add OrderedDict written in C

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: Raymond, is there any chance you can review the patch before beta1? Sorry, for bugging you with this, I just really hope we can have fast OrderedDict in 3.5. -- ___ Python tracker

[issue24190] BoundArguments facility to inject defaults

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks for the suggestion, Antoine! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24190] BoundArguments facility to inject defaults

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea61d8eb8a28 by Yury Selivanov in branch 'default': Issue 24190: Add inspect.BoundArguments.apply_defaults() method. https://hg.python.org/cpython/rev/ea61d8eb8a28 -- nosy: +python-dev ___ Python tracker

[issue24192] unexpected system error with pep420 style namespace packages

2015-05-16 Thread Eric Snow
Eric Snow added the comment: Great! The buildbots are happy too. :) -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue24210] Tests failed with -Werror

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And test_ssl. $ ./python -Werror -m test.regrtest -vv test_ssl == CPython 3.5.0a4+ (default:08829230079b+, May 16 2015, 19:19:38) [GCC 4.8.2] == Linux-3.13.0-53-generic-i686-athlon-with-debian-jessie-sid little-endian == hash algorithm: siphash24 32bit ==

[issue24210] Tests failed with -Werror

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_platform is failed. == ERROR: test_dist (test.test_platform.PlatformTest) -- Traceback (most recent call last): File

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks Serhiy. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue24210] Tests failed with -Werror

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6181146842ba by Berker Peksag in branch 'default': Issue #24210: Silence a PendingDeprecationWarning warning in platform.platform(). https://hg.python.org/cpython/rev/6181146842ba -- nosy: +python-dev __

[issue23689] Memory leak in Modules/sre_lib.h

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15836] unittest assertRaises should verify excClass is actually a BaseException class

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Since the patch has been reviewed by several core developers, I think you can go ahead and commit it. I'm +0 on the 2.7 version of the patch (the isinstance(e, types.ClassType) part looks fine, but I haven't tested it). It's probably not worth to change anythi

[issue23780] Surprising behaviour when passing list to os.path.join.

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is extended patch, with tests. -- assignee: -> serhiy.storchaka stage: -> patch review versions: -Python 3.4 ___ Python tracker ___ __

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2015-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since filing this, I have decided that starting Idle directly with PyShell should be deprecated. That would affect any patch for this. In the meanwhile, there are other priorities. -- ___ Python tracker

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

2015-05-16 Thread Eli Bendersky
Eli Bendersky added the comment: I don't know how important this is to really warrant removal. Removal means potentially breaking working code when trying to run it with Python 3.5, and my impression was that the core devs are somewhat alergic to this, at least while the transition to Python 3

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

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated to the tip. If Eli doesn't have objections, I'll commit it. -- Added file: http://bugs.python.org/file39391/doctype-remove.v4.patch ___ Python tracker ___

[issue15836] unittest assertRaises should verify excClass is actually a BaseException class

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please look at the new patch Raymond? This is the dependency for issue22958. -- ___ Python tracker ___

[issue22958] Constructors of weakref mapping classes don't accept "self" and "dict" keyword arguments

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Constructors of some mapping classes don't accept `self` keyword argument ___ Python tracker ___

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2015-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Catching TypeError or AttributeError on len() is a hack, but it is compatible with Python 3 and older code. We could handle this in issue23740. Changing TemporaryFile would solve this issue, but only for TemporaryFile. len() raises AttributeError for other f

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c34513c2a894 by Serhiy Storchaka in branch '2.7': Issue #15267: HTTPConnection.request() now is compatibile with old-style https://hg.python.org/cpython/rev/c34513c2a894 -- nosy: +python-dev ___ Python tr

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22939] integer overflow in iterator object

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 2.7, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-16 Thread R. David Murray
R. David Murray added the comment: Added review comments. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: This is caused by issue 1322. I'll fix it. -- assignee: -> berker.peksag ___ Python tracker ___ ___

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue15216] Support setting the encoding on a text stream after creation

2015-05-16 Thread Nick Coghlan
Nick Coghlan added the comment: Revisiting the idea Nikolaus raised last year regarding whether or not this could be done using a dedicated API in the sys module, I realised today that even if we decided to use a separate public API, *that API* would still need a defined way to modify the stre

[issue24210] Tests failed with -Werror

2015-05-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -Werror -m test.regrtest -u all -vv == CPython 3.5.0a4+ (default:5342fad7cd59+, May 16 2015, 15:55:16) [GCC 4.8.2] Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/runpy.py", line 170, in _run_module_as_main "__main__", mo

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: I think it should be fixed now. Thanks for finding this! -- ___ Python tracker ___ ___ Python-bugs-l

[issue20014] Makes array.array constructor accepts ascii-unicode typecode

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d60cb6c33cf by Serhiy Storchaka in branch '2.7': Issue #20014: array.array() now accepts unicode typecodes. Based on patch by https://hg.python.org/cpython/rev/7d60cb6c33cf -- nosy: +python-dev ___ Pyth

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08829230079b by Yury Selivanov in branch 'default': Issue 24208: Fix tests -- don't create a tempdir in __init__. https://hg.python.org/cpython/rev/08829230079b -- nosy: +python-dev ___ Python tracker

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: Look's like it's TestNoEOL.__init__ method. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Yury Selivanov
Yury Selivanov added the comment: That's strange. None of these test touch any files-related stuff. At least I can't see it. -- ___ Python tracker ___ __

[issue24209] Allow IPv6 bind in http.server

2015-05-16 Thread Link Mauve
New submission from Link Mauve: When running `python -m http.server -b ::` (or any other IPv6), I’d expect people to be able to download from my IPv6. This patch fixes that issue. I also tested it on a dual-stack kernel, IPv4 requests work just fine and appear as :::127.0.0.1 for example.

[issue24176] Incorrect parsing of unpacked expressions in call

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38b2307372bf by Benjamin Peterson in branch 'default': allow test node after ** in calls (closes #24176) https://hg.python.org/cpython/rev/38b2307372bf -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed __

[issue23637] Warnings error with non-ascii chars.

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22e44a7ee89f by Serhiy Storchaka in branch '2.7': Issue #23637: Showing a warning no longer fails with UnicodeErrror. https://hg.python.org/cpython/rev/22e44a7ee89f -- nosy: +python-dev ___ Python tracker

[issue24204] string.strip() documentation is misleading

2015-05-16 Thread Jim
Jim added the comment: Maybe, "... all combinations of its values are stripped from the beginning and end." It is rather difficult to be both clear AND concise. Heck, I'm having trouble just trying to explain it. Mark, that part is clear, but I think somehow reiterating how the method works

[issue24134] assertRaises can behave differently

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c93868f202e by Serhiy Storchaka in branch '2.7': Reverted issue #24134 changes. https://hg.python.org/cpython/rev/0c93868f202e New changeset a69a346f0c34 by Serhiy Storchaka in branch '3.4': Reverted issue #24134 changes (except new tests). https:/

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 738ac3ad9ee4 by Serhiy Storchaka in branch 'default': Fixed compilation error in signalmodule.c (issue #20182). https://hg.python.org/cpython/rev/738ac3ad9ee4 -- ___ Python tracker

[issue12816] smtpd uses library outside of the standard libraries

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue17045] Improve C-API doc for PyTypeObject

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2015-05-16 Thread Almad
Almad added the comment: I'd add that this bug is very practical and can render a lot of software unusable/noisy/confusing on Windows, including Django (I discovered this bug when mentoring on Django Girls]. The simple step to reproduce is to take any windows and set regional settings to non-

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2015-05-16 Thread Tal Einat
Tal Einat added the comment: Serhiy: Indeed, you're right about sys.getsizeof(). I'm tending towards changign it to use an optional group and per Serhiy's suggestion. Larry? -- ___ Python tracker _

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2015-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5342fad7cd59 by Tal Einat in branch 'default': Issue #20182: converted the signal module to use Argument Clinic https://hg.python.org/cpython/rev/5342fad7cd59 -- nosy: +python-dev ___ Python tracker

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2015-05-16 Thread Tal Einat
Tal Einat added the comment: Attached in a conversion patch for Modules/_hashopenssl.c. Since it appear that zlib has already been converted, that's the last file to convert in this batch! All tests pass on my OSX 10.10 (after running "touch Modules/hashlib.h" to get make to recompile things

[issue24208] test_inspect leaks temporary directory

2015-05-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -m test.regrtest -vv -m '*_eq*' test_inspect == CPython 3.5.0a4+ (default:a64a2e87+, May 15 2015, 09:50:37) [GCC 4.8.2] == Linux-3.13.0-52-generic-i686-with-debian-jessie-sid little-endian == hash algorithm: siphash24 32bit == /home/serh

[issue24201] _winreg PyHKEY Type Confusion

2015-05-16 Thread eryksun
eryksun added the comment: > ntdll!RtlAllocateHeap+0x17: > 776f1037 8b4344 mov eax,dword ptr [ebx+44h] > ds:002b:0044= Some functions in RPCRT4 assume RPCRT4!PerformRpcInitialization has already been called. How else could you get an RPC handle? In this case RPCRT4!hR

  1   2   >