[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b by Florian Dahlitz in 
branch 'master':
bpo-29981: Add examples and update index for set, dict, and generator 
comprehensions'(GH-20272)
https://github.com/python/cpython/commit/2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue29981>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

After this flurry of commits, I think everything associated with the issue is 
now fixed.  

Along the way, I also noticed that the sys.audit() call had disappeared from 
the glob module (it's now restored) and filed issue #42098 to improve the test 
suite's checking of audit events.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 058affc09f0f105444ec62c880907a512b785b72 by Miss Skeleton (bot) 
in branch '3.8':
bpo-41192: Add documentation of undocumented audit events (GH-22832)
https://github.com/python/cpython/commit/058affc09f0f105444ec62c880907a512b785b72


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 46130f85381f697dc7f609b2659cc046d2370417 by Miss Skeleton (bot) 
in branch '3.9':
bpo-41192: Add documentation of undocumented audit events (GH-22831)
https://github.com/python/cpython/commit/46130f85381f697dc7f609b2659cc046d2370417


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7 by Saiyang Gou in branch 
'master':
bpo-41192: Add documentation of undocumented audit events (GH-21308)
https://github.com/python/cpython/commit/3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42098] Test suite should verify auditing events get triggered

2020-10-20 Thread A.M. Kuchling


New submission from A.M. Kuchling :

During the 3.10 development process, a call to `sys.audit()` got accidentally 
removed from the glob module. No tests caught it.

This is clearly bad. sys.audit() is intended for security-related purposes and 
can result in operations being cancelled, so someone may be relying on a 
particular event being triggered to catch a risky situation. If we then 
accidentally remove the audit event, that's a security hole.

The test suite should be verifying that audit events get triggered when we 
expect.  Presumably we'll need some kind of context manager or assertion that 
will do something like: 

  with self.assertAuditEventTriggered('glob.glob', 'path'):
glob.glob('path')

--
components: Tests
messages: 379154
nosy: akuchling
priority: normal
severity: normal
status: open
title: Test suite should verify auditing events get triggered
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue42098>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset b948d13ec076e757b7f6904aa67df2f36e4671b7 by Andrew Kuchling in 
branch '3.9':
[3.9] bpo-41192: Clarify the sys module's description of the auditing feature 
(GH-22821)
https://github.com/python/cpython/commit/b948d13ec076e757b7f6904aa67df2f36e4671b7


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset a797fd74fe11ef5968b8593b0d39b6aa6ba5aef1 by Miss Skeleton (bot) 
in branch '3.8':
bpo-41192: Clarify the sys module's description of the auditing feature 
(GH-22820)
https://github.com/python/cpython/commit/a797fd74fe11ef5968b8593b0d39b6aa6ba5aef1


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
pull_requests: +21777
pull_request: https://github.com/python/cpython/pull/22821

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 0c37269be7065b9b15b7b3a4406084f9535a793a by Andrew Kuchling in 
branch 'master':
bpo-41192: Clarify the sys module's description of the auditing feature 
(GH-22768)
https://github.com/python/cpython/commit/0c37269be7065b9b15b7b3a4406084f9535a793a


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39693] tarfile's extractfile documentation is misleading

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Closing after applying the PR.  Thanks!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.7, Python 3.8

___
Python tracker 
<https://bugs.python.org/issue39693>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39693] tarfile's extractfile documentation is misleading

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset b249aeae89f55b9da5cdff082ba271e2b15b7825 by Miss Skeleton (bot) 
in branch '3.9':
bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639) 
https://github.com/python/cpython/commit/b249aeae89f55b9da5cdff082ba271e2b15b7825


--

___
Python tracker 
<https://bugs.python.org/issue39693>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40554] Add escape to the glossary?

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Closing issue, since the consensus is to not add the term.

--
nosy: +akuchling
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40554>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39693] tarfile's extractfile documentation is misleading

2020-10-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ec42789e6e14f6b6ac13569aeadc13798d7173a8 by Andrey Doroschenko in 
branch 'master':
bpo-39693: mention KeyError in tarfile extractfile documentation (GH-18639)
https://github.com/python/cpython/commit/ec42789e6e14f6b6ac13569aeadc13798d7173a8


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue39693>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38144] Add the root_dir and dir_fd parameters in glob.glob()

2020-10-19 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

I'm digging around in the sys.audit() feature.  Did the sys.audit("glob.glob", 
...) call disappear in commit 8a64ceaf9856e7570cad6f5d628cce789834e019, or is 
something clever going on that I missed?

--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue38144>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ec18c468b8aed4b4a3d1942ae18b96d8efebe04b by Miss Skeleton (bot) 
in branch '3.8':
bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22770)
https://github.com/python/cpython/commit/ec18c468b8aed4b4a3d1942ae18b96d8efebe04b


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
pull_requests: +21731
pull_request: https://github.com/python/cpython/pull/22768

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 2ee6ef98b4cf94f4c21cc4301d4e226b70809c7e by Miss Skeleton (bot) 
in branch '3.9':
bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22767)
https://github.com/python/cpython/commit/2ee6ef98b4cf94f4c21cc4301d4e226b70809c7e


--

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41192] Some audit events are undocumented

2020-10-19 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ebc8c3828779374b9be4fae5c8ffc0059d36ac8c by Saiyang Gou in branch 
'master':
bpo-41192: Fix some broken anchors for audit event entries (#21310)
https://github.com/python/cpython/commit/ebc8c3828779374b9be4fae5c8ffc0059d36ac8c


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue41192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40626] application/x-hdf5 mime type missing from mimetypes library

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

MIME type added to master and 3.8 branches. Thanks for your patch!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40626] application/x-hdf5 mime type missing from mimetypes library

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 60c2a810e37994fc640c58d0ef45b6843354b770 by MARK SCHWAB in branch 
'master':
bpo-40626: Support HDF5 in mimetypes (GH-20042)
https://github.com/python/cpython/commit/60c2a810e37994fc640c58d0ef45b6843354b770


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue40626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Changes applied to master, 3.8, and 3.7.  Thanks!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue29620>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset f881c869753fb2b1b7aef353416893190251c539 by Miss Islington (bot) 
in branch '3.7':
bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-20817)
https://github.com/python/cpython/commit/f881c869753fb2b1b7aef353416893190251c539


--

___
Python tracker 
<https://bugs.python.org/issue29620>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 3e499cda47afe2282ca3f1d04151e2c86f2e7e09 by Miss Islington (bot) 
in branch '3.8':
bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-20816)
https://github.com/python/cpython/commit/3e499cda47afe2282ca3f1d04151e2c86f2e7e09


--

___
Python tracker 
<https://bugs.python.org/issue29620>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2020-06-11 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 46398fba4d66ad342cf2504ef947b5fb857423b2 by kernc in branch 
'master':
bpo-29620: iterate over a copy of sys.modules (GH-4800)
https://github.com/python/cpython/commit/46398fba4d66ad342cf2504ef947b5fb857423b2


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue29620>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25872] multithreading traceback KeyError when modifying file

2020-05-14 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
nosy: +akuchling
nosy_count: 5.0 -> 6.0
pull_requests: +19398
pull_request: https://github.com/python/cpython/pull/20092

___
Python tracker 
<https://bugs.python.org/issue25872>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

2020-04-16 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset cd09d7e55d160edc454763d3fb6a48180988741a by Miss Islington (bot) 
in branch '3.7':
bpo-39793: use the same domain on make_msgid tests (GH-18698) (GH-19555)
https://github.com/python/cpython/commit/cd09d7e55d160edc454763d3fb6a48180988741a


--

___
Python tracker 
<https://bugs.python.org/issue39793>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

2020-04-16 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ccf30e96d4bdcf04396e00899a0319041144509f by Miss Islington (bot) 
in branch '3.8':
bpo-39793: use the same domain on make_msgid tests (GH-18698) (GH-19554)
https://github.com/python/cpython/commit/ccf30e96d4bdcf04396e00899a0319041144509f


--

___
Python tracker 
<https://bugs.python.org/issue39793>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

2020-04-16 Thread A.M. Kuchling

A.M. Kuchling  added the comment:


New changeset 5565c30f0b25996a0e73477fc0e1e1aced52b926 by Batuhan Taşkaya in 
branch 'master':
bpo-39793: use the same domain on make_msgid tests (#18698)
https://github.com/python/cpython/commit/5565c30f0b25996a0e73477fc0e1e1aced52b926


--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue39793>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32173] linecache.py add lazycache to __all__ and use dict.clear to clear the cache

2020-03-20 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Patch has been applied.

--
nosy: +akuchling
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue32173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8840] truncate() semantics changed in 3.1.2

2020-03-05 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue8840>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38450] 3.8 Release Notes: IDLE section dupe

2019-10-11 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
pull_requests: +16300
pull_request: https://github.com/python/cpython/pull/16621

___
Python tracker 
<https://bugs.python.org/issue38450>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2019-05-14 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Yes, I think this issue can now be closed.

--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue34484>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2019-05-13 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Oh, I missed that there was already a patch. BTW, I found two dissections of 
zip files that also show disk numbers of 0: the one at 
https://rzymek.github.io/post/excel-zip64/ is exploring an Excel Zip issue, and 
the forensic tutorial at 
https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html is discussing 
the format.

--

___
Python tracker 
<https://bugs.python.org/issue22102>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2019-05-13 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

I also ran across this issue today, where the 'disks' value in a Zip file is 0. 
I'm trying to find out what software was used to create them, but it's quite 
plausible that it's Windows as Ramsey Kant suggests. So I think this fix should 
get applied to 3.8 and 3.7. Would it help if I produced a patch?

The PKWare Zip specification that takluyver links above has been updated -- it 
now has an April 29th updated -- but none of the changes are relevant to this.

Interestingly, the 'ditto' command on MacOS X (which can also unpack zip files) 
doesn't complain about the disk number either. I was unable to figure out where 
the source code for ditto is; I couldn't find it on opensource.apple.com.

--
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue22102>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20906] Issues in Unicode HOWTO

2019-03-03 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 97c288df614dd7856f5a0336925f56a7a2a5bc74 by Andrew Kuchling in 
branch 'master':
bpo-20906: Various revisions to the Unicode howto  (#8394)
https://github.com/python/cpython/commit/97c288df614dd7856f5a0336925f56a7a2a5bc74


--

___
Python tracker 
<https://bugs.python.org/issue20906>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2019-03-03 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset 97c288df614dd7856f5a0336925f56a7a2a5bc74 by Andrew Kuchling in 
branch 'master':
bpo-20906: Various revisions to the Unicode howto  (#8394)
https://github.com/python/cpython/commit/97c288df614dd7856f5a0336925f56a7a2a5bc74


--

___
Python tracker 
<https://bugs.python.org/issue34484>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2019-03-02 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
stage:  -> patch review

___
Python tracker 
<https://bugs.python.org/issue34484>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2018-09-15 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

Corrected in the unicode-howto-update branch being developed for issue #20906.

--
assignee: docs@python -> akuchling
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue34484>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20906] Issues in Unicode HOWTO

2018-09-15 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
assignee: docs@python -> akuchling
nosy: +akuchling

___
Python tracker 
<https://bugs.python.org/issue20906>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20906] Issues in Unicode HOWTO

2018-07-22 Thread A.M. Kuchling


Change by A.M. Kuchling :


--
keywords: +patch
pull_requests: +7921
stage: needs patch -> patch review

___
Python tracker 
<https://bugs.python.org/issue20906>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-07-07 Thread A.M. Kuchling


A.M. Kuchling  added the comment:


New changeset ced350b1952857a9b9c68ec7e2786358bcb61050 by Andrew Kuchling in 
branch 'master':
bpo-28626: rearrange discussion of output formatting to encourage f-strings 
(#6036)
https://github.com/python/cpython/commit/ced350b1952857a9b9c68ec7e2786358bcb61050


--

___
Python tracker 
<https://bugs.python.org/issue28626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33649] asyncio docs overhaul

2018-05-28 Thread A.M. Kuchling


A.M. Kuchling  added the comment:

The plan for updating things looks good, and I think the ordering of
tasks is good -- rearranging the APIs is a pretty simple first step,
and it matches other chapters in the Library Reference, which list
more important modules first and more specialized obscure modules
later.  Then we can work on writing the additional material.

Yury: do you want to do the re-organization into high- and low-level APIs?  If 
you'd like me to do it, I'll need a more explicit listing of which APIs fall 
into which category.  Also, do we want to create an explicit high-level and 
low-level sections and push everything else down a level, or just leave it 
implicit in the ordering?

--

___
Python tracker 
<https://bugs.python.org/issue33649>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2018-03-08 Thread A.M. Kuchling

Change by A.M. Kuchling <a...@amk.ca>:


--
pull_requests: +5798

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8840] truncate() semantics changed in 3.1.2

2018-03-06 Thread A.M. Kuchling

Change by A.M. Kuchling <a...@amk.ca>:


--
keywords: +patch
pull_requests: +5776

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue8840>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6519] Reorder 'with' statement for files in Python Tutorial

2017-06-12 Thread A.M. Kuchling

A.M. Kuchling added the comment:

PR filed against master: https://github.com/python/cpython/pull/2143

--
pull_requests: +2193

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6519>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23109] French quotes in the documentation are often ungrammatical

2017-02-15 Thread A.M. Kuchling

A.M. Kuchling added the comment:

It looks like there's nothing left to do for this ticket.

--
nosy: +akuchling
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23109>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18779] Misleading documentations and comments in regular expression HOWTO

2017-02-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Unfortunately making the sentences pedantically correct also makes them 
ungainly, and I think people generally assume that underscores are treated as a 
letter.

--
nosy: +akuchling
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18779>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28628] Failure to add signal handlers for any signal but SIGINT

2016-11-06 Thread A.M. Kuchling

Changes by A.M. Kuchling <a...@amk.ca>:


--
title: Failure to add -> Failure to add signal handlers for any signal but 
SIGINT

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28628>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10605] ElementTree documentation

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I don't see an 'entity' argument or attribute for TreeBuilder either.  
XMLParser has a .entity attribute, though.  Perhaps this was simple confusion?  
Adrian: please feel free to re-open and provide a patch if there's actually a 
bug here.

--
nosy: +akuchling
resolution:  -> not a bug
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10605>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9621] Graphviz output for 2to3 fixer patterns

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Matt, do you just want to drop the issue or provide a new patch?  Your code 
might well still be useful, but it's been 6 years, so you may not even have the 
code any longer.

--
nosy: +akuchling

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9621>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11368] Document why xml.etree.ElementTree.Element has no reference to parent

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Closing this old issue.

--
nosy: +akuchling
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11368>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4713] Installing sgmlop causes xmlrpclib error

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I don't believe this bug is still present in Python 2.7.  Issue #5767 removed 
sgmlop support from xmlrpclib in 2.7 alpha 1, and trying the test program 
succeeds.  Closing.

--
nosy: +akuchling
resolution:  -> works for me
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4713>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1778] SyntaxError.offset sometimes wrong

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Fixed in Python 3.2 alpha 3, so there's no longer any work to be done for this 
issue.  Closing.

--
nosy: +akuchling
resolution:  -> fixed
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1778>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8840] truncate() semantics changed in 3.1.2

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

"Why, this is a simple docstring change.  How difficult can it be?", I thought.

Ah ha ha ha.

Here's a patch against the 3.5 branch. It should also apply cleanly to 3.6 or 
3.7, except for a little Argument Clinic noise. 

The patch changes 3 occurrences of the truncate() docstring in Lib/_pyio.py, 
and 1 each in Modules/_io/{bytesio.c,fileio.c,iobase.c,stringio.c}.  Whew!  Do 
we want to change all of these occurrences, or just the one specific case of 
StringIO?  It seemed to me that we want to change them all.

--
nosy: +akuchling
Added file: http://bugs.python.org/file45375/issue8840.txt

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8840>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6519] Reorder 'with' statement for files in Python Tutorial

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Good suggestion -- here's a patch that moves it and rewrites a little.

--
nosy: +akuchling
Added file: http://bugs.python.org/file45374/issue6519.txt

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6519>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28587] list.index documentation missing start and stop arguments

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

The patch looks fine, though I suggest clarifying the example for a.index(333, 
2)  by adding a comment such as '# begin searching at index 2' to explain 
what's going on.

--
nosy: +akuchling

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28587>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12913] Add a debugging howto

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Éric Araujo: did you ever make any progress on this, such as producing a draft 
version?

--
nosy: +akuchling

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12913>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21864] Error in documentation of point 9.8 'Exceptions are classes too'

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

The patch looks good to me; I think it should just be applied.

--
nosy: +akuchling

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21864>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2016-11-06 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Oh, I didn't finish my thought on open questions: should we just drop the 
discussion of .ljust(), .zfill(), or should it be there so users are aware of 
it?  Similarly, is it still worth mentioning string.Template?

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28626] Tutorial: rearrange discussion of output formatting to encourage f-strings

2016-11-06 Thread A.M. Kuchling

New submission from A.M. Kuchling:

The 'output formatting' section of the tutorial talks a lot about manual 
formatting with things like .rjust() and .zfill(), with only a passing 
reference to 3.6's new f-strings.

The attached patch doesn't drop all of the old material, but it does rearrange 
the topics into a more modern order: f-strings first, featuring the discussion 
of formatting specifiers; then calling .format(); finally manual formatting 
with .ljust().

Open question:

--
assignee: docs@python
components: Documentation
files: tutorial-patch.txt
keywords: needs review, patch
messages: 280153
nosy: akuchling, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Tutorial: rearrange discussion of output formatting to encourage 
f-strings
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file45372/tutorial-patch.txt

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28626>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11582] Boilerplate code replaced in Python/ceval.c

2015-07-03 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Closing, because neither Amaury nor Raymond likes the idea.  Thanks for your 
work, anyway!

--
nosy: +akuchling
resolution:  - rejected
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11582
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23891
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-07 Thread A.M. Kuchling

A.M. Kuchling added the comment:

One unrelated improvement: describe some of the recently-added modules, and 
mention the json module.

--
keywords: +patch
Added file: http://bugs.python.org/file39647/modules.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23891
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-07 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Rewrite discussion of python-list a bit, and add pyvideo.org to the list of 
links.

--
Added file: http://bugs.python.org/file39648/tutorial.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23891
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-07 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Finally, the major stuff: add a section on pyvenv and pip to the tutorial.

--
Added file: http://bugs.python.org/file39649/venv.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23891
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-07 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23891
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10886] Unhelpful backtrace for multiprocessing.Queue

2015-04-22 Thread A.M. Kuchling

A.M. Kuchling added the comment:

neologix: did you intend to re-open this ticket when you made your 2013-03-05 
comment?  It seems to me that you didn't intend to -- your comment doesn't say 
're-opening because reason'.  I'll close it again; if you want, please 
re-open it and just explain why.

--
nosy: +akuchling
resolution:  - wont fix
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10886
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22501] Optimise PyLong division by 1 or -1

2015-04-22 Thread A.M. Kuchling

A.M. Kuchling added the comment:

From reading the discussion thread, it looks like the consensus is to not 
apply this set of patches because the speed-up is unfortunately small.  
Closing as won't-fix; please re-open if someone wishes to pursue this again.

--
nosy: +akuchling
resolution:  - wont fix
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22501
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15183] it should be made clear that the statement in the --setup option and the setup kw arg aren't included in the count

2015-04-21 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Committed to 3.4 and default.  Thanks for your patch!

--
nosy: +akuchling
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15183
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2716] Document license under which audioop is used

2015-04-21 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Van: what do you think?  I can prepare a patch for Aaron's suggested changes.

--
nosy: +akuchling, vanl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2716
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5784] raw deflate format and zlib module

2015-04-18 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Here's a short patch that expands the discussion of wbits, and duplicates it 
under both the compressobj() and decompress() methods.  Should I avoid the 
duplication and just have a reference?

--
nosy: +akuchling
Added file: http://bugs.python.org/file39102/patch-5784.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5784
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5784] raw deflate format and zlib module

2015-04-18 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
stage: needs patch - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5784
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5784] raw deflate format and zlib module

2015-04-18 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Thanks! Here's an updated version with some more rewriting -- the list is now 
in only one place and is linked-to from the decompression documentation.

--
Added file: http://bugs.python.org/file39105/patch-5784.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5784
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14374] Compiling Python 2.7.2 on HP11i PA-RISC ends with segmentation fault in Python executable

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

No further information from poster; please comment if you still wish to pursue 
this.  Closing this issue as obsolete.

If I'm interpreting the uname -a output correctly, this is HP-UX 11.11, 
released in 2000 according to 
http://en.wikipedia.org/wiki/HP-UX#Release_history.

--
nosy: +akuchling
resolution:  - out of date
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14374
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6006] ffi.c compile failures on AIX 5.3 with xlc

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Closing as obsolete.

--
nosy: +akuchling
resolution:  - wont fix
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6006
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6983] Add specific get_platform() for freebsd

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Closing this issue; judging by the comments, the fix should be pushed off to 
setuptools/distribute/whatever.

--
nosy: +akuchling
resolution:  - wont fix
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6983
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1475523] gettext breaks on plural-forms header

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

#17898 has been closed with basically the same fix as Mark's patch, so I'll 
close this issue.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1475523
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1648890] HP-UX: ld -Wl,+b...

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

No activity on this issue since 2007; HP-UX 11.23 was released in 2003. Closing 
as outdated.

--
nosy: +akuchling
resolution:  - out of date
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1648890
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21833] Fix unicodeless build of Python

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

The subsequent discussion didn't arrive at a consensus. Most commenters wanted 
to drop --disable-unicode support and thought these patches were too extensive 
for 2.7, but Serhiy noted that running the tests with --disable-unicode turns 
up problems in the Unicode enabled code.  There was no pronouncement from the 
BDFL or a release manager.

The python-dev discussion is archived at 
https://mail.python.org/pipermail/python-dev/2014-June/135181.html

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21833
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22211] Remove VMS specific code in expat.h xmlrole.h

2015-04-14 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
nosy: +akuchling, fdrake

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9014] Incorrect documentation of the PyObject_HEAD macro

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

The markup is not a huge deal, I think.  I also did some bits of rewording that 
can probably be ignored.  The TRACE_REFS question is the only important one, I 
think.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9014
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9014] Incorrect documentation of the PyObject_HEAD macro

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Did you intend to remove the discussion of Py_TRACE_REFS completely?  (I've 
reworked your patch a little bit, adding some markup such as 
:c:macro:`Py_REFCNT`.)

--
nosy: +akuchling
Added file: http://bugs.python.org/file39000/issue.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9014
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

No changes seems to be necessary, per MvL's comment.

--
nosy: +akuchling
resolution:  - wont fix
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8882
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16501] deprecate RISCOS support

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Nothing left to do for this ticket; closing.

--
nosy: +akuchling
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16501
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21039] pathlib strips trailing slash

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

The general mood on python-dev seemed to be that the trailing slash shouldn't 
be normalized.  Can this still be fixed, or is it too late since pathlib was 
shipped in 3.4?

The python-dev discussion was at 
https://mail.python.org/pipermail/python-dev/2014-August/135670.html

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1745108] 2.5.1 curses panel segfault in new_panel on aix 5.3

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Closing this ticket as outdated; AIX 5.3 is from 2004.

--
nosy: +akuchling
resolution:  - wont fix
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745108
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17898] gettext bug while parsing plural-forms metadata

2015-04-14 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
assignee:  - akuchling
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17898
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9741] msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Éric: do you still want to apply this patch?

(I don't think any of the 'global MESSAGES' statements in msgfmt.py are 
necessary; none of those functions is doing 'MESSAGES = something', just 
calling methods or setting keys in the dictionary.)

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9741
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21146] update gzip usage examples in docs

2015-04-14 Thread A.M. Kuchling

Changes by A.M. Kuchling a...@amk.ca:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21146
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21146] update gzip usage examples in docs

2015-04-14 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Applied to trunk.  Wolfgang Maier: thanks for your patch!

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21146
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2931] optparse: various problems with unicode and gettext

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I've turned ash's test program into a bunch of test cases against Python 3.5 
trunk.  Is it worth committing them?

--
nosy: +akuchling
Added file: http://bugs.python.org/file38940/issue2931.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19050] [Python 2, Windows] fflush called on pointer to potentially closed file

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Here's a patch that adds the necessary _PyVerify_fd checking for 3.4. It won't 
apply to 2.7 (too many changes between 2.7 and 3.4), and applies to 3.5 but 
does nothing because of the new Invalid Parameter Handler introduced into 3.5.

It doesn't fix the problem completely: there is then a new crash in 
sysmodule.c/sys_write().

Unfortunately I didn't manage to write a test that replicates this whole issue 
and fails if Python crashes.

--
keywords: +patch
nosy: +akuchling
Added file: http://bugs.python.org/file38954/issue19050.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19050
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue504219] locale.resetlocale is broken

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

It doesn't seem to me that we've really deprecated getdefaultlocale() -- it's 
not documented as such, and MAL makes the good point that getdefaultlocale() is 
trying to avoid calling setlocale().

Perhaps this is just a documentation problem?  _build_localename() just glues 
together the language code and the encoding, resulting in things like 
en_US.ISO8859-1, which turns out to not work.  So maybe we should document that 
getdefaultlocale() will sometimes guess wrong.

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue504219
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Proposed patch against 3.5.

--
keywords: +patch
nosy: +akuchling
stage: test needed - patch review
Added file: http://bugs.python.org/file38915/issue17898.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17898
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19715] test_touch_common failure under Windows

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

It looks like Antoine filed the precision-loss error as #19738 and that ticket 
is now closed.  I conclude there's nothing left to do on this ticket, so I'll 
close it.

--
nosy: +akuchling
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19715
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18217] Deprecate and remove gettext.install

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I suggest we just close this ticket.  I tried producing a documentation patch 
(attached), but they seem like a marginal improvement.  

(I don't think the text in the docs such as 'gettext' (bound to 
self.gettext()) is confusing; given the context, I think the reader will 
assume it's bound to the method and not to the results of calling that method.)

--
nosy: +akuchling
Added file: http://bugs.python.org/file38926/issue18217.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18217
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Victor's patch has moved to https://github.com/python/tulip/issues/191 .

--
nosy: +akuchling

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23057
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Adding a link to a bitbucket repo.

--
hgrepos: +304

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17898
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17898] gettext bug while parsing plural-forms metadata

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I would apply this change to 3.4 and 3.5.  Should I also backport it to 2.7?  I 
think the same bug applies there, though I haven't verified this or tried my 
patch.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17898
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   6   7   >