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

[issue13566] Increase pickle compatibility

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch pickles all ascii strings with protocols < 3 and fix_import=True with compatible opcodes (STRING, BINSTRING and SHORT_BINSTRING). Pickled strings are unpickled as str in Python 2 and Python 3 (unless encoding="bytes"). As a side effect, short

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

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

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

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

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

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

[issue23870] pprint collections classes

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

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

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

[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

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

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

[issue22995] Restrict default pickleability

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

[issue22682] Add support of KZ1048 (RK1048) encoding

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

[issue22681] Add support of KOI8-T encoding

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: http

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

2015-05-12 Thread Petr Viktorin
Changes by Petr Viktorin : -- nosy: +encukou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue17762] platform.linux_distribution() should honor /etc/os-release

2015-05-12 Thread Petr Viktorin
Changes by Petr Viktorin : -- nosy: +encukou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2015-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: lemburg -> berker.peksag stage: patch review -> commit review ___ Python tracker ___ ___ Python

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

2015-05-12 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review status: languishing -> open ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23034] Dynamically control debugging output

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch adds the "-X showalloccount" option, that turn on the output of allocated objects counts if COUNT_ALLOCS, SHOW_ALLOC_COUNT, or SHOW_TRACK_COUNT are defined. The output of COUNT_ALLOCS is now written to stderr. -- keywords: +patch stage

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

2015-05-12 Thread R. David Murray
R. David Murray added the comment: Do you know anyone else using solaris who could do a review (ie: confirm that your patch makes sense and works for them)? It looks like jcea, who is our only current committer who uses Solaris as far as I know (well, OpenIndiana), hasn't had time to look at

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

2015-05-12 Thread R. David Murray
Changes by R. David Murray : -- title: PATCH: python socket module fails to build on Solaris when -zignore is in LDFLAGS -> python socket module fails to build on Solaris when -zignore is in LDFLAGS ___ Python tracker

[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41e9d324f10d by Berker Peksag in branch 'default': Issue #23796: peak and read1 methods of BufferedReader now raise ValueError https://hg.python.org/cpython/rev/41e9d324f10d -- nosy: +python-dev ___ Pytho

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

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

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

[issue23983] Update example in the pty documentation

2015-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

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

[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread John Hergenroeder
John Hergenroeder added the comment: Wonderful! Thanks for your help, Berker! -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue24156] test.test_ssl.ThreadedTests unit test failed

2015-05-12 Thread Roman Rader
Roman Rader added the comment: You're right, it does not reproduces on any machine. I'm using Arch Linux, still trying to figure out the repro steps. My hosts file doesn't contain such entries for localhost, it's pretty standard. If I disable my external network interface, it retrieves my seco

[issue22682] Add support of KZ1048 (RK1048) encoding

2015-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Please go ahead! Or do you expect someone else to review the patch? -- ___ Python tracker ___

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Looks good to me. -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-list mai

[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 0dc3b61f1dfa by Yury Selivanov in branch 'default': Issue #24017: Plug ref leak. https://hg.python.org/cpython/rev/0dc3b61f1dfa -- ___ Python tracker _

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-12 Thread paul
paul added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue15027] Faster UTF-32 encoding

2015-05-12 Thread Larry Hastings
Larry Hastings added the comment: We're still in alpha, so it's fine for 3.5 right now. The cutoff for new features for 3.5 will be May 23. -- ___ 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 ee7d2c9c70ab by Yury Selivanov in branch '3.4': asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is running. https://hg.python.org/cpython/rev/ee7d2c9c70ab New changeset 874edaa34b54 by Yury Selivanov in branch 'default': asy

[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

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

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

[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) ) Needs more investigation, but one like

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

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

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

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

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

[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

[issue24170] IDLE crashes when I press ^ key

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +kbk, ned.deily, roger.serwy, ronaldoussoren, terry.reedy ___ Python tracker ___ ___ Python-bug

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

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

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

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

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

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

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

[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

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

[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

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

2015-05-12 Thread R. David Murray
Changes by R. David Murray : -- nosy: +jitterman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2015-05-12 Thread Ned Deily
Changes by Ned Deily : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[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

[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

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

2015-05-12 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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

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

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[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

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

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

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

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

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

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

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

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

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

[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

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

[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

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

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

[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

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

[issue22681] Add support of KOI8-T encoding

2015-05-12 Thread Ned Deily
Ned Deily added the comment: All better, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

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

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file39352/set_faster_copy_6.diff ___ Python tracker ___ ___ Python-bugs-li

[issue23290] Faster set copying

2015-05-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file39353/set_faster_copy_6.diff ___ Python tracker ___ ___ Python-bugs-list

[issue22486] Add math.gcd()

2015-05-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17394] Add slicing support to collections.deque

2015-05-12 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: ht

  1   2   >