[issue24301] gzip module failing to decompress valid compressed file

2015-06-14 Thread Nick Czeczulin
Nick Czeczulin added the comment: The spec allows for multi-member files. Some libraries and utilities seem to solve this problem (incorrectly?) by simply ignoring everything past the first member -- even when valid (e.g., DotNetZip, 7-Zip) For 2.7 and 3.4, the data that has been decompressed

[issue24351] string.Template documentation incorrectly references "identifiers"

2015-06-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-06-14 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2015-06-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue7352] pythonx.y-config --ldflags out of /usr and missing -L

2015-06-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22625] When cross-compiling, don’t try to execute binaries

2015-06-14 Thread koobs
koobs added the comment: Incorrect recursive use of make will be fixed in default, 3.5, 3.4 (?), 2.7 in issue 22359, reflect the versions correctly here so they're not forgotten. -- nosy: +koobs versions: +Python 2.7, Python 3.4, Python 3.6 ___ Pytho

[issue22359] Remove incorrect uses of recursive make

2015-06-14 Thread koobs
koobs added the comment: Add 3.5 to list of versions merging required for -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-b

[issue22359] Remove incorrect uses of recursive make

2015-06-14 Thread koobs
koobs added the comment: Initial commit to default is done. Backport to 2.7 & 3.4 branches remains to do -- components: -Cross-Build keywords: +easy ___ Python tracker ___ _

[issue7352] pythonx.y-config --ldflags out of /usr and missing -L

2015-06-14 Thread koobs
Changes by koobs : -- components: +Build keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8232] webbrowser.open incomplete on Windows

2015-06-14 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Official spelling of name of one of these browsers is "Firefox", not "FireFox". I suggest to rename WinFireFox class accordingly. -- nosy: +Arfrever ___ Python tracker

[issue24454] Improve the usability of the match object named group API

2015-06-14 Thread Ezio Melotti
Ezio Melotti added the comment: > print(mo['col']) > print(len(mo)) This has already been discussed in another issue. As Serhiy mentioned, len(mo) and mo[num] would be ambiguous because of the group 0, but mo[name] might be ok. -- ___ Python tracke

[issue24454] Improve the usability of the match object named group API

2015-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can use mo.groupdict(). print('Located coordinate at (%(row)s, %(col)s)' % mo.groupdict()) print('Located coordinate at ({row}, {col})'.format_map(mo.groupdict())) As for len(mo), this is ambiguous, as well as indexing with integer indices. You sugge

[issue24454] Improve the usability of the match object named group API

2015-06-14 Thread Raymond Hettinger
New submission from Raymond Hettinger: The usability, learnability, and readability of match object code would be improved by giving it a more Pythonic API (inspired by ElementTree). Given a search like: data = 'Answer found on row 8 column 12.' mo = re.search(r'row (?P\d+) column (?P\d+

[issue14780] urllib.request could use the default CA store

2015-06-14 Thread Martin Panter
Martin Panter added the comment: The documentation of the default value “cadefault=False” was fixed in Issue 17977. A later change seems to have made this paramter redundant. Anyway I think this can be closed. -- nosy: +vadmium status: open -> closed __

[issue24450] Add gi_yieldfrom calculated property to generator object

2015-06-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24451] Add metrics to future objects (concurrent or asyncio?)

2015-06-14 Thread Ned Deily
Changes by Ned Deily : -- nosy: +bquinlan, giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov ___ Python tracker ___ ___ Python-b

[issue24452] Make webbrowser support Chrome on Mac OS X

2015-06-14 Thread Brandon Milam
Brandon Milam added the comment: Boštjan Mejak the windows issue has been addressed in issue 8232 and recently patched for 3.5. http://bugs.python.org/issue8232 -- nosy: +jbmilam ___ Python tracker ___

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ded282f9615 by Senthil Kumaran in branch '3.4': Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. https://hg.python.org/cpython/rev/3ded282f9615 New changeset 9a0c5ffe7420 by Senthil Kumaran in branch 'de

[issue21528] Fix a number of typos in the documentation

2015-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ded282f9615 by Senthil Kumaran in branch '3.4': Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. https://hg.python.org/cpython/rev/3ded282f9615 New changeset 9a0c5ffe7420 by Senthil Kumaran in branch 'de

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2015-06-14 Thread Rose Ames
Rose Ames added the comment: Reproduced - the crash exists and the patch fixes it. -- nosy: +superluser versions: +Python 2.7 ___ Python tracker ___ _

[issue9939] Add a pipe type (FIFO) to the io module

2015-06-14 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue24452] Make webbrowser support Chrome on Mac OS X

2015-06-14 Thread Boštjan Mejak
Boštjan Mejak added the comment: I must add that it doesn't work on Windows 7, Python 3.4.3, either. I do have chrome.exe on the %PATH% and executing 'chrome' in Windows Command Prompt opens up the Chrome browser nicely, but it doesn't work so nicely by doing this: import webbrowser webbrowser

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b74a89b9c26 by Raymond Hettinger in branch '3.4': Issue #24453: Fix doubled word. https://hg.python.org/cpython/rev/7b74a89b9c26 -- nosy: +python-dev ___ Python tracker

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: The default version was fixed in issue21528, changeset db302b88fdb6. perhaps it simply needs to be backported. -- nosy: +orsenthil ___ Python tracker

[issue24453] A typo of doubled "the" words in the doc (easy fix)

2015-06-14 Thread Boštjan Mejak
New submission from Boštjan Mejak: https://docs.python.org/3.4/library/webbrowser.html#module-webbrowser Visit the link and read the first sentence of the 3rd paragraph. You'll notice that there are two "the" words by the end of that sentence. That's obviously a typo. Please fix it. The typo,

[issue24452] Make webbrowser support Chrome on Mac OS X

2015-06-14 Thread Ned Deily
Changes by Ned Deily : -- components: +Macintosh nosy: +ned.deily, ronaldoussoren stage: -> patch review title: Make webbrowser support Chrome on Mac OS/X -> Make webbrowser support Chrome on Mac OS X versions: +Python 2.7, Python 3.5, Python 3.6 __

[issue24452] Make webbrowser support Chrome on Mac OS/X

2015-06-14 Thread Ned Batchelder
New submission from Ned Batchelder: This doesn't work on Python 3.4 on a Mac with Yosemite and Chrome installed: import webbrowser webbrowser.get("chrome") This patch makes it work: ``` *** /usr/local/pythonz/pythons/CPython-3.4.1/lib/python3.4/webbrowser.py 2014-09-21 16:37:46.

[issue24448] Syntax highlighting marks multiline comments as strings

2015-06-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on changing the syntax highlighting for strings used as comments. Whether used as comments or for other purposes, they are still strings and the distinction is important for teaching Python. -- nosy: +rhettinger priority: normal -> low

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Guido van Rossum
Guido van Rossum added the comment: Most people actually are better off with just write(), and an API with more choices is not necessarily better. I'm sure this has come up before, I could've sworn it was you, sorry if it wasn't. Here's one reason why I don't like your proposed API. The read()

[issue24033] Update _test_multiprocessing.py to use script helpers

2015-06-14 Thread Christie
Christie added the comment: Now using existing function spawn_python instead of creating a new function. -- Added file: http://bugs.python.org/file39710/issue24033_multi.patch ___ Python tracker ___

[issue24279] Update test_base64 to use test.support.script_helper

2015-06-14 Thread Christie
Christie added the comment: Uploading a new patch, diffed against a public revision so it's reviewable. -- Added file: http://bugs.python.org/file39709/issue24279_base64.patch ___ Python tracker ___

[issue23981] Update test_unicodedata.py to use script_helpers

2015-06-14 Thread Christie
Christie added the comment: Uploading a new patch, diffed against a public revision so it's reviewable. -- Added file: http://bugs.python.org/file39708/issue23981_test_unicode.patch ___ Python tracker _

[issue24451] Add metrics to future objects (concurrent or asyncio?)

2015-06-14 Thread Joshua Harlow
New submission from Joshua Harlow: It would be quite useful to have some types of metrics attached to future objects so that callers could use them for various activities (scheduling repeated runs, post-analysis and such): Some of the ones that I can think would be useful: - 'submitted_at' (w

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Paul Sokolovsky
Paul Sokolovsky added the comment: No, I haven't brought this "many times before". Discussion on the mailing list last week was first time I brought up *this* issue. But it's indeed not the first time I provide feedback regarding various aspects of asyncio, so I wonder if this issue was closed

[issue5209] nntplib needs updating to RFC 3977

2015-06-14 Thread Martin Panter
Martin Panter added the comment: General RFC 3977 support was added as part of Issue 9360 (revision 0077ee30134c), so I am closing this one. For the record there are a couple bits of the patch that someone might still find useful: * New NNTP(bind=...) parameter * More lenient checking for succ

[issue24087] Documentation doesn't explain the term "coroutine" (PEP 342)

2015-06-14 Thread Martin Panter
Martin Panter added the comment: Here is a new patch: * Clarified some recent instances of “coroutine” as “native coroutine” (term taken from PEP 492) * Put “coroutine” before “coroutine function” in the glossary. * Merge “Use as coroutines” section into new coroutine compound statement docume

[issue24450] Add gi_yieldfrom calculated property to generator object

2015-06-14 Thread Martin Panter
Martin Panter added the comment: I left some comments on Reitveld. Does this also apply to the new “async def” native coroutines? If not, I think it should be made to. -- nosy: +vadmium stage: -> patch review ___ Python tracker

[issue24450] Add gi_yieldfrom calculated property to generator object

2015-06-14 Thread Benno Leslie
Benno Leslie added the comment: Attached is my first attempt at implementing this feature. It includes to implementation, updates to documentation, and added test cases. I'm not a regular contributor so look forward to any feedback on improving the patch. -- keywords: +patch Added fil

[issue24416] Return a namedtuple from date.isocalendar()

2015-06-14 Thread Baptiste Mispelon
Baptiste Mispelon added the comment: Here's a new patch with the name `IsoCalendarDate` used (it also fixes a wrong version in the `versionadded` section in the docs). Thanks -- Added file: http://bugs.python.org/file39705/issue24416_4.diff ___ Pyth

[issue24450] Add gi_yieldfrom calculated property to generator object

2015-06-14 Thread Benno Leslie
New submission from Benno Leslie: When a co-routine has delegated computation to another co-routine via "yield from", it is useful to be able to access the delegated-to co-routine. This proposed enhancement would add a new calculated property to the generator object called "gi_yieldfrom", whic

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Guido van Rossum
Guido van Rossum added the comment: Paul, you have brought this up many times before, and you have been refuted each time. Reading and writing just aren't symmetric operations. If you need awrite(), it's a two-line helper function you can easily write yourself. -- resolution: -> rejec

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Paul Sokolovsky
New submission from Paul Sokolovsky: This issue was brought is somewhat sporadic manner on python-tulip mailing list, hence this ticket. The discussion on the ML: https://groups.google.com/d/msg/python-tulip/JA0-FC_pliA/knMvVGxp2WsJ (all other messages below threaded from this) https://groups.

[issue24429] msvcrt error when embedded

2015-06-14 Thread eryksun
eryksun added the comment: >> python's DLL already has the necessary "complete manifest," right? > > In theory yes, but apparently it isn't working in this case. It > needs more investigation to figure out why. The manifest in the DLL is stored as resource ID 2. This secondary manifest is used