[issue1475523] gettext breaks on plural-forms header

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: I think that #17898 is in fact a duplicate of this bug, due to old values of k and v confusing things. Mark's patch looks correct to me, but the patch in #17898 also adds a test. If that patch gets reviewed, I'll apply it to 3.4/3.5, and possibly to 2.7

[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch against 3.5. This patch is atop the fix for #17898, so it won't apply cleanly to a stock 3.5. The patch uses warnings.warn() to issue a warning if the plural header is empty. There seems to be precedent for issuing warnings in the case of odd

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

2015-04-08 Thread A.M. Kuchling
New submission from A.M. Kuchling: (from discussion at the 2015 Python Language Summit) Current versions of Python make it relatively easy to install third-party packages such as requests. New users may not realize this, though, and continue using libraries such as urllib/urllib2 because

[issue18648] FP Howto and the PEP 8 lambda guildline

2014-12-31 Thread A.M. Kuchling
A.M. Kuchling added the comment: This section is trying to illustrate the reasoning that leads to PEP 8's conclusion, so I don't want to just replace it with a reference to PEP8. -- resolution: - wont fix status: open - closed ___ Python tracker

[issue18779] Misleading documentations and comments in regular expression HOWTO

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18779 ___ ___ Python-bugs-list mailing

[issue1671676] test_mailbox is hanging while doing gmake test on HP-UX v3

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- resolution: - wont fix status: languishing - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1671676

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3786 ___ ___ Python-bugs-list mailing

[issue433030] SRE: Atomic Grouping (?...) is not supported

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue433030 ___ ___ Python-bugs-list mailing

[issue9584] fnmatch, glob: Allow curly brace expansion

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9584 ___ ___ Python-bugs-list mailing

[issue10590] Parameter type error for xml.sax.parseString(string, ...)

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10590 ___ ___ Python-bugs-list mailing

[issue3367] Uninitialized value read in parsetok.c

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3367 ___ ___ Python-bugs-list mailing

[issue1467929] %-formatting and dicts

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1467929 ___ ___ Python-bugs-list mailing

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2202 ___ ___ Python-bugs-list mailing

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2212 ___ ___ Python-bugs-list mailing

[issue7695] missing termios constants

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7695 ___ ___ Python-bugs-list mailing

[issue5368] curses patch add color_set and wcolor_set , and addchstr family of functions

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5368 ___ ___ Python-bugs-list mailing

[issue14713] PEP 414 installation hook fails with an AssertionError

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14713 ___ ___ Python-bugs-list mailing

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1483 ___ ___ Python-bugs-list mailing

[issue1512163] mailbox (2.5b1): locking doesn't work (esp. on FreeBSD)

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1512163 ___ ___ Python-bugs-list mailing

[issue14944] Setup Usage documentation for pydoc, idle 2to3

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14944 ___ ___ Python-bugs-list mailing

[issue1751519] curses - new window methods: addchstr and addchnstr

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1751519 ___ ___ Python-bugs-list mailing

[issue2675] Curses terminal resize problems when Python is in interactive mode

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2675 ___ ___ Python-bugs-list mailing

[issue9770] curses.ascii.isblank() function is broken. It confuses backspace (BS 0x08) with tab (0x09)

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9770 ___ ___ Python-bugs-list mailing

[issue15858] tarfile missing entries due to omitted uid/gid fields

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15858 ___ ___ Python-bugs-list mailing

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

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745108 ___ ___ Python-bugs-list mailing

[issue14945] Setup Usage documentation for selected stdlib modules

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14945 ___ ___ Python-bugs-list mailing

[issue8502] support plurals in pygettext

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8502 ___ ___ Python-bugs-list mailing

[issue11352] Update cgi module doc

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11352 ___ ___ Python-bugs-list mailing

[issue1570255] redirected cookies

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1570255 ___ ___ Python-bugs-list mailing

[issue17006] Add advice on best practices for hashing secrets

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17006 ___ ___ Python-bugs-list mailing

[issue10552] Tools/unicode/gencodec.py error

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___ ___ Python-bugs-list mailing

[issue5901] missing meta-info in documentation pdf

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5901 ___ ___ Python-bugs-list mailing

[issue18280] Documentation is too personalized

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18280 ___ ___ Python-bugs-list mailing

[issue20487] Odd words in unittest.mock document.

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20487 ___ ___ Python-bugs-list mailing

[issue1723038] Curses Menu

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1723038 ___ ___ Python-bugs-list mailing

[issue1098749] Single-line option to pygettext.py

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1098749 ___ ___ Python-bugs-list mailing

[issue18787] Misleading error from getspnam function of spwd module

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18787 ___ ___ Python-bugs-list mailing

[issue10388] spwd returning different value depending on privileges

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10388 ___ ___ Python-bugs-list mailing

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1500504 ___ ___ Python-bugs-list mailing

[issue1687125] cannot catch KeyboardInterrupt when using curses getkey()

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1687125 ___ ___ Python-bugs-list mailing

[issue2209] mailbox module doesn't support compressed mbox

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2209 ___ ___ Python-bugs-list mailing

[issue4254] _cursesmodule.c callable update_lines_cols()

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4254 ___ ___ Python-bugs-list mailing

[issue1103213] Adding the missing socket.recvall() method

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103213 ___ ___ Python-bugs-list mailing

[issue2292] Missing *-unpacking generalizations

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list mailing

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12384 ___ ___ Python-bugs-list mailing

[issue18644] Got ResourceWarning: unclosed file when using test function from formatter module

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18644 ___ ___ Python-bugs-list mailing

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18518 ___ ___ Python-bugs-list mailing

[issue1599254] mailbox: other programs' messages can vanish without trace

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1599254 ___ ___ Python-bugs-list mailing

[issue21360] mailbox.Maildir should ignore files named with a leading dot

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21360 ___ ___ Python-bugs-list mailing

[issue1708316] doctest work with Windows PyReadline

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1708316 ___ ___ Python-bugs-list mailing

[issue2889] curses for windows (alternative patch)

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python-bugs-list mailing

[issue1005895] curses for win32

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1005895 ___ ___ Python-bugs-list mailing

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16024 ___ ___ Python-bugs-list mailing

[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

2014-12-31 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16776 ___ ___ Python-bugs-list mailing

[issue6490] os.popen documentation is probably wrong

2014-04-16 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for your patch! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed title: os.popen documentation is probably wrong - os.popen documentation is probably wrong ___ Python

[issue20103] Documentation of itertools.accumulate is confused

2014-04-15 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/issue20103 ___ ___ Python-bugs

[issue1704474] optparse tests fail under Jython

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Patch to add impl_detail() looks fine to me. -- versions: +Python 2.7, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1704474

[issue984870] curses: getmaxyx() breaks when the window shrinks

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: I agree with Chris's logic; the incorrect size seems to be a curses/ncurses bug that has gotten fixed somewhere along the line. You also aren't able to shrink the terminal to be smaller than the size of a derived window created with derwin(), but you seem

[issue15370] test_runpy should include namespace package tests

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Because Nick both originally created this ticket and also added the new tests (http://hg.python.org/cpython/rev/51dddfead80a/), I'll assume he knew what he was doing when he named those methods, and simply forgot to close this issue. -- assignee

[issue21225] io.py: Improve docstrings for classes

2014-04-15 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- components: +IO versions: +Python 2.7, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21225

[issue15840] Ambiguity with regard to the effect of accessing a closed IOBase instance

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed to 2.7, 3.4, and default. Thanks for your patch! -- nosy: +akuchling resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue1704474] optparse tests fail under Jython

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed to 2.7, 3.4, and default. Thanks for your patch! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1704474

[issue20103] Documentation of itertools.accumulate is confused

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for your patch! -- assignee: rhettinger - akuchling nosy: +akuchling resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue6490] os.popen documentation is probably wrong

2014-04-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: I thought the discussion of the return code was rather complicated and tried rewriting it; new patch attached. Is it an improvement? The new version also specifies the function's parameters. -- nosy: +akuchling Added file: http://bugs.python.org

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: BTW, this change is also relevant to 2.7. Previously I wouldn't have bothered to commit it to 2.7 since the branch was largely closed, but now we're talking about some corporate maintainer eventually going through and backporting fixes to the newly-extended

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: I dislike footnotes and prefer to put things in the text whenever possible. The text for this change struck as relevant enough -- it notes a property of the *stmt* parameter -- that it doesn't belong in a footnote. (I'd be happy to just make it a paragraph

[issue11983] Inconsistent hash and comparison for code objects

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for the patch! -- assignee: - akuchling nosy: +akuchling resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http

[issue10481] subprocess PIPEs are byte streams

2014-04-14 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10481 ___ ___ Python-bugs

[issue10481] subprocess PIPEs are byte streams

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for your patch! -- nosy: +akuchling resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10481

[issue17380] initproc return value is unclear

2014-04-14 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17380 ___ ___ Python-bugs-list mailing list

[issue14216] ImportError: No module named binascii

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: No traffic on bug in 2 years, and not clear if there's anything to fix. Closing. -- nosy: +akuchling resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep

[issue16537] Python’s setup.py raises a ValueError when self.extensions is empty

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: Patch LGTM to me too; someone can probably just commit it. -- nosy: +akuchling stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16537

[issue21225] io.py: Improve docstrings for classes

2014-04-14 Thread A.M. Kuchling
New submission from A.M. Kuchling: io.py contains the following to declare ABCs for some of its classes: class IOBase(_io._IOBase, metaclass=abc.ABCMeta): pass (and similarly for RawIOBase, BufferedIOBase, TextIOBase). _io._IOBase has an extensive docstring, but IOBase doesn't. (Python

[issue18644] Got ResourceWarning: unclosed file when using test function from formatter module

2014-03-31 Thread A.M. Kuchling
A.M. Kuchling added the comment: Version 5 of the patch looks fine; Vajrasky, I think you can go ahead and commit it. (I didn't understand RDM's comment about pydoc using DumbWriter; in 3.4, it doesn't seem to me that pydoc does. What am I missing?) -- nosy: +akuchling

[issue16038] ftplib: unlimited readline() from connection

2014-03-26 Thread A.M. Kuchling
A.M. Kuchling added the comment: Are we likely to actually apply this change to the 3.1 and 3.2 branches, given that even the later 3.3 branch is now in security-fix mode? If we're not going to change 3.1 or 3.2, this issue can just be closed

[issue16042] smtplib: unlimited readline() from connection

2014-03-26 Thread A.M. Kuchling
A.M. Kuchling added the comment: Are we going to apply a fix for this to 2.7? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16042

[issue20744] shutil should not use distutils

2014-03-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: Yes, tests are only run after a change is committed and pushed into Mercurial; this is done by BuildBot https://www.python.org/dev/buildbot/ . So it's a good idea to run tests before submitting a patch or committing a change. No matter how trivial a change

[issue20744] shutil should not use distutils

2014-03-20 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20744

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Terry: yes, the code for _decimal.c doesn't look especially helpful. (_csv.c is a bit more straightforward, but still isn't highly commented.) The problem is that decimal.py does have long docstrings discussions, so it's certainly useful. Is it inconsistent

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13437

[issue14332] Better explain junk concept in difflib doc

2014-03-19 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14332

[issue20744] shutil should not use distutils

2014-03-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Derek: thanks for your patch! However, did you run the test suite for the shutil module to verify that your change is correct? (The developer guide discusses running tests at http://docs.python.org/devguide/runtests.html ) -- nosy: +akuchling

[issue1599254] mailbox: other programs' messages can vanish without trace

2014-03-18 Thread A.M. Kuchling
A.M. Kuchling added the comment: The bug got so complicated, with so many variations and failure modes, that I just lost track of what to do next. Let's reboot. Problem #1 is that the single-file mailboxes subvert their own fcntl locking by writing to a temp. file and renaming; David's

[issue13437] Provide links to the source code for every module in the documentation

2014-03-18 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch for some of Julian's suggested modules. I went through Julian's list and included code links for the ones that a) weren't packages or only written in C, b) only had one Python file (which excluded os.path = posixpath.py/ntpath.py) and c) had

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2014-03-18 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch fixing the first return in get_matching_blocks() and updating the docs. I didn't change get_matching_blocks() to return a list again, assuming that we didn't want to do that. (Raymond doesn't say to do so, at least.) -- nosy

[issue14332] Better explain junk concept in difflib doc

2014-03-18 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for your patch! I took it and added some more text describing what junk is, and clarifying that junk affects what's matched but doesn't cause any differences to be ignored. -- nosy: +akuchling stage: needs patch - patch review Added file: http

[issue20906] Issues in Unicode HOWTO

2014-03-16 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20906 ___ ___ Python-bugs-list mailing

[issue17006] Add advice on best practices for hashing secrets

2014-03-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: +1 to reducing the number of notes, and to a security HOWTO. (Christian: if you need writing help, please let me know; I'd be happy to help.) -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http

[issue16728] Missing cross-reference in sequence glossary entry

2014-02-16 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16728 ___ ___ Python

[issue12211] Better document math.copysign behavior.

2014-02-16 Thread A.M. Kuchling
A.M. Kuchling added the comment: Applied. I added two sentences describing the NaN behaviour. -- nosy: +akuchling resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue12211] Better document math.copysign behavior.

2014-02-16 Thread A.M. Kuchling
A.M. Kuchling added the comment: OK; I'll just drop the 'If y is NaN' sentence. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12211

[issue12211] Better document math.copysign behavior.

2014-02-16 Thread A.M. Kuchling
A.M. Kuchling added the comment: Actually ISTM the 'if x is NaN' sentence can also go; it seems to just copy the sign bit no matter what x and y are. from math import * nan = float('nan') neg = -nan copysign(+1, copysign(nan, neg)) -1.0

[issue20610] Documentation with two slashes in URL links to v2.6.5c2

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: To clarify: http://www.python.org/doc//current/library/itertools.html returns the corresponding page from the 2.6.5c2 docs, while http://www.python.org/doc/current/library/itertools.html returns a 301 redirect to http://docs.python.org/library/itertools.html

[issue19363] Python 2.7's future_builtins.map is not compatible with Python 3's map

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Gareth Rees: it doesn't look like you attached the patch mentioned in your 02/04 comment. -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19363

[issue20237] Ambiguous sentence in document of xml package.

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: I applied Fran Bull's change; thanks for the patch! The vulnerabilities section had several grammar issues, so I made an editing pass over it and made various other changes in my commit. -- nosy: +akuchling stage: - committed/rejected status: open

[issue20487] Odd words in unittest.mock document.

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Maybe this would be clearer if it used the keyword, i.e. using the :attr:`~Mock.side_effect` attribute. Also, there's a typo in the quoted text: two equality method should be method'S'. -- nosy: +akuchling

[issue20497] Unclear word in socket document.

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: That line of documentation was introduced in changeset ca2a859e9bf6, which was issue #8866. Previously the parameters to getaddrinfo() were positional, so you had to supply all 5 of them. -- nosy: +akuchling

[issue16728] Missing cross-reference in sequence glossary entry

2014-02-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a possible patch that mentions collections.abc.Sequence. I left out MutableSequence, because I couldn't see how to mention it without making the definition longer and more complicated. (It could be objected that this is the *glossary

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2013-12-27 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1565525

[issue1098749] Single-line option to pygettext.py

2013-11-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I've applied a patch from #8502 that doesn't encourage the use of pygettext.py so strongly. I raised the issue of deprecating pygettext.py on python-dev on Nov 11 2013; the thread starts at https://mail.python.org/pipermail/python-dev/2013-November/130123

<    1   2   3   4   5   6   >