[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've confirmed the tests pass and the updated documentation renders nicely and without warnings. These changes now make the name attribute officially-supported and tested. -- resolution: -> fixed ___ Python tracke

[issue18532] hashlib.HASH objects should officially expose the hash name

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 238c37e4c395 by Jason R. Coombs in branch 'default': Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects. http://hg.python.org/cpython/rev/238c37e4c395 -- nosy: +python-dev

[issue18651] test failures on KFreeBSD

2013-08-04 Thread Petr.Salinger
Petr.Salinger added the comment: It is related to http://bugs.python.org/issue12958 http://bugs.python.org/issue17684 The second one changed support.anticipate_failure to unittest.skipIf -- nosy: +Petr.Salinger ___ Python tracker

[issue18658] Mercurial CPython log ticket link is broken

2013-08-04 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, it looks like it has been fixed. The format has changed as well. Previously: 5 hours ago R David Murray Merge: #18657: remove duplicate entries from Misc/ACKS.default tip 5 hours ago R David Murray #18657: remove duplicate entries from Misc/ACKS.

[issue18078] threading.Condition to allow notify on a specific waiter

2013-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: > FWIW, I don't support adding this functionality. I don't see precedents for > Condition Variables behaving this way in other languages. Also, I don't > think it is worth the added complexity, learning curve, and maintenance > burden. Condition varia

[issue18606] Add statistics module to standard library

2013-08-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: As noted before statistics.sum seems to have the same functionality as math.fsum. Statistics.add_partial, which does the majority of the work, also references the same cookbook recipe as the math.fsum documentation. IMHO statistics.sum should be removed. -

[issue18651] test failures on KFreeBSD

2013-08-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't expect problems on OSX because of this. However: the patch replaces support.anticipate_failure by unittest.skipIf and that seems wrong to me. -- ___ Python tracker _

[issue18658] Mercurial CPython log ticket link is broken

2013-08-04 Thread Ned Deily
Ned Deily added the comment: Sorry, I'm not seeing this behavior. Is it still happening for you? -- nosy: +ned.deily ___ Python tracker ___ _

[issue14323] Normalize math precision in RGB/YIQ conversion

2013-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you add a reference for the coefficients? I believe def test_main(): test.support.run_unittest(ColorsysTest) if __name__ == "__main__": test_main has been and is being replaced in other test files with if __name__ == "__main__": unittest.main and sho

[issue18658] Mercurial CPython log ticket link is broken

2013-08-04 Thread Vajrasky Kok
New submission from Vajrasky Kok: Go to http://hg.python.org/cpython. All ticket links (number preceded by #), such as #18567 refer to bugs in jython. For example: 5 hours ago R David Murray Merge: #18657: remove duplicate entries from Misc/ACKS.default tip 5 hours ago R David Murray

[issue18078] threading.Condition to allow notify on a specific waiter

2013-08-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I don't support adding this functionality. I don't see precedents for Condition Variables behaving this way in other languages. Also, I don't think it is worth the added complexity, learning curve, and maintenance burden. Condition variables are us

[issue18078] threading.Condition to allow notify on a specific waiter

2013-08-04 Thread João Bernardo
João Bernardo added the comment: I've been thinking about returning a list on "wait_for_any", but that way you will not be able to implement "wait_for" using it! "wait_for" will return False on timeouts while "wait_for_any" will return a list with some conditions(evaluates to True). Also, "wa

[issue18652] Add itertools.first_true (return first true item in iterable)

2013-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: I concede Tim's point about itertools already using underscores where it improves readability of a name :) So, the latest state of the proposal is to add the following, preferably directly to the module, but at least as a recipe in the itertools docs: def f

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: > Python's current regex engine isn't so coded. That's > the reason for the up-front check. It's peculiar then that nobody noticed before now that the check was so badly broken ;-) Offhand, do you have an example that displays bad behavior in 2.7? I'm curious be

[issue18652] Add itertools.coalesce

2013-08-04 Thread Tim Peters
Tim Peters added the comment: > skipping the underscore ("firsttrue" or "nexttrue") > would arguably be more consistent with other itertools names. Like izip_longest and combinations_with_replacement? ;-) I care about readability here more than consistency with the bulk of itertools names. "f

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Matthew Barnett
Matthew Barnett added the comment: Python's current regex engine isn't so coded. That's the reason for the up-front check. -- ___ Python tracker ___

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: Matthew, yes, I agree that a regexp engine can be coded to be robust against unboundedly repeated matching of an empty string. I don't know whether Python's current engine is so coded. It's easy to trick the 2.7 engine into accepting regexps that do try to match

[issue18652] Add itertools.coalesce

2013-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: A wild timbot appears! :) Tim Peters added the comment: > As to the name, I like "first_true". Does what it says. Plain "first" is misleading, and "coalesce" is both inscrutable and nearly impossible to spell ;-) A fair point, although skipping the underscore (

[issue12645] test.support. import_fresh_module - incorrect doc

2013-08-04 Thread Ben Finney
Ben Finney added the comment: On 01-Aug-2013, Eli Bendersky wrote: > Ben, would you like to provide an updated patch? Unfortunately, contributions are not accepted under the Apache Software Foundation License (as I had thought), but also require assigning extra privileges to the Python Software

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Matthew Barnett
Matthew Barnett added the comment: Suppose you have a repeated pattern, such as "(?:...)*" or "(?:...){0,100}". If, after matching the subpattern, the text position hasn't changed, and none of the capture groups have changed, then there has been no progress, and the subpattern will be matched

[issue14323] Normalize math precision in RGB/YIQ conversion

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which implements the FCC version of RGB/YIQ conversion. -- Added file: http://bugs.python.org/file31161/colorsys_yiq_fcc.patch ___ Python tracker

[issue4322] function with modified __name__ uses original name when there's an arg error

2013-08-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- versions: +Python 3.4 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4322] function with modified __name__ uses original name when there's an arg error

2013-08-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea stage: committed/rejected -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11798] Test cases not garbage collected after run

2013-08-04 Thread Michael Foord
Michael Foord added the comment: The doc patch looks good, thanks Matt. I'll read it through properly before committing. -- ___ Python tracker ___ __

[issue18563] No unit test for yiq to rgb and rgb to yiq converting functions

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is superseded by issue14323. -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> Normalize math precision in RGB/YIQ conversion ___ Python tracker

[issue11798] Test cases not garbage collected after run

2013-08-04 Thread Michael Foord
Michael Foord added the comment: This smells like a new feature to me (it's certainly a fairly significant change in behaviour) and isn't appropriate for backporting to 2.7. It can however go into unittest2. I agree with David that a destructive iteration using pop is more likely to cause bac

[issue18652] Add itertools.coalesce

2013-08-04 Thread Hynek Schlawack
Hynek Schlawack added the comment: > But why you want to have a separate function instead of just use two builtins? This question has been answered twice now, once from Nick – please refer above. It's a clunky and error-prone solution to a common problem. Maybe you can't emphasize because it's

[issue18652] Add itertools.coalesce

2013-08-04 Thread Tim Peters
Tim Peters added the comment: FWIW, I like this. It would be a nice addition to the itertools module. +1 The `key` argument should be renamed to `pred`, as others have said. As to the name, I like "first_true". Does what it says. Plain "first" is misleading, and "coalesce" is both inscrutab

[issue5845] rlcompleter should be enabled automatically

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you know that the readline module first force rebind of TAB to insert-tab? -- ___ Python tracker ___ ___

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: Matching an empty string an unbounded number of times isn't a case of exponential runtime, it's a case of infinite runtime, unless the regexp internals are smart enough to cut the search off (I don't know enough about re's internals to know whether it's smart enou

[issue18652] Add itertools.coalesce

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Well, for many – including me – it would mean to have this one-line function > in every other project or a PyPI dependency. But why you want to have a separate function instead of just use two builtins? -- ___ P

[issue4322] function with modified __name__ uses original name when there's an arg error

2013-08-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think fixing this is a valid request. -- resolution: invalid -> status: closed -> open ___ Python tracker ___ _

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Exactly -- resolution: -> duplicate status: open -> closed superseder: -> function with modified __name__ uses original name when there's an arg error ___ Python tracker

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: http://bugs.python.org/issue4322 ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: That's because argument error messages use the code's co_name rather than the functions. (This is a dupe of another bug about this that I can't find.) -- nosy: +benjamin.peterson ___ Python tracker

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry. The actual problem reported was that the traceback uses the wrong name. I can still reproduce this in 3.4; attached is a repro. -- Added file: http://bugs.python.org/file31160/functools_wraps_oddity.py ___ P

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Agree. Here is a partial patch which fixes getwidth() and doctest regexp. But I don't know how to fix _simple(). Perhaps we should permanently remove the "nothing to repeat" check. It guards only against '(.*)*', but there are other methods to make regexp ma

[issue18606] Add statistics module to standard library

2013-08-04 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: As the person originally trying to take the mean of timedelta objects, I'm personally fine with the workaround of: py> m = statistics.mean([x.total_seconds() for x in data]) py> td(seconds=m) datetime.timedelta(2, 43200) At the time I was trying to take the

[issue10329] trace.py and unicode in Python 3

2013-08-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python

[issue1764286] inspect.getsource does not work with decorated functions

2013-08-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10427] 24:00 Hour in DateTime

2013-08-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> rejected stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue18657] Remove duplicate ACKS entries

2013-08-04 Thread R. David Murray
R. David Murray added the comment: Thanks, Madison. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior versions: +Python 3.3 -Python 3.5 ___ Python tracker

[issue18657] Remove duplicate ACKS entries

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ec323dadca2 by R David Murray in branch '3.3': #18657: remove duplicate entries from Misc/ACKS. http://hg.python.org/cpython/rev/2ec323dadca2 New changeset f4f81ebc3de9 by R David Murray in branch 'default': Merge: #18657: remove duplicate entries

[issue18151] Idlelib: update to "with open ... except OSError" (in 2.7, leave IOError)

2013-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch looked good, so I backported to 2.7 (attached, in case there are problems) and pushed. -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed Added file: http://bugs.python.org/file31158

[issue18151] Idlelib: update to "with open ... except OSError" (in 2.7, leave IOError)

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset e450e85e2075 by Terry Jan Reedy in branch '3.3': Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'. http://hg.python.org/cpython/rev/e450e85e2075 New changeset 7f6661a90d02 by Terry Jan Reedy in branch '2.7': Issue #18151: R

[issue18657] Remove duplicate ACKS entries

2013-08-04 Thread Madison May
Madison May added the comment: Now with 100% more patch. Thanks for the catch, David. -- keywords: +patch Added file: http://bugs.python.org/file31157/ACKS_duplicates.patch ___ Python tracker _

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: I'm afraid it's just too tricky for the code to deduce that a negative lookahead assertion can imply that a later match can't be empty. But I don't know how smart the re compilation code already is ;-) It occurs to me now that the doctest regexp could worm around

[issue18657] Remove duplicate ACKS entries

2013-08-04 Thread R. David Murray
R. David Murray added the comment: Did you intend to attach a patch? -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-l

[issue18657] Remove duplicate ACKS entries

2013-08-04 Thread Madison May
New submission from Madison May: The title says it all. I used collections.Counter to check for duplicates in ACKS and cleaned up a few double entries. -- assignee: docs@python components: Documentation messages: 194410 nosy: docs@python, madison.may priority: normal severity: normal s

[issue8860] Rounding in timedelta constructor is inconsistent with that in timedelta arithmetics

2013-08-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue8860] Rounding in timedelta constructor is inconsistent with that in timedelta arithmetics

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7c84ef35b00 by Alexander Belopolsky in branch 'default': Fixes #8860: Round half-microseconds to even in the timedelta constructor. http://hg.python.org/cpython/rev/f7c84ef35b00 -- nosy: +python-dev ___

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Sure, something like "The purpose of this function is to construct a string which will be later interpreted by MS C runtime as denoting a sequence of arguments. Because of this the string is built in such a way as to preserve the original characters when inte

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy, I don't see the regexp '(?:.*$\n?)*' anywhere in doctest.py. Are you > talking about the _EXAMPLE_RE regexp? That's the closest I see. Yes, it is. In my previous message I answered Eli. > If that's the case, the "nothing to repeat" error is incor

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: The docstring starts with this statement "Translate a sequence of arguments into a command line string, using the same rules as the MS C runtime:" which clearly makes the impression that function list2cmdline uses the same rules as the MS C runtime. However af

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread R. David Murray
R. David Murray added the comment: "Using the same rules as the MS C runtime" means that, given a sequence (list) of arguments, create a string that uses the same quoting that the MS C runtime uses. That is, if you have a sequence of arguments in a C program, and you want to call another wind

[issue11033] ElementTree.fromstring doesn't work with Unicode

2013-08-04 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16692] Support TLS 1.1 and TLS 1.2

2013-08-04 Thread Wes Turner
Wes Turner added the comment: http://docs.python.org/3.4/whatsnew/3.4.html#ssl re: Backporting to Python 2.7: maybe something like: backports.ssl (like backports.ssl_match_hostname) https://pypi.python.org/pypi/backports/ -- nosy: +westurner ___ Py

[issue18264] enum.IntEnum is not compatible with JSON serialisation

2013-08-04 Thread Ethan Furman
Ethan Furman added the comment: Forgot to add float tests. Included in this patch. -- Added file: http://bugs.python.org/file31156/issue18264.stoneleaf.03.patch ___ Python tracker _

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Madison May
Madison May added the comment: Yup, here are the relevant lines of the diff for PEP 3155: @@ -568,7 +607,7 @@ func_repr(PyFunctionObject *op) { return PyUnicode_FromFormat("", - op->func_name, op); + op->func_qualname, op); } -

[issue18264] enum.IntEnum is not compatible with JSON serialisation

2013-08-04 Thread Ethan Furman
Ethan Furman added the comment: This patch handles both float and int subclasses, and includes fixes/improvements from the review. -- Added file: http://bugs.python.org/file31155/issue18264.stoneleaf.02.patch ___ Python tracker

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: Serhiy, I'm asking you to be very explicit about which regexp in doctest.py you're talking about. If you're talking about the _EXAMPLE_RE regexp, I already explained what's going on with that. If you're talking about some other regexp, I have no idea which one y

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The doctest engine uses a regexp which contains subpattern which now considered as illegal be the regexp engine (due to unlucky coincidence MAXREPEAT == sys.maxsize on 32-bit platforms). We should rewrite the _simple() function in the re module to be more sm

[issue18651] test failures on KFreeBSD

2013-08-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11798] Test cases not garbage collected after run

2013-08-04 Thread Matt McClure
Changes by Matt McClure : Added file: http://bugs.python.org/file31154/11798-20130803-matthewlmcclure.patch ___ Python tracker ___ ___ Python

[issue11798] Test cases not garbage collected after run

2013-08-04 Thread Matt McClure
Matt McClure added the comment: Michael Foord voidspace.org.uk> writes: > On 2 Aug 2013, at 19:19, Antoine Pitrou pitrou.net> wrote: > > The patch is basically ready for commit, except for a possible doc > > addition, no? > > Looks to be the case, reading the patch it looks fine. I'm currently

[issue8865] select.poll is not thread safe

2013-08-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Tim Peters
Tim Peters added the comment: Serhiy, I don't see the regexp '(?:.*$\n?)*' anywhere in doctest.py. Are you talking about the _EXAMPLE_RE regexp? That's the closest I see. If that's the case, the "nothing to repeat" error is incorrect: _EXAMPLE_RE also contains a negative lookahead assertion

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread STINNER Victor
STINNER Victor added the comment: Python 3.4.0a0 (default:62658d9d8926+, Aug 1 2013, 23:05:18) [GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> def func(): pass ... >>> func >>> func.__qualname__="PEP 3155" >>> func

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: I guess this is a direct consequence of PEP 3155 [1]. From the PEP: """ The repr() and str() of functions and classes is modified to use __qualname__ rather than __name__. """ [1] http://www.python.org/dev/peps/pep-3155/ -- nosy: +mark.dickinson, pit

[issue18656] setting function.__name__ doesn't affect repr()

2013-08-04 Thread Guido van Rossum
New submission from Guido van Rossum: In Python 3.2 and earlier: >>> def f(): pass ... >>> f.__name__ = 'g' >>> f However in Python 3.3 and later, the last line shows 'f' instead of 'g'. -- components: Interpreter Core messages: 194394 nosy: gvanrossum priority: normal severity: norma

[issue18484] No unit test for iso2time function from http.cookiejar module

2013-08-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread R. David Murray
R. David Murray added the comment: The list form of Popen should never be used with shell=True. It would be very good if someone would propose a 'cmd.exe quote' function for the stdlib. But both of these points don't have anything to do with this issue, as far as I can see :) -- ___

[issue18652] Add itertools.coalesce

2013-08-04 Thread R. David Murray
R. David Murray added the comment: I'm not going to object to the name, since I see that it is used elsewhere in programming for the proposed meaning. But allow me to rant about the corruption of the English language here. To me, "coalesce" should involve a computation based on all of the el

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: > I think you're missing the point. The implementation is wrong as it > does not do what documentation says which is "A double quotation mark > preceded by a backslash is interpreted as a literal double quotation > mark." That docstring describes how the str

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread R. David Murray
R. David Murray added the comment: The first line above is incomplete. I meant that issue 1300 is only a duplicate in the sense that it points out that list2cmdline implements the MS C quoting rules, *not* the cmd.exe quoting rules. -- ___ Python t

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread R. David Murray
R. David Murray added the comment: This is a only a duplicate of issue 1300 in the sense that that issue points out that list2cmdline has nothing to do with passing/quoting strings for cmd.exe. list2cmdline is an internal function of the subprocess module. Its docstring documents the MS C qu

[issue18655] GUI apps take long to launch on Windows

2013-08-04 Thread netrick
netrick added the comment: The simplest way to reproduce it is: 1) Reboot your PC 2) Launch IDLE (pre-installed with Python) 3) Look how long it takes to launch and then compare that with instant launch on Linux -- ___ Python tracker

[issue18418] Thread.isAlive() sometimes True after fork

2013-08-04 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: New patch for 3.3 branch after Charles-François's critique: use _enumerate() where appropriate, and join the test thread before finishing the test. -- Added file: http://bugs.python.org/file31153/issue18418-3.patch ___

[issue18624] Add alias for iso-8859-8-i which is the same as iso-8859-8

2013-08-04 Thread R. David Murray
R. David Murray added the comment: This issue is actually about adding the aliases to the codecs module. I'm not entirely sure at this point what the canonical character set name should be for email output (which is what the ALIASES table controls). -- ___

[issue18418] Thread.isAlive() sometimes True after fork

2013-08-04 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: I'm back from a Zen retreat--no email!--will address your comments momentarily. On Fri, Aug 2, 2013 at 3:07 AM, Charles-François Natali < rep...@bugs.python.org> wrote: > > Charles-François Natali added the comment: > > I've posted another review (not sur

[issue18635] Enum sets _member_type_ to instantiated values but not the class

2013-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b034418e840b by Ethan Furman in branch 'default': Close #18635: Move class level private attribute from instance to class. http://hg.python.org/cpython/rev/b034418e840b -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected

[issue2445] Use The CygwinCCompiler Under Cygwin

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: Hi, Now issue18654 "modernize mingw&cygwin compiler classes" contain enhancement that could be reused by this issue: patch "0007-MINGW-compiler-cygwin-provides-its-own-C-runtime.patch " from archive , i.e. lets avoid change in get_msvcr() that return. Mingw is

[issue18655] GUI apps take long to launch on Windows

2013-08-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Can you provide a short script that reproduces this problem? AFAIK, Python doesn't display windows, the tcl/pygame libraries' C code creates the windows. -- nosy: +Ramchandra Apte ___ Python tracker

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I think you're missing the point. The implementation is wrong as it does not do what documentation says which is "A double quotation mark preceded by a backslash is interpreted as a literal double quotation mark." How the output of list2cmdline interacts with

[issue4709] Mingw-w64 and python on windows x64

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9148] os.execve puts process to background on windows

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: This is unexpected and makes people wonder what's going on. See http://stackoverflow.com/q/7004687/95735 and http://stackoverflow.com/q/7264571/95735. -- ___ Python tracker _

[issue18652] Add itertools.coalesce

2013-08-04 Thread Hynek Schlawack
Hynek Schlawack added the comment: > def coalesce(iterable, default=None, pred=None): >return next(filter(pred, iterable), default) > > Are you sure you want add this one-line function to the itertools module > rather then to recipes? Well, for many – including me – it would mean to ha

[issue15315] Can't build Python extension with mingw32 on Windows

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9148] os.execve puts process to background on windows

2013-08-04 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6335] Add support for mingw

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: I would like to config that path to this issue is one of those for issue3871 - my patch for 2.6/2.7 enhanced by "?? (sorry I forgot user :( ) " for 3.0 . Now as requested "all in one patch" is split and first set is listed in issue17605 "build interpeter core"

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: Firstly, list2cmdline() takes a list as its argument, not a string: >>> import subprocess >>> print subprocess.list2cmdline([r'\"1|2\"']) \\\"1|2\\\" But the problem with passing arguments to a batch file is that cmd.exe parses arguments differently fro

[issue17605] mingw-meta: build interpeter core

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: please follow build of core modules - issue18653 . -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue9148] os.execve puts process to background on windows

2013-08-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18655] GUI apps take long to launch on Windows

2013-08-04 Thread netrick
New submission from netrick: On both Python 2 or 3, when you have GUI app (for example something in pygame or pyside or tk), when you launch it on Windows it takes about 4-6 seconds to display the Window for the first run. The next runs are faster, but only untill you reboot the PC. The thing

[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-08-04 Thread Charles-François Natali
Charles-François Natali added the comment: > Charles-Francois: why did you commit this to default only, and not > to 3.3? I overlooked it (apparently, the issue was tagged 3.4 only, and I didn't double-check that the code was present in 3.3 as well). Should be better now! -- versions:

[issue18647] re.error: nothing to repeat

2013-08-04 Thread Eli Bendersky
Eli Bendersky added the comment: Wonderfully terse, as usual. Can you be so kind to elaborate just a tiny bit more? Is the amount of doctests this affects so large that it's better to change the implementation? What are the plans for this "temporary" stage - is there an intention to fix the co

  1   2   >