[issue22555] Tracking issue for adjustments to binary/text boundary handling

2015-05-12 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22555 ___ ___

[issue18576] Document test.support.script_helper

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: script_helper was moved to the test.support package in issue 9517, so this issue is just about adding the docs now. -- dependencies: +Make test.script_helper more comprehensive, and use it in the test suite -Refactor the test_runpy walk_package support

[issue18576] Document test.support.script_helper

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: Also noting that my draft docs are over a year old now, so they need to be reviewed against the current state of the helper module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18576

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: Just noting that issue 18576 has a draft patch for test.support.script_helper documentation (the move to the support module part of the current patch there is obsolete) -- ___ Python tracker rep...@bugs.python.org

[issue24166] ArgumentParser behavior does not match generated help

2015-05-12 Thread Benjamin Schubert
Benjamin Schubert added the comment: Thanks a lot for this explanation ! It is more clear now for why it is not working. However, I would suggest that the ArgumentParser should still try to match anything the subparser could not, or would this be too complicated ? Moreover, if this scheme is

[issue24166] ArgumentParser behavior does not match generated help

2015-05-12 Thread Benjamin Schubert
Benjamin Schubert added the comment: I solved my problem by subclassing the ArgumentParser and redefining parse_args as follow : class MultipleArgumentParser(ArgumentParser): def parse_args(self, args=None, namespace=None): args, argv = self.parse_known_args(args, namespace)

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't like the patch as-is (comment change is wrong, test in the inner-loop making the common case pay for a short-cut for the uncommon case). As I said before, the basic idea is good and I will very likely include some variant of this for Python3.5. I

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d2c4d887c19 by Yury Selivanov in branch 'default': Issue #24017: Unset asyncio event loop after test. https://hg.python.org/cpython/rev/9d2c4d887c19 -- ___ Python tracker rep...@bugs.python.org

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread magnus.forsberg
New submission from magnus.forsberg: Every time I press the ^ key, IDLE crashes. I've tried this with two different keyboards with the same result. I use IDLE 3.4.3 with Mac OS X 10.10.3. -- components: IDLE messages: 242990 nosy: magnus.forsberg priority: normal severity: normal

[issue24169] sockets convert out-of-range port numbers % 2**16

2015-05-12 Thread Kurt Rose
Kurt Rose added the comment: I was incorrect -- the result of getsockname() appears to be some garbage port: socket.create_connection( ('google.com', 2**16 + 80) ).getsockname() ('10.225.89.86', 56446) socket.create_connection( ('google.com', 2**16 + 80) ).getsockname() ('10.225.89.86',

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +kbk, ned.deily, roger.serwy, ronaldoussoren, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24170 ___

[issue24134] assertRaises can behave differently

2015-05-12 Thread Tim Graham
Tim Graham added the comment: I didn't find any problems while testing your proposed new patch for cpython and your proposed patch for Django together. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24134

[issue23290] Faster set copying

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Doesn't the feature freeze start from beta 1? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___ ___

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Looks good. Thanks, Serhiy. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22682 ___ ___ Python-bugs-list

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Optimizations aren't new features. We can still tweak the implementation through-out the betas. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-05-12 Thread Sean Wolfe
Sean Wolfe added the comment: Windows 7 patch test successful: https://bugs.python.org/issue2704 * install python 2.7.8 fresh on W7 * check idle terminal functionality -- should not show terminal changes from 2704: - up arrows move cursor - typing out of focus has no effect - clicking above

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I looked at the patch again and it is in pretty good shape. Please hoist the conditionals out of the loop (for intelligibility and to let the compiler in-line more effectively). Also, let's remove the dump and clear variable names in favor of comments

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-05-12 Thread Christie
Christie added the comment: Cool, thanks @ncoghlan! Would you like someone to take on the work of updating the latest patch on issue 18576? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9517

[issue23290] Faster set copying

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is the patch with hoisted the conditionals out of the loop. New microbenchmarking results: $ ./python -m timeit -s s = set(range(10**4)) -- frozenset(s) Unpatched: 1000 loops, best of 3: 407 usec per loop With patch #4: 1000 loops, best of 3: 325

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2015-05-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +jitterman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17849 ___ ___ Python-bugs-list

[issue24171] httplib

2015-05-12 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 17849. -- nosy: +r.david.murray resolution: - duplicate stage: - resolved status: open - closed superseder: - Missing size argument in readline() method for httplib's class LineAndFileWrapper type: crash - behavior

[issue24169] sockets convert out-of-range port numbers % 2**16

2015-05-12 Thread Kurt Rose
Kurt Rose added the comment: Sorry, dumb mistake on my part. I should have been calling getpeername(), not getsockname() In that case the result is 80: socket.create_connection( ('google.com', 2**16 + 80) ).getpeername() ('74.125.239.41', 80) The random ports were the client-side ephemeral

[issue24156] test.test_ssl.ThreadedTests unit test failed

2015-05-12 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional info. I don't know what possible configuration options might affect this other than that I would expect to see 127.0.0.1 as the primary IPv4 address on the loopback interface, like: # ifconfig [...] loLink encap:Local Loopback

[issue15027] Faster UTF-32 encoding

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80cf7723c4cf by Serhiy Storchaka in branch 'default': Issue #15027: The UTF-32 encoder is now 3x to 7x faster. https://hg.python.org/cpython/rev/80cf7723c4cf -- ___ Python tracker rep...@bugs.python.org

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2015-05-12 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +demian.brecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17849 ___ ___

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be nice if somebody of the encoding package maintainers (Martin, Marc-Andre) will approve (or reject) the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22682

[issue24169] sockets convert out-of-range port numbers % 2**16

2015-05-12 Thread Kurt Rose
New submission from Kurt Rose: This appears to affect all versions of Python. In a behavior inherited from C, TCP ports that are 2 bytes are silently truncated. Here is a simple reproduction: socket.create_connection( ('google.com', 2**16 + 80) ) socket.socket object, fd=408, family=2,

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Ned Deily
Ned Deily added the comment: If you are using a Python 3.4.3 from a python.org installer for OS X or have built your own, have you installed the latest ActiveTcl 8.5.x as described here? https://www.python.org/download/mac/tcltk/ If not, you should have received a warning when you launched

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-05-12 Thread Sean Wolfe
Sean Wolfe added the comment: successfully tested on Linux in 2014 Hello folks, FYI I also installed this patch on Lubuntu linux in 2014 on a series of computers at a lab where I mentor. I don't have the documentation for those specific tests, but I did follow the outline above, and it was

[issue24169] sockets convert out-of-range port numbers % 2**16

2015-05-12 Thread R. David Murray
R. David Murray added the comment: You pegged it when you said the behavior is inherited from C. Technically this isn't a bug in Python, since the socket module is a set of (mostly) thin wrappers around the C. Enhancing CPython to do the check is not a bad suggestion, especially since it

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-05-12 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23882 ___ ___

[issue23290] Faster set copying

2015-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 12/05/2015 20:55, Raymond Hettinger a écrit : Optimizations aren't new features. We can still tweak the implementation through-out the betas. Not really. The period after the first beta is for fixing bugs, not for risking introducing new bugs.

[issue24171] httplib

2015-05-12 Thread JitterMan
New submission from JitterMan: In python2.7.9, httplib.py, on line 780, makes a call to: line = response.fp.readline(_MAXLINE + 1) This ends up calling a function defined on line 1362 in the same file: def readline(self): Notice the argument mismatch. The call passes two arguments,

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78de5d040492 by Serhiy Storchaka in branch 'default': Issue #22681: Added support for the koi8_t encoding. https://hg.python.org/cpython/rev/78de5d040492 -- nosy: +python-dev ___ Python tracker

[issue15027] Faster UTF-32 encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And that's not all... -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15027 ___

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Ned Deily
Ned Deily added the comment: Unless I'm very much mistaken, this is another instance of the old Cocoa Tk problem documented here (http://sourceforge.net/p/tktoolkit/bugs/2722/) and referred to in https://www.python.org/download/mac/tcltk/. It's not like a normal TclError in that it causes

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2015-05-12 Thread JitterMan
JitterMan added the comment: I ran into this problem when I gave https_proxy an invalid value: export https_proxy=http://foo.com No divine intervention required. I was just trying to determine what message was printed with the proxy environment variable was set incorrectly. Perhaps that

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset def3bab79c8f by Serhiy Storchaka in branch 'default': Added forgotten new files for issues #22681 and #22682. https://hg.python.org/cpython/rev/def3bab79c8f -- ___ Python tracker rep...@bugs.python.org

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your reviews Amaury and Marc-Andre. -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22681

[issue22486] Add math.gcd()

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34648ce02bd4 by Serhiy Storchaka in branch 'default': Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is https://hg.python.org/cpython/rev/34648ce02bd4 -- nosy: +python-dev

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: At least on Windows, tk errors usually result in TclError with a message that is sometimes helpful. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24170

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Ned Deily
Ned Deily added the comment: Lots of LookupError: unknown encoding: koi8_t test failures (on OS X 10.10) after this commit, for example, in test_codecs: == ERROR: test_basics (test.test_codecs.BasicUnicodeTest)

[issue24042] Convert os._getfullpathname() and os._isdir() to Argument Clinic

2015-05-12 Thread Mark Lawrence
Mark Lawrence added the comment: I've tested the patch on Windows 8.1, 32 and 64 bit release and debug builds with no problems. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24042

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Ned Deily
Ned Deily added the comment: This is undoubtedly a crash in Tk, not in Python itself, so there won't be any Python traceback. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24170 ___

[issue23509] Speed up Counter operators

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please look at the patch Raymond? There are only few days are left to the feature freeze. -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23509

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset def3bab79c8f by Serhiy Storchaka in branch 'default': Added forgotten new files for issues #22681 and #22682. https://hg.python.org/cpython/rev/def3bab79c8f -- ___ Python tracker rep...@bugs.python.org

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Ned. I just forgive to add new encoding files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22681 ___

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e1fe5bfba48 by Serhiy Storchaka in branch 'default': Issue #22682: Added support for the kz1048 encoding. https://hg.python.org/cpython/rev/6e1fe5bfba48 -- nosy: +python-dev ___ Python tracker

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does not happen on Windows. Please start Idle with python -m idlelib in a console and report any error traceback you see. Replace 'python' with 'python3' or 'py -3' as needed to start 3.x. (I am not familiar with osx incantation.) -- components:

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Ned Deily
Ned Deily added the comment: Also the 10.6 (Snow Leopard) buildbot: http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/3125/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22681

[issue17394] Add slicing support to collections.deque

2015-05-12 Thread Larry Hastings
Larry Hastings added the comment: For the record, Raymond asked for permission to check this in (a new feature) for 3.5 beta 2, as he won't have time to finish it before beta 1. As 3.5 release manager I've given him permission. Go Raymond! -- ___

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: Sure, that would be great. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9517 ___ ___ Python-bugs-list mailing

[issue17394] Add slicing support to collections.deque

2015-05-12 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17394 ___ ___ Python-bugs-list mailing

[issue23290] Faster set copying

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please pay a little attention to this issue Raymond? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___

[issue23870] pprint collections classes

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73c01323cb9b by Serhiy Storchaka in branch 'default': Issue #23870: The pprint module now supports all standard collections https://hg.python.org/cpython/rev/73c01323cb9b -- nosy: +python-dev ___ Python

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22681 ___ ___ Python-bugs-list mailing list

[issue24009] Get rid of rare format units in PyArg_Parse*

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, of course, I think we shouldn't drop support of these format units. But using them likely is a sign of outdated or transitional code. It should be discouraged in new code, and every case should be analyzed and cleaned. --

[issue23870] pprint collections classes

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23870 ___

[issue22995] Restrict default pickleability

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22995 ___ ___ Python-bugs-list mailing list

[issue24042] Convert os._getfullpathname() and os._isdir() to Argument Clinic

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please test the patch on Windows? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24042 ___ ___

[issue21859] Add Python implementation of FileIO

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Both issues are fixed. -- assignee: - serhiy.storchaka dependencies: -Check path arguments of os functions for null character resolution: - fixed stage: patch review - resolved status: open - closed ___ Python

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22682 ___ ___ Python-bugs-list mailing list

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 031df83dffb4 by Serhiy Storchaka in branch 'default': Issue #20173: Converted the _codecs module to Argument Clinic. https://hg.python.org/cpython/rev/031df83dffb4 -- ___ Python tracker

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated to the tip and committed. Included Larry's suggestion about sys.getdefaultencoding(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20173 ___

[issue24037] Argument Clinic: add the boolint converter

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated to the tip. Used new converter in recently converted _tkinter and _codecs modules. Now it is used 30 times. -- Added file: http://bugs.python.org/file39349/clinic_boolint_converter_2.patch ___ Python

[issue22939] integer overflow in iterator object

2015-05-12 Thread Clement Rouault
Clement Rouault added the comment: After a few months, I am back to you on this issue. What should be the next step of the process ? -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22939

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Ned Deily
Ned Deily added the comment: All better, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22681 ___ ___ Python-bugs-list mailing list

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Added file: http://bugs.python.org/file39353/set_faster_copy_6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread magnus.forsberg
magnus.forsberg added the comment: Thanks for your replies! There is a warning about Tcl/Tk: WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. -- ___ Python

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Ned Deily
Ned Deily added the comment: Thanks! I'm going to assume then that installing a current ActiveTcl 8.5.x will fix the problem for you. -- resolution: - third party stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Attaching a variant with several fix-ups (mostly minor): * Changed the order of the three sections to go from most-restricted-most-optimized to the general-fall-through case. The downside is that we test so-fill==0 twice. The upside is that it

[issue24169] sockets convert out-of-range port numbers % 2**16

2015-05-12 Thread Kurt Rose
Kurt Rose added the comment: Totally agree this needs to be managed carefully. My goal here was just to raise awareness and see if there is consensus that the behavior should be changed. I came across this because an upstream process had a bug which led to impossible TCP ports being

[issue22486] Add math.gcd()

2015-05-12 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22486 ___

[issue24166] ArgumentParser behavior does not match generated help

2015-05-12 Thread paul j3
paul j3 added the comment: Look at http://bugs.python.org/issue9338 argparse optionals with nargs='?', '*' or '+' can't be followed by positionals That has a proposed patch that wraps the main argument consumption loop in another loop. The current loop alternatively consumes optionals and

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Removed file: http://bugs.python.org/file39352/set_faster_copy_6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23290 ___

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-05-12 Thread Petr Viktorin
Changes by Petr Viktorin encu...@gmail.com: -- nosy: +encukou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1322 ___ ___ Python-bugs-list mailing

[issue21708] Deprecate nonstandard behavior of a dumbdbm database

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Warnings are not raised by default. They are raised only when the database is opened with the 'r' mode and then modified. The earlier we start deprecation period, the earlier we could add true read-only and update existing modes to dbm.dumb. --

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-05-12 Thread Alex Shkop
Alex Shkop added the comment: Please, review the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23882 ___ ___ Python-bugs-list mailing

[issue18383] test_warnings modifies warnings.filters when running with -W default

2015-05-12 Thread Alex Shkop
Alex Shkop added the comment: Please, review the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18383 ___ ___ Python-bugs-list mailing

[issue24086] Configparser interpolation is unexpected

2015-05-12 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24086 ___ ___ Python-bugs-list

[issue23193] Please support numeric_owner in tarfile

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5a53d75dc19 by Zachary Ware in branch 'default': Issue #23193: Skip numeric_owner tests on platforms where they don't make sense https://hg.python.org/cpython/rev/e5a53d75dc19 -- ___ Python tracker

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e39fd5a8501a by Nick Coghlan in branch 'default': Issue 24017: fix for async with refcounting https://hg.python.org/cpython/rev/e39fd5a8501a -- ___ Python tracker rep...@bugs.python.org

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc2e52878393 by Zachary Ware in branch 'default': Issue #23911: Fix ctypes test on Windows. https://hg.python.org/cpython/rev/cc2e52878393 -- ___ Python tracker rep...@bugs.python.org

[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the patch, John. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23796

[issue23983] Update example in the pty documentation

2015-05-12 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23983 ___

[issue23983] Update example in the pty documentation

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e656bece13fa by Berker Peksag in branch '3.4': Issue #23983: Update the pty module example. https://hg.python.org/cpython/rev/e656bece13fa New changeset 0be7c8f46378 by Berker Peksag in branch 'default': Issue #23983: Update the pty module example.

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2015-05-12 Thread Berker Peksag
Berker Peksag added the comment: Éric, could you please take a look at issue19610_v4.diff? I'd like to commit the patch this weekend. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610

[issue23895] PATCH: python socket module fails to build on Solaris when -zignore is in LDFLAGS

2015-05-12 Thread Andrew Stormont
Andrew Stormont added the comment: Bump. Would be nice to get this included in python 2.7.11. I also have a similar fix for the multiprocessing module but I won't bother submitting it if it will get ignored. -- status: open - languishing ___

[issue15027] Faster UTF-32 encoding

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can I commit the patch now Larry? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15027 ___ ___

[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39df27d97901 by Serhiy Storchaka in branch 'default': Fixed compilation on Windows for issue #20173. https://hg.python.org/cpython/rev/39df27d97901 -- ___ Python tracker rep...@bugs.python.org

[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d722c9049ff by Berker Peksag in branch '3.4': Issue #23796: peak and read1 methods of BufferedReader now raise ValueError https://hg.python.org/cpython/rev/7d722c9049ff New changeset be7636fd6438 by Berker Peksag in branch 'default': Issue #23796:

[issue24053] Define EXIT_SUCCESS and EXIT_FAILURE constants in sys

2015-05-12 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24053 ___ ___ Python-bugs-list

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Yury Selivanov
Yury Selivanov added the comment: Is there are a specific reason this implicit exception handler can't be decomposed and implemented using the same opcodes as are used to implement explicit exception handlers? I don't think it's possible to replace ASYNC_WITH_CLEANUP_EXCEPT opcode with

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: I'm going to dig into this one locally, as it sounds to me like something may be going wrong with the refcounts in the complex stack manipulation involved in WITH_CLEANUP. It seems plausible that there's a genuinely missing incref/decref pair somewhere in the

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Yury Selivanov
Yury Selivanov added the comment: I'd suggest you to look at ceval.c before PEP 492 patch then (where there is just one WITH_CLEANUP opcode). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24017

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: Avoiding WITH_CLEANUP entirely in the async case also sounds like a plausible approach. Either way, I'm also on IRC now if you want to thrash this out there. -- ___ Python tracker rep...@bugs.python.org

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Yury Selivanov
Yury Selivanov added the comment: Nick, Guido, Attached is a patch that fixes a refleak in 'async with' implementation. The problem is related to WITH_CLEANUP_START/WITH_CLEANUP_FINISH opcodes. For regular 'with' statements, these opcodes go one after another (essentially, it was one opcode

[issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

2015-05-12 Thread Martin Panter
Martin Panter added the comment: Another problem with tostring() is that it seems you have to call it with encoding=unicode. Perhaps it would be better to suggest code like .join(element.itertext())? I would also improve on Jérôme’s version by making the None case more explicit. And perhaps

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: I'm bothered by the remarkable proliferation of new opcodes for the PEP 492 handling. Is there are a specific reason this implicit exception handler can't be decomposed and implemented using the same opcodes as are used to implement explicit exception handlers?

  1   2   >