[issue10766] optparse uses %s in gettext calls

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, argparse is new, so that is a different story. Not so sure about optparse, so I would not put this into 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10766

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9824 ___ ___ Python-bugs-list

[issue10679] make altinstall may clobber OS provided scripts

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r87525. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10679

[issue2775] Implement PEP 3108

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Alas, too late for 3.2 now. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775

[issue10784] os.getpriority() and os.setpriority()

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. Would there be a point in making any of the parameters optional? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10784

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree this automatic conversion is broken and should be fixed. Not sure if emitting a DeprecationWarning now and fixing it 18 months later is the right thing, especially since DeprecationWarnings are now silent. As Victor says

[issue10777] xml.etree.register_namespace dictionary changed size during iteration

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, this should be fixed in r87526. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10777

[issue10768] Bug in scrolledtext

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87527. Terry, the reason why calling example() interactively failed is the strange way __doc__ is imported -- it is None in your case and that causes the Tkinter type error. I fixed this as well. -- nosy: +georg.brandl

[issue10767] Lib/test/crashers/README is out of date

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87530. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10767

[issue10742] memoryview.readonly attribute is not documented

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added in r87531. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10742

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87532. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10781

[issue10708] Misc/porting should be folded in to the development FAQ

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Same for Misc/SpecialBuilds. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10708

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6785 ___ ___ Python-bugs-list

[issue10739] Subprocess behavior on Windows

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree that this belongs in the makefile docs. Fixed in r87535. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10670] Provide search scope limits

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg123928 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10670

[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87536. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10609

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, Victor! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10783 ___ ___ Python-bugs-list

[issue1772833] -q (quiet) option for python interpreter

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No, pure ignorance -- should be fixed in r87549. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1772833

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Let's wait for 3.3 with the change. Definitely. -- nosy: +georg.brandl versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10542

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That bug already strikes me as quite exotic. You need to at least address Marc-Andre's remarks, and to give an overview of what else you'd like to change as well, and how this could affect semantics. Remember that the next release is already

[issue10716] Modernize pydoc to use CSS

2010-12-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, you could reuse these arguments to mean CSS classes, and have styles like .red { color: red } :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org

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

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hearty +1. I have the hope of putting this in 3.3, and for that I'd like to see how the code matures, which is much easier when in version control. -- ___ Python tracker rep...@bugs.python.org http

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think the proposal is that fixing this minefield can wait until Python 3.3 (or even 3.4, or later). That is what I was thinking. (Alex: You might not know that Martin was the main proponent of non-ASCII identifiers, so this assessment should

[issue1816] sys.cmd_flags patch

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Maybe not, but note that there is both a Py_InteractiveFlag and Py_InspectFlag, and they enable different things (they are both set by -i, while setting the PYTHONINSPECT envvar only activates Py_InspectFlag). -- nosy: +georg.brandl

[issue7962] Demo and Tools need to be tested and pruned

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Removed Demo and some of the Tools in a series of commits starting with r87579. -- dependencies: -Allow larger programs to be frozen under Win32, Demo/classes/Dates.py does not work in 3.x, Demo/embed/demo.c use of PySys_SetArgv

[issue3194] Demo/loop.c passing char * instead of wchar_t *

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Demo/embed has now been removed. -- nosy: +georg.brandl resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3194

[issue10495] Demo/comparisons/sortingtest.py needs some usage information.

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Demo/comparisons has now been removed. -- nosy: +georg.brandl resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10495

[issue10494] Demo/comparisons/regextest.py needs some usage information.

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Demo/comparisons has now been removed. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10494

[issue9153] Run tests and demos as part of the test suite

2010-12-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Closing; Demo/ is no more. -- nosy: +georg.brandl resolution: accepted - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9153

[issue2889] curses for windows (alternative patch)

2010-12-30 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed patch and test in r87604. -- nosy: +georg.brandl resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10801

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: OK, looks like there is a problem on some buildbots: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/863/steps/test/logs/stdio -- status: closed - open ___ Python

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: OK, I think r87606 fixed it: it doesn't extract the files, instead calls only open(). -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10801

[issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, it looks like the filesystem encoding is set to ASCII on these machines. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10801

[issue10789] Lock.acquire documentation is misleading

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No, that's not true. Arguments that can't be given as kwargs are presented with brackets. However, the default value now isn't indicated anywhere; it should be added to the main text. -- ___ Python

[issue8350] Document lack of support for keyword arguments in C functions

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, it may indeed be the best option to add a new directive option to say this function does not take keyword args. It would result in some form of unobtrusive but noticeable output in HTML. It is a bit of an effort to add it everywhere it's

[issue8350] Document lack of support for keyword arguments in C functions

2011-01-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes. It's still an important detail; the explanation could say, In CPython, this function does not take keyword args and furthermore it's not really clear to me how much of the library reference applies to all Python implementations anyway

[issue10802] python3.2 AFTER b2 release has subprocess.Popen broken under colinux/windows

2011-01-01 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +georg.brandl priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10802

[issue10802] python3.2 AFTER b2 release has subprocess.Popen broken under colinux/windows

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Does not seem to be a Python problem then. Thanks for diagnosing! -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10802

[issue10804] Copy and paste error in _json.c

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r87626. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10804

[issue1665333] Documentation missing for OptionGroup class in optparse

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good, applied in r87627 (after removing stray tabs). -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The patch is wrong: it hardcodes the number of characters that the time string has, but it can be more than 24 if the year is . (Of course, the check for \n currently in the code is wrong too and must be fixed.) Also, shouldn't the issue

[issue5870] subprocess.DEVNULL

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, we don't like these open-for-eternity file descriptors; we had such a thing for os.urandom() but removed it (see #1177468). I'm okay with DEVNULL (or even just NULL) as a shorthand, but it should open (and close) the devnull device each

[issue9074] subprocess closes standard file descriptors when it should not

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: #9905 has a similar patch and adds tests as well. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - subprocess.Popen fails with stdout=PIPE, stderr=PIPE if standard descriptors (0, 1, 2) are closed

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Well, then I would have no problem with checking for that condition beforehand and raising ValueError. On the other hand, it seems that implementations either return a correct string or NULL, so just erroring out in case of NULL would be fine

[issue5870] subprocess.DEVNULL

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Right, sorry then :) -- assignee: - gregory.p.smith nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5870

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That does not look like the right patch... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10807

[issue10807] `b'dGVzdA==\n'.decode('base64')` raise exception

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good, please commit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10807 ___ ___ Python

[issue10808] ssl unwrap fails with Error 0

2011-01-02 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - pitrou nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10808 ___ ___ Python

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Tests fixed to ignore ValueError in r87656. Both asctime() and ctime() fixed to remove newline no matter how many digits the year has in r87657. I also took the liberty of making the error messages consistent. -- resolution: - fixed

[issue10716] Modernize pydoc to use CSS

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: These arguments should not really be of concern. If we indeed deem them public API, they can stay but be ignored. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716

[issue10810] logging.handlers.TimedRotatingFileHandler.__init__(): ST_MTIME NameError

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r87660. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10810

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: In that case however, it's equally unsafe to not replace a \n, but still use PyUnicode_FromString() without a size given -- you will read from random memory. Since all implementations we have or can test have a defined behavior in one way

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: All right, then I wonder why your checktm() doesn't check the tm_year? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8013

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: (What I mean is that overwriting \n or not, the code is unsafe, so the check must be done beforehand. Why should that be left to 3.3?) -- ___ Python tracker rep...@bugs.python.org http

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You cannot have both: a safe implementation and the correct behavior with glibc (not Linux!) -- except if you start special-casing. Not sure that's worth it. Note that time.asctime() is documented in time.rst to return a 24-character string

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: There is a long tradition in keeping OS functions' wrappers thin with an expectation that application programmers will know the limitations/quirks of their target OSes. Sorry, but that does not apply if we trigger undefined behavior which

[issue6610] Subprocess descriptor debacle

2011-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Superseded by #10806. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - Subprocess error if fds 0,1,2 are closed ___ Python tracker rep...@bugs.python.org http

[issue10563] Spurious newline in time.ctime

2011-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This has now been superseded by the changes made for issue #8013. -- nosy: +georg.brandl resolution: - out of date status: open - closed superseder: - time.asctime segfaults when given a time in the far future

[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think Antoine might be interested. -- assignee: - pitrou nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10756

[issue10516] Add list.clear() and list.copy()

2011-01-04 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10516 ___ ___ Python

[issue10821] gethostbyname(gethostname()) is wrong when IP is changed

2011-01-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is not a Python issue. gethostbyname() and gethostname() are just a wrapper for the OS's functions of the same name; you'd get the same result when coding the example in C. -- nosy: +georg.brandl resolution: - invalid status

[issue10824] urandom should not block

2011-01-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Is it really necessary to do something about this? /dev/urandom being a regular file is clearly a bug in your system configuration, and I don't want to know what all the other programs will do that rely on it... -- nosy: +georg.brandl

[issue985064] plistlib crashes too easily on bad files

2011-01-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue985064 ___ ___ Python

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8013 ___ ___ Python-bugs-list mailing

[issue10827] Functions in time module should support year 1900 when accept2dyear = 0

2011-01-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: But if it fails, why not just let it fail? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10827

[issue10130] Create epub format docs and offer them on the download page

2011-01-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, I've committed this as r87760 and r87761. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10130

[issue10838] subprocess __all__ is incomplete

2011-01-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: IMO none of these three are meant to be public, and neither are they documented. (Although the docs make a reference to the list2cmdline *method*, which should probably just be removed.) I remember a thread on python-dev about public-API-ness

[issue10839] email module should not allow some header field repetitions

2011-01-05 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10839

[issue10842] Update third-party libraries for OS X installer builds

2011-01-06 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Making this a blocker for now; I'd rather not update this during RC phase. -- nosy: +benjamin.peterson priority: high - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10844] OS X installer: update copyright dates in app bundles

2011-01-06 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This looks safe enough for me to apply. Fixed in r87791. -- resolution: - fixed stage: patch review - status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10844

[issue10846] typo in threading doc's: size of the resource size

2011-01-06 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87807. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10846

[issue10849] Backport test/__main__

2011-01-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10849

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: What is there to document? ImportError has no special attributes or parameters. -- nosy: +georg.brandl resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I thought Benjamin was still RM for 2.7 and 3.1? -- assignee: loewis - benjamin.peterson nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10849

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You are right, however, that the args argument is not really well documented. Fixed that in r87820. -- resolution: works for me - fixed ___ Python tracker rep...@bugs.python.org http

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Oh, sure. I misinterpreted your comment. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10849

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: -georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10849 ___ ___ Python-bugs-list

[issue10808] ssl unwrap fails with Error 0

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This information being no information, is that really all you can get out of OpenSSL? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10808

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Not clear; see #10838. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10859

[issue10860] Handle empty port after port delimiter in httplib

2011-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Except if it's an HTTPS URL :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10860

[issue10865] chroot-ing breaks encodings.idna

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is not a bug in Python: name resolution may not work in the chroot unless you add the libraries that are loaded on the fly by the libc. It *may* also work if you make one name resolution (using socket.getaddressinfo for example) *before

[issue10863] zlib.compress() fails with string

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is already fixed in dev docs, just needs backporting. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10863

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No idea what a BSDL is, but a developer is definitely entitled to close a bug without resorting to a majority decision (what is that, anyway? should we hold monthly parliament over bugs?). You're of course free to reopen with a different

[issue10849] Backport test/__main__

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The possible downside, as with any new feature, is that code using the new feature will not run on on previous micro (x.y.z) releases. That's absolutely no downside: I daresay 99% of test runs by developers are done at the branch head

[issue2650] re.escape should not escape underscore

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The loop looks strange to me too, not to mention inefficient compared with a regex replacement done in C. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10855] wave.Wave_read.close() doesn't release file

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is not a bug in the implementation: the file object is only closed when you passed a file name to open(). Like other APIs that allow file names or objects to be passed in, it is the caller's responsibility to close the file object

[issue10849] Backport test/__main__

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Okay, that's reasonable enough. Closing (or shall we wait for the majority to consent first?) -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10863] zlib.compress() fails with string

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Quite right, this is now fixed in r87870. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10863

[issue10863] zlib.compress() fails with string

2011-01-08 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10863

[issue10869] ast.increment_lineno() increments root node twice

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r87876. Will backport to other branches. -- nosy: +georg.brandl resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue9504] signal.signal/signal.alarm not working as expected

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Antoine? -- assignee: - pitrou nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9504

[issue7372] Regression in pstats

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This change was backported to the 2.7 branch in r83533; it should therefore be in 2.7.1, but not 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372

[issue10870] Last line of argparse code samples can not be read on Windows

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I've shortened the examples in r87890. I'll also investigate why the scrollbar isn't shown below the code. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep

[issue10872] Add mode to TextIOWrapper repr

2011-01-09 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: The old file type had its mode in the repr(), which I think was useful; TextIOWrapper doesn't. Can we add it back? -- assignee: pitrou messages: 125836 nosy: georg.brandl, pitrou priority: normal severity: normal status: open title

[issue10871] argparse example use file instead of open

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, this is now fixed in r87891. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10871

[issue10872] Add mode to TextIOWrapper repr

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10872 ___ ___ Python-bugs-list mailing

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Your points 1-5 all sound valid to me. Would you like to do make a patch? I don't know what to do about the release number. Probably doesn't hurt anyone to keep it. -- nosy: +georg.brandl

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Oh right, I misread that one. Can't Windows help users right-click and select Copy URL? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875

[issue10877] Make Tools (and subdirs) a package (and subpackages)

2011-01-11 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't think this is a good idea. For one thing, it only works in a checkout or source tarball, something that most users aren't going to work with. If we now publish that they can do import Tools.demo.redemo and so on, confusion

<    1   2   3   4   5   6   7   8   9   10   >