[issue21881] python cannot parse tcl value

2014-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which omits using of float() to convert Tcl's NaN values. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file35864/test_tcl_nan.patch ___ Python tracker

[issue21920] Fixed missing colon in the docs

2014-07-05 Thread Stefan Tatschner
New submission from Stefan Tatschner: Hi, i just discovered a missing colon in the docs. I have created a patch for this. Stefan -- assignee: docs@python components: Documentation files: fixed-missing-colon.patch keywords: patch messages: 222341 nosy: docs@python, rumpelsepp priority: n

[issue21920] Fixed missing colon in the docs

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: docs@python -> berker.peksag nosy: +berker.peksag versions: +Python 3.5 ___ Python tracker ___ ___

[issue21920] Fixed missing colon in the docs

2014-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6094aa25b33c by Berker Peksag in branch '3.4': Issue #21920: Add a missing colon to the __main__ doc. http://hg.python.org/cpython/rev/6094aa25b33c New changeset e22d0ff286f9 by Berker Peksag in branch 'default': Issue #21920: Merge from 3.4. http:/

[issue21920] Fixed missing colon in the docs

2014-07-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks Stefan! -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue21921] Example in asyncio event throws resource usage warning

2014-07-05 Thread Vajrasky Kok
New submission from Vajrasky Kok: These examples coming from: https://docs.python.org/3/library/asyncio-eventloop.html#example-hello-world-callback and https://docs.python.org/3/library/asyncio-eventloop.html#example-set-signal-handlers-for-sigint-and-sigterm throw resource usage warning. One

[issue21881] python cannot parse tcl value

2014-07-05 Thread Andreas Schwab
Andreas Schwab added the comment: Thanks, this is working now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue21911] "IndexError: tuple index out of range" should include the requested index and tuple length

2014-07-05 Thread Ram Rachum
Ram Rachum added the comment: obably Serhiy: Unfortunately I don't program in C, so I can't implement this. -- ___ Python tracker ___

[issue15114] Deprecate strict mode of HTMLParser

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list maili

[issue21922] PyLong: use GMP

2014-07-05 Thread Hristo Venev
New submission from Hristo Venev: I have implemented the PyLong interface using the GMP mpn functions. API/ABI compatibility is retained (except for longintrepr). It can be enabled by passing --enable-big-digits=gmp to ./configure. No large performance regressions have been observed for small

[issue21922] PyLong: use GMP

2014-07-05 Thread Stefan Krah
Stefan Krah added the comment: Did you mean to upload a patch? -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21922] PyLong: use GMP

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: So the problem is mostly that 2.7 gives less diagnosis information than 3.x about an incorrect use of the API. I don't think that's very worthy of a bugfix, IMHO. Just use 3.x :-) -- nosy: +neologix ___ Python track

[issue21922] PyLong: use GMP

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: Hi, I worked on a similar patch 6 years ago, while Python 3.0 was developped: https://mail.python.org/pipermail/python-dev/2008-November/083315.html http://bugs.python.org/issue1814 The summary is that using GMP makes Python slower because most numbers are smal

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) keywords: +easy nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-lis

[issue21922] PyLong: use GMP

2014-07-05 Thread Hristo Venev
Hristo Venev added the comment: PyLongObject is a PyVarObject. It contains many mp_limb_t's. There is little overhead. For some operations if the result is in [-20;256] no memory will be allocated. There are special codepaths for 1-limb operations. And I just finished GDB support. Please test

[issue21911] "IndexError: tuple index out of range" should include the requested index and tuple length

2014-07-05 Thread Ezio Melotti
Ezio Melotti added the comment: The feature request sounds reasonable to me, unless someone proves that there are major (performance) issues. However, since this has already been reported in #18162, I'm going to close it as a duplicate. @Raymond > The IndexError exception is commonly used for

[issue18162] Add index attribute to IndexError

2014-07-05 Thread Ram Rachum
Ram Rachum added the comment: Since #21911 has been merged into this issue, I'd like to add: Please also include the length of the sequence in the exception message. It can help with debugging. -- nosy: +cool-RR ___ Python tracker

[issue18162] Add index attribute to IndexError

2014-07-05 Thread Ezio Melotti
Ezio Melotti added the comment: Knowing the len of the sequence would also be useful. Brett, were you also planning to use these attributes in the error message (when they are available), or do you prefer to keep the two issues separate and reopen #21911? > Is there a meta-issue for these chan

[issue18162] Add index attribute to IndexError

2014-07-05 Thread Brett Cannon
Brett Cannon added the comment: Part of the point of these various attributes I proposed was so that a good default message could be provided when only the new attributes are given. So I'm fine with that being part of this issue. -- ___ Python track

[issue15974] Optional compact and colored output for regrest

2014-07-05 Thread Brett Cannon
Changes by Brett Cannon : -- superseder: -> Optional compact and colored output for regrest ___ Python tracker ___ ___ Python-bugs-li

[issue19593] Use specific asserts in importlib tests

2014-07-05 Thread Brett Cannon
Brett Cannon added the comment: Ezio already gave a commit review. Serhiy just needs to commit it himself. -- assignee: -> serhiy.storchaka stage: patch review -> commit review ___ Python tracker _

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: Fix commited to Tulip (4655ef2d9f43), Python 3.4 and 3.5. -- ___ Python tracker ___ ___ Python-bugs-

[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError

2014-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7e4efd5e279 by Victor Stinner in branch '3.4': Closes #21886, #21447: Fix a race condition in asyncio when setting the result http://hg.python.org/cpython/rev/d7e4efd5e279 New changeset 50c995bdc00a by Victor Stinner in branch 'default': (Merge 3.4

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7e4efd5e279 by Victor Stinner in branch '3.4': Closes #21886, #21447: Fix a race condition in asyncio when setting the result http://hg.python.org/cpython/rev/d7e4efd5e279 New changeset 50c995bdc00a by Victor Stinner in branch 'default': (Merge 3.4

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-07-05 Thread Brett Cannon
Brett Cannon added the comment: I can do the review if no Windows people step forward. -- ___ Python tracker ___ ___ Python-bugs-list

[issue21922] PyLong: use GMP

2014-07-05 Thread Stefan Krah
Stefan Krah added the comment: Hmm, the license (LGPL) should only matter for the Windows binaries and we can just compile without --enable-big-digits=gmp. Even *if* the Windows binaries were built with gmp support, it would be sufficient for any redistributor to point to the external library so

[issue21921] Example in asyncio event throws resource usage warning

2014-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6827c6b1164 by Victor Stinner in branch '3.4': Closes #21921: Fix ResourceWarning in the asyncio examples: close the event http://hg.python.org/cpython/rev/f6827c6b1164 New changeset 0533f148fb49 by Victor Stinner in branch 'default': (Merge 3.4) C

[issue21921] Example in asyncio event throws resource usage warning

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix. I already suggested it to Guido van Rossum a few months ago, but he preferred the keep the example simple. I made the same fix in the 2 hello world examples of the Tulip project last Tuesday, so it's fair to apply the same fix to asyncio ex

[issue21911] "IndexError: tuple index out of range" should include the requested index and tuple length

2014-07-05 Thread Stefan Behnel
Stefan Behnel added the comment: "you'd be surprised how much cheaper indexing a sequence is relative to dictionary access" This is a bit off-topic (and I realise that this ticket is closed now), but the difference isn't really all that large: $ python3.4 -m timeit -s 'seq = list(range(1000))

[issue21922] PyLong: use GMP

2014-07-05 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.rosenberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-05 Thread Josh Rosenberg
Josh Rosenberg added the comment: Antoine: It's possible this is a legitimate failure in the signal handling code. The lack of a RuntimeError seems more likely to be due to the code never executing, not an issue with Condition.wait/Condition.notify. --

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: In v3, there is no subprocess usage. It imports the checker specific module,does its job and returns the result of processing. The checker specific files are to be installed from TestPyPI(atleast for now). It has to be installed via pip. It will be detect

[issue9554] test_argparse.py: use new unittest features

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file35869/issue9554_v4.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread SilentGhost
SilentGhost added the comment: This seem like a new feature for IDLE, so I'd imagine it would not be included in either 2.7 or 3.4. Correct me if I'm wrong. -- nosy: +SilentGhost versions: -Python 2.7, Python 3.4 ___ Python tracker

[issue21922] PyLong: use GMP

2014-07-05 Thread Hristo Venev
Hristo Venev added the comment: After some minor optimizations my implementation is about 1.8% slower on pystone and about 4% slower on bm_nqueens. It's 4 times faster on bm_pidigits. -- ___ Python tracker ___

[issue21922] PyLong: use GMP

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: Please try the Python benchmark suite. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21922] PyLong: use GMP

2014-07-05 Thread Mark Dickinson
Mark Dickinson added the comment: I *do* have an objection to adding the configure option: from that point on, it means that maintaining the GMP-based long implementation is now the responsibility of the core developers, and I think that's an unnecessary maintenance burden, for an option that

[issue21922] PyLong: use GMP

2014-07-05 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21922] PyLong: use GMP

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: > I think having two long integer implementations in the core is worse than > having one. I agree. If the GMP implementation is accepted, the old implementation must be dropped and replaced by the GMP implementation. -- _

[issue9554] test_argparse.py: use new unittest features

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue21922] PyLong: use GMP

2014-07-05 Thread Mark Dickinson
Mark Dickinson added the comment: > If the GMP implementation is accepted, the old implementation must be > dropped and replaced by the GMP implementation. Agreed. I'm open to that, but it's critical that common use-cases (i.e., those *not* using 1000-digit integers!) aren't slowed down.

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-05 Thread Alex Gaynor
New submission from Alex Gaynor: If one invokes some distutils code too early, this function will try to read ``_config_vars`` before it is initialized. http://bpaste.net/show/1DOGhL8sdnkPyLTL06AZ/ is an example traceback that results. The attached patch uses the public API which guarantees t

[issue17554] Compact output for regrtest

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list maili

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >This seem like a new feature for IDLE, so I'd imagine it would not be >>included in either 2.7 or 3.4. Correct me if I'm wrong. Hi, Yes, it is a new feature. I think it will be included in both 2.7 and 3.4(apart from the latest version 3.5), if my underst

[issue17554] Compact output for regrtest

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue15974] Optional compact and colored output for regrest

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: Optional compact and colored output for regrest -> Compact output for regrtest ___ Python tracker ___ ___

[issue20898] Missing 507 response description

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue15025] httplib and http.client are missing response messages for defined WEBDAV responses, e.g., UNPROCESSABLE_ENTITY (422)

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21923] distutils.sysconfig.customize_compiler will try to read variable that has not been initialized

2014-07-05 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue10395] new os.path function to extract common prefix based on path components

2014-07-05 Thread Éric Araujo
Changes by Éric Araujo : -- stage: patch review -> commit review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-b

[issue21859] Add Python implementation of FileIO

2014-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Many thanks Victor for your review. Updated patch addresses your comments. It also fixes debugging remnants in test_file_eintr. -- Added file: http://bugs.python.org/file35871/pyio_fileio_3.patch ___ Python tracker

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17737] test_gdb fails on armv7hl

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-

[issue17755] test_builtin assumes LANG=C

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12259] Document which compilers can be created on which platform

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: I've no objection to people trying to take this forward but they should be aware that asyncio is recommended for new code. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tra

[issue11259] asynchat does not check if terminator is negative integer

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: I've no objection to people trying to take this forward but they should be aware that asyncio is recommended for new code. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 ___ Python tracker

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue12602] Missing cross-references in Doc/using

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue1565071] update Lib/plat-linux2/IN.py

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue1011113] Make “install” find the build_base directory

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Small feature requiring a new menu entry. -- versions: +Python 2.7, Python 3.4 ___ Python tracker ___ __

[issue17755] test_builtin assumes LANG=C

2014-07-05 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> readline-related test_builtin failure ___ Python tracker ___

[issue13886] readline-related test_builtin failure

2014-07-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue9571] argparse: Allow the use of -- to break out of nargs and into subparser

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +paul.j3 versions: +Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10190] Can argparse._AttributeHolder._get_kwargs become a public API?

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: Is it worth leaving this open as optparse was deprecated in 2.7 in favour of argparse? -- components: +Library (Lib) -Extension Modules nosy: +BreamoreBoy ___ Python tracker ___

[issue20554] Use specific asserts in optparse test

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: I don't object to these changes but I don't see much sense in them as optparse has been deprecated since 2.7/3.2. -- nosy: +BreamoreBoy ___ Python tracker _

[issue21852] Fix optparse in unicodeless build

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see much point to this as optparse has been deprecated in 2.7. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue10766] optparse uses %s in gettext calls

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see much point doing any work with optparse as it's deprecated. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue2403] Add figleaf coverage metrics

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: As there have been no replies to msg213358 can someone close this please. -- nosy: +BreamoreBoy status: pending -> open versions: +Python 3.5 -Python 3.3 ___ Python tracker _

[issue19608] devguide needs pictures

2014-07-05 Thread Mark Lawrence
Mark Lawrence added the comment: Please close this. -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___ ___ Python-bu

[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Josh, your analysis is right, I had forgotten that we had improved this point in 3.x (interruptibility of lock.acquire()). It is *extremely* unlikely to be backported to 2.7, though, since it is really an enhancement. -- __

[issue21924] Cannot import anything that imports tokenize from script called token.py

2014-07-05 Thread Peter Inglesby
New submission from Peter Inglesby: A script called token.py that imports anything that ends up importing tokenize, such as logging, triggers the following error when the script is run: $ cat token.py import tokenize $ python3 token.py Traceback (most recent call last): File "token.py", line

[issue21924] Cannot import anything that imports tokenize from script called token.py

2014-07-05 Thread Ned Deily
Ned Deily added the comment: That's because there is also a standard library module named token (https://docs.python.org/3/library/token.html). When you run python, by default the current working directory is inserted at the beginning of sys.path, the list of directories searched for modules.

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I've no objection to people trying to take this forward We were really looking for your approval, thank you. -- ___ Python tracker ___ __

[issue21922] PyLong: use GMP

2014-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that we could probably release the GIL in the current implementation, too - we just haven't bothered adding such an optimization. -- nosy: +pitrou ___ Python tracker

[issue21925] ResouceWarning sometimes doesn't display

2014-07-05 Thread Masami HIRATA
New submission from Masami HIRATA: It seems that ResouceWarning about unclosed file handles with '-W all' option sometimes doesn't display. Is this behaviour normal? $ uname -a Linux ashrose 3.2.0-65-generic #99-Ubuntu SMP Fri Jul 4 21:03:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ python3.4

[issue17652] Add skip_on_windows decorator to test.support

2014-07-05 Thread Zachary Ware
Zachary Ware added the comment: The patch looks fine, but I don't see a big gain from it; call me +0. It might be interesting to see a patch that converts current "@skipIf(sys.platform == 'win32' or os.name == 'nt')" instances to "@skip_on_windows" to see just what kind of difference it makes

[issue21925] ResouceWarning sometimes doesn't display

2014-07-05 Thread Ned Deily
Ned Deily added the comment: I believe this is an artifact of hash randomization which affects the order of how objects are destroyed during shutdown. If you run your test using different values of the PYTHONHASHSEED environment variable, you'll probably see predictable results. For example,

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was going to work on this 'today' (well, Saturday), but I injured my eye a bit and cannot see well enough to work on code. I am hoping things will be better after sleeping for a night. -- ___ Python tracker

[issue10190] Can argparse._AttributeHolder._get_kwargs become a public API?

2014-07-05 Thread paul j3
paul j3 added the comment: Apart from sorting, `_get_kwargs` does little more than: return [k for k in action.__dict__.items() if not k[0].startswith('_')] That is, it's the `items()` of the 'public' attributes of the action (or parser). Those attributes are already accessible to the code

[issue21926] Bundle C++ compiler with Python on Windows

2014-07-05 Thread Ben Lucato
New submission from Ben Lucato: I am wondering if it is at all on the roadmap to bundle a C compiler with Python on Windows, given that installing libraries with C extensions is very confusing on Windows. For example, to install NumPy on Windows you end up either having to download the right

[issue9554] test_argparse.py: use new unittest features

2014-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset f240ca6345c8 by Berker Peksag in branch 'default': Issue #9554: Use modern unittest features in test_argparse. http://hg.python.org/cpython/rev/f240ca6345c8 -- nosy: +python-dev ___ Python tracker

[issue9554] test_argparse.py: use new unittest features

2014-07-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks Denver and Radu. And thanks for the review, Ezio. -- assignee: -> berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue2403] Add figleaf coverage metrics

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai