Re: Your message to sqlite-users awaits moderator approval

2014-07-05 Thread Steve Hayes
On Sat, 05 Jul 2014 01:00:22 -0400, sqlite-users-boun...@sqlite.org wrote: Your mail to 'sqlite-users' with the subject hi Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list So has someone tried to

Re: Your message to sqlite-users awaits moderator approval

2014-07-05 Thread Chris Angelico
On Sat, Jul 5, 2014 at 4:19 PM, Steve Hayes hayes...@telkomsa.net wrote: On Sat, 05 Jul 2014 01:00:22 -0400, sqlite-users-boun...@sqlite.org wrote: Your mail to 'sqlite-users' with the subject hi Is being held until the list moderator can review it for approval. The reason it is being

Re: PEP8 and 4 spaces

2014-07-05 Thread Travis Griggs
On Jul 4, 2014, at 11:29, Lie Ryan lie.1...@gmail.com wrote: On 04/07/14 07:55, Gregory Ewing wrote: Steven D'Aprano wrote: That's exactly the problem with tabs - whatever you think your code looks like with tabs, other people will see quite different picture. Why do you consider this

Re: PEP8 and 4 spaces

2014-07-05 Thread Chris Angelico
On Sat, Jul 5, 2014 at 12:47 PM, Rick Johnson rantingrickjohn...@gmail.com wrote: Of course, I'm anxiously await my friend to ask for a drop light -- oh boy, that will be fun! :^) Just wait till you get into theatre, and people start asking for parcans, domes, bubbles, gobos, gels, and workers.

Re: PEP8 and 4 spaces

2014-07-05 Thread Gregory Ewing
Rick Johnson wrote: Why is a handheld light called a flashlight? It does not flash, According to Wikipedia, originally it did: Early flashlights ran on zinc–carbon batteries, which could not provide a steady electric current and required periodic 'rest' to continue functioning. Because

Re: PEP8 and 4 spaces

2014-07-05 Thread alister
On Sat, 05 Jul 2014 20:57:14 +1200, Gregory Ewing wrote: Rick Johnson wrote: Why is a handheld light called a flashlight? It does not flash, According to Wikipedia, originally it did: Early flashlights ran on zinc–carbon batteries, which could not provide a steady electric current and

OT: Flashlights [was Re: PEP8 and 4 spaces]

2014-07-05 Thread Steven D'Aprano
On Fri, 04 Jul 2014 19:47:45 -0700, Rick Johnson wrote: [A continuation of my last reply...] Here is a recent situation that occurred to me that showcases the tendency of humans to carelessly bind illogical terms to common objects, I think you mean the tendency of certain people to go off

Re: PEP8 and 4 spaces

2014-07-05 Thread Ian Kelly
On Fri, Jul 4, 2014 at 8:00 PM, Rick Johnson rantingrickjohn...@gmail.com wrote: Strangly, I rather fancy the idea of using tabs in code,,, which allow each viewer to view the code in his or her level of indention,,, however, i cannot justify using a tab as a replacement for a space. Tabs

Re: PEP8 and 4 spaces

2014-07-05 Thread Roy Smith
In article mailman.11525.1404586681.18130.python-l...@python.org, Ian Kelly ian.g.ke...@gmail.com wrote: On Fri, Jul 4, 2014 at 8:00 PM, Rick Johnson rantingrickjohn...@gmail.com wrote: Strangly, I rather fancy the idea of using tabs in code,,, which allow each viewer to view the code in

Re: PEP8 and 4 spaces

2014-07-05 Thread Robert Kern
On 2014-07-05 19:57, Ian Kelly wrote: On Fri, Jul 4, 2014 at 8:00 PM, Rick Johnson rantingrickjohn...@gmail.com wrote: Strangly, I rather fancy the idea of using tabs in code,,, which allow each viewer to view the code in his or her level of indention,,, however, i cannot justify using a tab as

Re: PEP8 and 4 spaces

2014-07-05 Thread Michael Torrie
On 07/04/2014 08:54 AM, Marko Rauhamaa wrote: Grant Edwards invalid@invalid.invalid: Definitely. Indenting with tabs vs. spaces is mostly personal preference (though spaces are better!). But, mixing the two is right out, and should be stomped on hard. Often one person writes the code and

Re: PEP8 and 4 spaces

2014-07-05 Thread Mark Lawrence
On 05/07/2014 23:03, Michael Torrie wrote: On 07/04/2014 08:54 AM, Marko Rauhamaa wrote: Grant Edwards invalid@invalid.invalid: Definitely. Indenting with tabs vs. spaces is mostly personal preference (though spaces are better!). But, mixing the two is right out, and should be stomped on

Re: PEP8 and 4 spaces

2014-07-05 Thread Chris Angelico
On Sun, Jul 6, 2014 at 4:57 AM, Ian Kelly ian.g.ke...@gmail.com wrote: I find it a little curious that nobody ever seems to advocate the use of vertical tabs instead of repeated newlines. It should offer the same benefit as horizontal tabs, namely that one could then independently configure

Re: PEP8 and 4 spaces

2014-07-05 Thread Dan Sommers
On Sun, 06 Jul 2014 09:27:59 +1000, Chris Angelico wrote: How often do you ever have multiple consecutive blank lines? My newlines are either single (line end) or in pairs (one blank line), and I don't remember having anything else (at least, not intentionally). Greater separation than a

Re: PEP8 and 4 spaces

2014-07-05 Thread Chris Angelico
On Sun, Jul 6, 2014 at 11:18 AM, Dan Sommers d...@tombstonezero.net wrote: On Sun, 06 Jul 2014 09:27:59 +1000, Chris Angelico wrote: How often do you ever have multiple consecutive blank lines? My newlines are either single (line end) or in pairs (one blank line), and I don't remember having

Re: Why is regexp not working?

2014-07-05 Thread Denis McMahon
On Fri, 04 Jul 2014 14:27:12 +0200, Florian Lindner wrote: self.regexps = [rit (?Pcoupling_iterations\d+) .* dt complete yes | write-iteration-checkpoint |, rit (?Pit_read_ahead\d+) read ahead My first thought is what is the effect of '|' as the last character in the regex?

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-05 Thread Tim Peters
Tim Peters added the comment: One more useless ;-) data point, from Macsyma: ? acosh; -- Function: acosh (x) - Hyperbolic Arc Cosine. I don't like area - while accurate, nobody else uses it. Gratuitous novelty is no virtue ;-) I like inverse better than arc, because it's all of

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

2014-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ram, do you want to provide a patch and benchmarks? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21911 ___

[issue17652] Add skip_on_windows decorator to test.support

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17652 ___ ___ Python-bugs-list

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

2014-07-05 Thread Berker Peksag
Berker Peksag added the comment: See also issue 18162. -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21911 ___ ___

[issue21715] Chaining exceptions at C level

2014-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added 3.4 because this private function makes cleaner and more bug-free existing code (mostly recently added) and possible future bug fixes. Note a bug just fixed by Benjamin (changeset 888fd1cdec6f). -- ___

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

[issue21920] Fixed missing colon in the docs

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: docs@python - berker.peksag nosy: +berker.peksag versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21920 ___

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

[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 rep...@bugs.python.org http://bugs.python.org/issue21920 ___

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

[issue21881] python cannot parse tcl value

2014-07-05 Thread Andreas Schwab
Andreas Schwab added the comment: Thanks, this is working now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21881 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org http://bugs.python.org/issue21911 ___

[issue15114] Deprecate strict mode of HTMLParser

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15114 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue21922 ___ ___

[issue21922] PyLong: use GMP

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mark.dickinson, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21922 ___ ___

[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

[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

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

2014-07-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) keywords: +easy nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21879 ___

[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

[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

[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

[issue15974] Optional compact and colored output for regrest

2014-07-05 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- superseder: - Optional compact and colored output for regrest ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___

[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 rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue21886 ___

[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

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue19714 ___

[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

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

[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

[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 shadowranger+pyt...@gmail.com: -- nosy: +josh.rosenberg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21922 ___ ___

[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

[issue9554] test_argparse.py: use new unittest features

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: Added file: http://bugs.python.org/file35869/issue9554_v4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9554 ___

[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 rep...@bugs.python.org

[issue21922] PyLong: use GMP

2014-07-05 Thread STINNER Victor
STINNER Victor added the comment: Please try the Python benchmark suite. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21922 ___ ___

[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

[issue21922] PyLong: use GMP

2014-07-05 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21922 ___ ___ Python-bugs-list

[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 ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9554 ___ ___ Python-bugs-list

[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

[issue17554] Compact output for regrtest

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17554 ___

[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

[issue17554] Compact output for regrtest

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17554 ___ ___ Python-bugs-list

[issue15974] Optional compact and colored output for regrest

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- superseder: Optional compact and colored output for regrest - Compact output for regrtest ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974

[issue20898] Missing 507 response description

2014-07-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20898 ___ ___ Python-bugs-list

[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 florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15025 ___ ___ Python-bugs-list

[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 n...@acm.org: -- assignee: - ned.deily nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21923 ___ ___

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

2014-07-05 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21578 ___ ___

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

2014-07-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: patch review - commit review versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10395 ___

[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

[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 breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5051 ___

[issue17737] test_gdb fails on armv7hl

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17737 ___

[issue17755] test_builtin assumes LANG=C

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17755 ___

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

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12259 ___ ___

[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

[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 breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087

[issue12602] Missing cross-references in Doc/using

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12602 ___

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

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1565071 ___

[issue1011113] Make “install” find the build_base directory

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue103

[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 rep...@bugs.python.org http://bugs.python.org/issue21880 ___

[issue17755] test_builtin assumes LANG=C

2014-07-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - duplicate stage: needs patch - resolved status: open - closed superseder: - readline-related test_builtin failure ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17755

[issue13886] readline-related test_builtin failure

2014-07-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13886 ___ ___ Python-bugs-list mailing list

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

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9571 ___

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

2014-07-05 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10190 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue20554

[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 rep...@bugs.python.org http://bugs.python.org/issue21852 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue10766 ___

[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 rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue19608 ___

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue12523

[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 rep...@bugs.python.org

  1   2   >