[issue4318] optparse: formatting of help text/descriptions

2012-11-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: I have no idea. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4318 ___ ___ Python-bugs-list mailing list

[issue9974] tokenizer.untokenize not invariant with line continuations

2012-11-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: I looked at this a bit and made a revised version of the patch that doesn't add any line continuations when the token is ENDMARKER. It works on the example program and a few variations I tried, though I'm not convinced that it'll work for all possible

[issue11313] Speed up default encode()/decode()

2012-11-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: MAL suggested adding a comment explaining why this can be done. If Alexander or someone wants to do that, great! Otherwise, there seems no other reason to leave this issue open. -- nosy: +akuchling ___ Python

[issue15802] Illegal test for mailbox

2012-08-28 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15802 ___ ___ Python-bugs-list mailing

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

2012-05-31 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14944 ___ ___ Python-bugs-list mailing

[issue14945] Setup Usage documentation for selected stdlib modules

2012-05-31 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14945 ___ ___ Python-bugs-list mailing

[issue13443] wrong links and examples in the functional HOWTO

2011-11-27 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Yes, linking to the functional module was to point people to a module that might be useful, even if it's not in the stdlib. A numeric processing or socket handling HOWTO would also pretty much have to link to non-stdlib sources. The purpose

[issue13443] wrong links and examples in the functional HOWTO

2011-11-23 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Here's a patch against the 3.3 trunk. -- Added file: http://bugs.python.org/file23765/functional-patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13443

[issue9124] Mailbox module should use binary I/O, not text I/O

2011-01-28 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing

[issue2650] re.escape should not escape underscore

2011-01-13 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650 ___ ___ Python-bugs-list mailing

[issue1376292] Write user's version of the reference guide

2010-11-12 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Not likely to be worked on, and whether to write such a guide is a question for the docs editor (or the Doc-SIG). -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2212 ___ ___ Python-bugs-list

[issue2209] mailbox module doesn't support compressed mbox

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2209 ___ ___ Python-bugs-list

[issue2657] Curses sometimes fails to initialize terminal

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2657

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3786 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1687125 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5368 ___ ___ Python-bugs-list

[issue4254] _cursesmodule.c callable update_lines_cols()

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4254 ___ ___ Python-bugs-list

[issue9557] test_mailbox failure under a Windows VM

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9557 ___ ___ Python-bugs-list

[issue1723038] Curses Menu

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1723038 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1512163 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745108 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1671676 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1751519 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1599254 ___ ___ Python-bugs-list

[issue1488934] file.write + closed pipe = no error

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1488934 ___ ___ Python-bugs-list

[issue2124] xml.sax and xml.dom fetch DTDs by default

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2124 ___ ___ Python-bugs-list

[issue1028088] Cookies without values are silently ignored (by design?)

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1028088 ___ ___ Python-bugs-list

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

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1483 ___ ___ Python-bugs-list

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-11-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1665333 ___ ___ Python-bugs-list

[issue502236] Asynchronous exceptions between threads

2010-08-18 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I'll close this issue, then. Maybe something fancier needs to be built atop the AsyncExc() function to allow a single thread to terminate all other threads, but unless someone actually presents a current use case (or a PEP), there seems little

[issue7647] Add statvfs flags to the posix module

2010-08-18 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Committed to 3.2 in rev. 84188; thanks, Adam! -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7647

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-08-17 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: -akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636 ___ ___ Python-bugs-list mailing

[issue5737] add Solaris errnos

2010-08-17 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: This patch looks unproblematic to me, unless we're trying to keep platform-specific error codes out of errnomodule.c. I removed Python 2.7 and 3.1 from Versions, guessing that this change would be unacceptable in a bugfix release. -- nosy

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-26 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Thanks for the catch; it was intended to be ', avoiding ...'. Fixed in rev83162, along with the sentence simplification you suggest. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue1886] Permit to easily use distutils --formats=tar, gztar, bztar on all systems

2010-07-26 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: akuchling - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1886 ___ ___ Python-bugs-list

[issue1495229] W3C - Python DOM type mapping docs need updating

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The current link in the docs works; it's http://www.omg.org/spec/PYTH/1.2/PDF/. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1495229

[issue1495229] W3C - Python DOM type mapping docs need updating

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Changed on the trunk in rev83149. I removed both paragraphs after the table, adding null and DOMString to the table, and took the word 'primitive' out of the first sentence (so the table isn't listing just primitive types, but can list DOMString

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: 2) changed in rev83151. I extensively rearranged the description of toxml(), hopefully making its meaning clearer. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1463043] test_minidom.py fails for Python-2.4.3 on SUSE 9.3

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Closing. The replaceChild() bug reported by tobixx was fixed by patch #1094164. -- resolution: - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue777884] minidom.py -- TypeError: object doesn't support slice assig

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Well, we certainly can't going making any incompatible changes now, so I've opted to add an empty normalize() method to the Childless mix-in. This makes minidom a little more liberal than other DOM implementations, but I think that's OK

[issue9124] Mailbox module demonstrates infeasibly slow performance

2010-07-11 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9124 ___ ___ Python-bugs-list mailing

[issue5753] CVE-2008-5983 python: untrusted python modules search path

2010-06-10 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Demo/embed/demo.c calls PySys_SetArgv(), which may be where some people are copying their code from. I've updated it to use PySys_SetArgvEx() and added an explanatory comment in rev. 81881. -- nosy: +akuchling

[issue5753] CVE-2008-5983 python: untrusted python modules search path

2010-06-10 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Since the function was also added to 2.6, the 2.6 What's New should mention it; added in rev81887. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5753

[issue8875] XML-RPC improvement is described twice.

2010-06-07 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Fixed in rev81801. Thanks for your report! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8875

[issue8769] Straightforward usage of email package fails to round-trip

2010-05-19 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: The attached test program shows how parsing an e-mail message with the email package, then converting the resulting message to a string, fails to round-trip properly. Instead it breaks the encoding of the subject line. The root of the problem

[issue8769] Straightforward usage of email package fails to round-trip

2010-05-19 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The attached patch is a possible fix; it uses the decode_header() and make_header() functions to figure out the encoding properly; it fixes my example, at least. But does it increase the odds of crashing on messages with malformed headers

[issue8769] Straightforward usage of email package fails to round-trip

2010-05-19 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Minor fix to the patch: the import of Header could actually be removed, since the class is no longer referenced at all with this change. -- ___ Python tracker rep...@bugs.python.org http

[issue8686] This isn't defined beyond that phrase is not friendly to non-native English speakers.

2010-05-12 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: How about just dropping those words entirely, and writing Return an approximate upper bound on ratio() very quickly. This is not as accurate as ratio(), but is faster to compute. (We'd make similar changes to real_quick_ratio()'s text

[issue8697] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: The attached patch adds a first cut at documenting the PEP 391 dictConfig() feature. I've taken the PEP 391 text and rearranged it to fit into the existing logging module docs. I haven't gone through every paragraph and adjusted the markup

[issue8696] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: The attached patch adds a first cut at documenting the PEP 391 dictConfig() feature. I've taken the PEP 391 text and rearranged it to fit into the existing logging module docs. I haven't gone through every paragraph and adjusted the markup

[issue8698] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: The attached patch adds a first cut at documenting the PEP 391 dictConfig() feature. I've taken the PEP 391 text and rearranged it to fit into the existing logging module docs. I haven't gone through every paragraph and adjusted the markup

[issue8697] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8697

[issue8698] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8698

[issue8696] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-12 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Thanks! Committed to trunk in rev81125. -- assignee: vinay.sajip - akuchling resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8696

[issue8404] Set operations don't work for dictionary views

2010-05-05 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: (commenting on a closed bug, because I'm not sure it should be re-opened) While coming up with examples, I found a weird inconsistency. Was it intentional for viewkeys() and viewitems() to support set operations, but not viewvalues()? d1

[issue8404] Set operations don't work for dictionary views

2010-05-05 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The fix is easy, I think; just add Py_TPFLAGS_CHECKTYPES to the PyDictValues_Type's definition. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8404

[issue8404] Set operations don't work for dictionary views

2010-05-05 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Ah, of course! It didn't occur to me that .values() isn't necessarily a set. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8404

[issue7384] curses crash on FreeBSD

2010-04-15 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Could I get a login on the buildbot to make a fix? I bet the problem is with the stdscr object. PyCurses_InitScr() does 'return (PyObject *)PyCursesWindow_New(stdscr);'. PyCursesWindow_Dealloc() does: if (wo-win != stdscr) delwin(wo-win); I bet

[issue7384] curses crash on FreeBSD

2010-04-15 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Here's a possible patch; it at least doesn't seem to break the module on MacOS, though MacOS doesn't crash with the current code either. -- keywords: +patch Added file: http://bugs.python.org/file16935/freebsd-curses.diff

[issue8404] Set operations don't work for dictionary views

2010-04-14 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: The examples of set operations in http://docs.python.org/dev/library/stdtypes#dictionary-view-objects don't work in the current 2.7 trunk: - ./python.exe Python 2.7b1+ (trunk:80084:80085M, Apr 14 2010, 21:17:06) [GCC 4.0.1 (Apple Inc. build

[issue8292] Incorrect condition test in platform.py

2010-04-02 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: While looking at #4440, I grepped for similar problems and found one in platform.py in the following line: if no_os_uname or not filter(None, (system, node, release, version, machine)) In 3.x, filter() returns an object, not a list, so

[issue4440] sort command doesn't work in pstats if run interactively

2010-04-02 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Thanks for your bug report and patch! The original 2.x version was pretty ugly code with a lambda that used default arguments, so I rewrote the line to be more modern; it now does ' all((x in abbrevs) for x in line.split())'. Committed my version

[issue6647] warnings.catch_warnings is not thread-safe

2010-04-02 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Added a warning to 2.x trunk in r79607, and Gabriel's doc change in r79608. This thread-unsafety seems specialized and rarely of great importance, so I used the note:: directive, not warning::. -- nosy: +akuchling resolution: - fixed

[issue2292] Missing *-unpacking generalizations

2010-03-02 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Updating version; does someone want to revive this for 3.2? -- nosy: +akuchling versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292

[issue706392] faster _socket.connect variant desired

2010-03-02 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706392 ___ ___ Python-bugs-list

[issue7100] test_xmlrpc: global name 'stop_serving' is not defined

2010-02-26 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The stop_serving() code was only added on the Py3k branch in rev59424. It was removed in rev60350, which is a merge commit; the diff is http://svn.python.org/view/python/branches/py3k/Lib/test/test_xmlrpc.py?r1=60094r2=60350. I don't know

[issue4852] Cleanup old stuff from pythread.h

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The patch seems obviously correct to me; there's no way a user of pythread.h can make NO_EXIT_PROG be undefined. The patch no long applies cleanly to thread_nt.h -- one hunk is rejected -- but it looks like the change in that hunk has already

[issue7038] test_curses fails on os x 10.6

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Closing this bug is fine with me. -- nosy: +akuchling resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7038

[issue1657] [patch] epoll and kqueue wrappers for the select module

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: What exactly needs to be finished in the documentation? There are sections for the epoll and kqueue objects, and the epoll section looks fine, if brief. Is the problem that the kqueue section says things like 'filter-specific data

[issue6243] getkey() can segfault in combination with curses.ungetch()

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Backported to 2.6-maint in commit 78324. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6243

[issue4174] Performance optimization for min() and max() over lists

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Should this patch just be rejected, then? Or is the more general locking suggested in msg88021 of interest? -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4174

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

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Thanks for the patches! Two comments on the addchstr change: * I think that, instead of checking for a list, the method should accept any Python sequence; a tuple is perfectly reasonable, for example, and if the code is changed to use

[issue7627] mailbox.MH.remove() lock handling is broken

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Thanks for your bug report! Unfortunately, the fix isn't quite right, because on Windows you can't delete files that are open. I think an even simpler fix is just to remove that locking; if self._locked is true, this process presumably has

[issue7647] Add statvfs flags to the posix module

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Here's a patch that updates the 2.7 docs. Adam, have you submitted a contributor agreement (http://www.python.org/psf/contrib/)? -- nosy: +akuchling Added file: http://bugs.python.org/file16318/posix-statvfs-flag-docs.txt

[issue1708316] doctest work with Windows PyReadline

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Does the attached, slightly simpler patch, also fix it? The patch just sets the .encoding attribute after creating it with _SpoofOut(). The revised patch doesn't seem to break anything on MacOS; I don't have access to Windows to test whether

[issue1514] missing constants in socket module

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The original problem has been fixed since 2007. Improving the #if condition doesn't seem very important to anyone, so I'll just close this bug. -- nosy: +akuchling resolution: - fixed status: open - closed

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I tried figuring out to rebuild the codecs using the scripts in Tools/unicode/ but failed. Is the use of that directory documented anywhere? -- ___ Python tracker rep...@bugs.python.org http

[issue1517495] memory leak threading or socketserver module

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I can no longer confirm this bug, either; trying the scripts with the current trunk doesn't seem to leak. Backing out Jeffrey's r61011 didn't bring the problem back, so I'll just conclude that the problem has gotten fixed along the way somehow

[issue2134] function generate_tokens at tokenize.py yields wrong token for colon

2010-02-22 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Unfortunately I think this will break many users of tokenize.py. e.g. http://browsershots.googlecode.com/svn/trunk/devtools/pep8/pep8.py has code like: if (token_type == tokenize.OP and text in '([' and ...): If tokenize now returns LPAR

[issue4199] add shorthand global and nonlocal statements

2010-02-21 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Bumping priority so this doesn't get forgotten before 3.2; it seems important because it fixes noncompliance with a PEP. -- nosy: +akuchling priority: normal - high ___ Python tracker rep

[issue1481] test_uuid is warning about unreliable functions

2010-02-21 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: They were disabled in r50949, with the comment: Disable these tests until they are reliable across platforms. These problems may mask more important, real problems. One or both methods are known to fail on: Solaris, OpenBSD, Debian

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-02-21 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Gabriel: could you please update the patch to take Antoine's comment into account? -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5099

[issue7593] Computed-goto patch for RE engine

2010-02-17 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I finally got around to benchmarking this change, and unfortunately the results are not good. I used the regex tests in the Unladen Swallow test suite, regex_effbot and regex_v8. The tests are written for Python 2.x, but the fixes for 3.x

[issue7593] Computed-goto patch for RE engine

2010-02-17 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Actually, I really want someone to verify that measurement. As a control, I tried running the call_method benchmark (after a few more xrange fixes). The Python 3.x trunk version with my patch is measured as 1.0227x slower, even though the patch

[issue7627] mailbox.MH.remove() lock handling is broken

2010-01-06 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: - akuchling nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7627

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

2010-01-06 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- assignee: georg.brandl - akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5368 ___ ___ Python

[issue7593] Computed-goto patch

2009-12-28 Thread A.M. Kuchling
New submission from A.M. Kuchling li...@amk.ca: Part of Unladen Swallow's roadmap is to use a threaded-interpreter technique for the regular expression engine. That sounded like an interesting idea, so I went ahead and tried to implement it. The current patch is attached. To try it: run

[issue7593] Computed-goto patch

2009-12-28 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: Added file: http://bugs.python.org/file15690/re-computed-goto-v1.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7593

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-07-27 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: We have lengthy sets of tests in Lib/test/regex_tests.py and Lib/test/test_re.py. While widespread testing of a standalone module would certainly be good, I doubt that will exercise many corner cases and the more esoteric features. Most actual code

[issue1607951] mailbox.Maildir re-reads directory too often

2009-05-02 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Updated version of the patch that only stores the current time -1sec, adds a test case, and passes all tests. -- keywords: +patch Added file: http://bugs.python.org/file13839/mailbox-mtime.patch

[issue1607951] mailbox.Maildir re-reads directory too often

2009-05-02 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Committed to trunk in rev. 72213. Committed to py3k in rev. 72228. -- resolution: - fixed status: open - closed versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http

[issue2170] rewrite of minidom.Node.normalize

2009-04-07 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: The new version of the code looks all right, so I think this patch can be applied. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2170

[issue4753] Faster opcode dispatch on gcc

2009-03-30 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Is a backport to 2.7 still planned? -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4753

[issue2889] curses for windows (alternative patch)

2009-02-26 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python-bugs-list mailing

[issue2889] curses for windows (alternative patch)

2009-02-26 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I can't say anything about the Windows build aspects. Some observations about the curses/test_curses changes: * test_curses: I'd be happier to see the 'if' statement as sys.platform != 'win32' and (not term or term == 'unknown') -- easier to read

[issue5368] curses patch add color_set and wcolor_set functions

2009-02-26 Thread A.M. Kuchling
Changes by A.M. Kuchling li...@amk.ca: -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5368 ___ ___ Python-bugs-list mailing

[issue4254] _cursesmodule.c callable update_lines_cols()

2009-02-26 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: No documentation? Doc/library/curses.rst exists; there's also Doc/howto/curses.rst. What functions in _curses need to be documented? -- nosy: +akuchling ___ Python tracker rep...@bugs.python.org http

[issue4254] _cursesmodule.c callable update_lines_cols()

2009-02-26 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: BTW, the code portion of the patch looks OK to me. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4254

[issue4259] Update pydoc URLs

2008-12-10 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: Committed to 2.5 in rev. 67693. Do I need to 'svnmerge block' this revision to prevent future merges from attempting to apply it to trunk? -- status: open - closed ___ Python tracker [EMAIL

<    1   2   3   4   5   6   >