[issue10726] pydoc: don’t display raw reST in key word help

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: No need for any of that -- the output you see already is the text output from Sphinx. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10726] pydoc: don’t display raw reST in key word help

2010-12-17 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/issue10726> ___ ___ Python-bugs-

[issue10726] pydoc: don’t display raw reST in key word help

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: Sure, I can do that for the next version. -- ___ Python tracker <http://bugs.python.org/issue10726> ___ ___ Python-bugs-list m

[issue8754] ImportError: quote bad module name in message

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: The change would be fine with me. What happens with the PyUnicode_FromString() usage in the patch if the string cannot be decoded? That should not lead to a UnicodeError being raised. Also, the __main__ changes look gratuitous to me

[issue10454] Clarify compileall command-line options

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: +1 -- Didn't read through all of the diff, but in general I trust you enough to believe that the new version is better than the old :) -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/is

[issue10723] Undocumented built-in exceptions

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: Basically fine, but the docs for indentation and tab error should document their inheritance more explicitly. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue10

[issue9234] argparse: aliases for positional arguments (subparsers)

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: I can see that this is really useful; approved for beta2 as soon as Steven's issue from the last message is handled. -- assignee: georg.brandl -> bethard priority: normal -> release blocker ___ Python tra

[issue10559] NameError in tutorial/interpreter

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: "Use that list" doesn't make me happy, what about "access"? -- nosy: +georg.brandl ___ Python tracker <http:

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

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: Why not replace it with an example that uses get() or setdefault() then? -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue10

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: Yep, looks good, please commit. -- assignee: d...@python -> eric.araujo nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/iss

[issue9264] trace.py documentation is incomplete

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: Yes, it's the new recommended style. (Please add to documenting/ when convenient :) -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/i

[issue10559] NameError in tutorial/interpreter

2010-12-17 Thread Georg Brandl
Georg Brandl added the comment: +1. -- ___ Python tracker <http://bugs.python.org/issue10559> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9775] Multiprocessing, logging and atexit play not well together

2010-12-18 Thread Georg Brandl
Georg Brandl added the comment: Not reproducable anymore. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue10573] Consistency in unittest assert methods: order of actual, expected

2010-12-18 Thread Georg Brandl
Georg Brandl added the comment: If Michael and Raymond reach a consensus, this can go in before beta2. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue10

[issue10404] IDLE on OS X popup menus do not work: cannot set/clear breakpoints

2010-12-18 Thread Georg Brandl
Georg Brandl added the comment: Looks fine, David, do you want to commit? -- assignee: ronaldoussoren -> r.david.murray nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issu

[issue10723] Undocumented built-in exceptions

2010-12-18 Thread Georg Brandl
Georg Brandl added the comment: Committed in r87378. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10734] test_ttk failure under Windows

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Deferring. -- priority: release blocker -> deferred blocker ___ Python tracker <http://bugs.python.org/issue10734> ___ ___ Py

[issue10679] "make altinstall" may clobber OS provided scripts

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Attaching a patch that should fix it. The delegation of the links to the Makefile is not ideal, but I don't see how to easily do it otherwise. While this is reviewed, deferring as it should not block beta2. -- priority: release blocker ->

[issue10679] "make altinstall" may clobber OS provided scripts

2010-12-19 Thread Georg Brandl
Changes by Georg Brandl : -- keywords: +patch Added file: http://bugs.python.org/file20110/altinstall_scripts.diff ___ Python tracker <http://bugs.python.org/issue10

[issue8754] ImportError: quote bad module name in message

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Deferring, this is not a bug. -- priority: release blocker -> deferred blocker ___ Python tracker <http://bugs.python.org/iss

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: I've committed in the py3k branch as r87394, so that this can get testing during beta, although your list of test systems looks quite exhaustive already. Lowering priority and leaving open for the backports. -- priority: release blocker ->

[issue10734] test_ttk failure under Windows

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: I disabled the test temporarily in r87395 -- it needs to be reenabled after fixing this. -- ___ Python tracker <http://bugs.python.org/issue10

[issue3243] Support iterable bodies in httplib

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Good catch, fixed in r87400. -- ___ Python tracker <http://bugs.python.org/issue3243> ___ ___ Python-bugs-list mailing list Unsub

[issue3243] Support iterable bodies in httplib

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Hmm, indeed: Senthil, could data be a string in earlier versions? If yes, the code should be changed to still allow that. (But after beta2 please, it's already tagged.) -- status: closed -> open ___ Python

[issue3243] Support iterable bodies in httplib

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Raising priority so that this gets sorted out before final. -- priority: normal -> deferred blocker ___ Python tracker <http://bugs.python.org/iss

[issue10737] test_concurrent_futures failure on Windows

2010-12-19 Thread Georg Brandl
Changes by Georg Brandl : -- priority: high -> deferred blocker ___ Python tracker <http://bugs.python.org/issue10737> ___ ___ Python-bugs-list mailing list Un

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2010-12-19 Thread Georg Brandl
Georg Brandl added the comment: Are you in a position to debug this a bit more? -- ___ Python tracker <http://bugs.python.org/issue10736> ___ ___ Python-bug

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: This has been fixed in Python 2.7.1 (which the online docs refer to). I assume that you're using 2.6 or an earlier version. As for the code in SVN, the "trunk" is currently not in use; development happens in the "release27-maint", &q

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: We usually don't do this for bugfixes, but here it makes sense I guess. r87414. -- ___ Python tracker <http://bugs.python.org/is

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: OK, let's make this one. Tarek to the rescue! -- priority: deferred blocker -> release blocker ___ Python tracker <http://bugs.python.org

[issue10749] lots of warnings when generating logging docs

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: Will vanish after a full rebuild; the duplicate detection is a bit buggy in Sphinx when the documents are read in the wrong order. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___

[issue10744] ctypes arrays have incorrect buffer information (PEP-3118)

2010-12-21 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10744> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10694] zipfile.py end of central directory detection not robust

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: "High" is not near high enough to get noticed before the release :) -- nosy: +georg.brandl priority: high -> deferred blocker ___ Python tracker <http://bugs.pytho

[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2010-12-21 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10746> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8754] ImportError: quote bad module name in message

2010-12-22 Thread Georg Brandl
Georg Brandl added the comment: I suppose it's not a good test, since your non-ascii name presumably was encoded in UTF-8, which is the encoding that PyUnicode_FromString uses. -- ___ Python tracker <http://bugs.python.org/i

[issue4761] create Python wrappers for openat() and others

2010-12-22 Thread Georg Brandl
Georg Brandl added the comment: Reference counting is not always correct. For example, in unlinkat if (res < 0) return posix_error(); Py_DECREF(opath); (return None) the DECREF should be before the error check. (Note that you can use the Py_RETURN_NONE macro to s

[issue10758] posix_access swallows all errors

2010-12-22 Thread Georg Brandl
New submission from Georg Brandl : access(2) can return errnos that correspond to input errors or general system faults, such as EINVAL, EIO or ENOMEM. In this case, an exception should be raised instead of returning False. It is probably best to whitelist those errnos that indicate missing

[issue4761] create Python wrappers for openat() and others

2010-12-22 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the update! Three more comments: * the new constants doc should also get a versionadded * faccessat should check for EBADF, EINVAL and ENOTDIR and raise an error if they are returned, since these are input errors Or, alternately, a range of

[issue5258] addpackage in site.py fails hard on badly formed .pth files

2010-12-25 Thread Georg Brandl
Georg Brandl added the comment: Your patch is indeed better than mine, but I think the try-except in addsitedir() is not needed anymore? -- ___ Python tracker <http://bugs.python.org/issue5

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

2010-12-25 Thread Georg Brandl
Georg Brandl added the comment: The next step is publishing these epubs and waiting for the resulting flood of bug reports :) -- ___ Python tracker <http://bugs.python.org/issue10

[issue9239] zipfile: truncating comment can corrupt the zipfile

2010-12-25 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: aimacintyre -> alanmcintyre nosy: +alanmcintyre -aimacintyre ___ Python tracker <http://bugs.python.org/issue9239> ___ _

[issue10774] test_logging leaves temp files

2010-12-26 Thread Georg Brandl
Changes by Georg Brandl : -- title: test_logging leaks temp files -> test_logging leaves temp files ___ Python tracker <http://bugs.python.org/issue10774> ___ _

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

2010-12-26 Thread Georg Brandl
Georg Brandl added the comment: +1. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue10756> ___ ___ Python-bugs-list mailing list Unsub

[issue5258] addpackage in site.py fails hard on badly formed .pth files

2010-12-26 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue5258> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10773] "Building C and C++ Extensions on Windows" documentation shows 2.x way of initializing module

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r87524. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: Fine with me to fix this API during beta. -- ___ Python tracker <http://bugs.python.org/issue1823> ___ ___ Python-bugs-list mailin

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: By all means. -- ___ Python tracker <http://bugs.python.org/issue10738> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10766] optparse uses %s in gettext calls

2010-12-28 Thread Georg Brandl
Georg Brandl 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 <http://bugs.python.org/issue10

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: Looks good. -- ___ Python tracker <http://bugs.python.org/issue9824> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10679] "make altinstall" may clobber OS provided scripts

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

[issue2775] Implement PEP 3108

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

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

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

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl 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, the incompatibility is

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

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

[issue10768] Bug in scrolledtext

2010-12-28 Thread Georg Brandl
Georg Brandl 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 resolution: -> fi

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

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

[issue10742] memoryview.readonly attribute is not documented

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

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

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

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

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

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

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue6785> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10739] Subprocess behavior on Windows

2010-12-28 Thread Georg Brandl
Georg Brandl 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 <http://bugs.python.org/i

[issue10670] Provide search scope limits

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg123928 ___ Python tracker <http://bugs.python.org/issue10670> ___ ___ Python-bugs-list m

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

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

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: Thanks, Victor! -- ___ Python tracker <http://bugs.python.org/issue10783> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

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

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-29 Thread Georg Brandl
Georg Brandl 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 <http://bugs.python.org

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-29 Thread Georg Brandl
Georg Brandl 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 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 <http://bugs.python.o

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

2010-12-30 Thread Georg Brandl
Georg Brandl 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 <http://bugs.python.org/i

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-30 Thread Georg Brandl
Georg Brandl 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 hav

[issue1816] sys.cmd_flags patch

2010-12-30 Thread Georg Brandl
Georg Brandl 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 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() is invalid, Single

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

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

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

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

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

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

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

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

[issue2889] curses for windows (alternative patch)

2010-12-30 Thread Georg Brandl
Changes by Georg Brandl : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue2889> ___ ___ Python-bugs-list mailing list Unsub

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

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

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

2011-01-01 Thread Georg Brandl
Georg Brandl 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 tracker &l

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

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

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

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

[issue10789] Lock.acquire documentation is misleading

2011-01-01 Thread Georg Brandl
Georg Brandl 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 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 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 imp

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

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

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

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

[issue10804] Copy and paste error in _json.c

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

[issue1665333] Documentation missing for OptionGroup class in optparse

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

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

2011-01-02 Thread Georg Brandl
Georg Brandl 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 be ha

[issue5870] subprocess.DEVNULL

2011-01-02 Thread Georg Brandl
Georg Brandl 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 time ju

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

2011-01-02 Thread Georg Brandl
Georg Brandl 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) a

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

2011-01-02 Thread Georg Brandl
Georg Brandl 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 as well

[issue5870] subprocess.DEVNULL

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

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

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

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

2011-01-02 Thread Georg Brandl
Georg Brandl added the comment: Looks good, please commit. -- ___ Python tracker <http://bugs.python.org/issue10807> ___ ___ Python-bugs-list mailing list Unsub

[issue10808] ssl unwrap fails with Error 0

2011-01-02 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> pitrou nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10808> ___ ___ Python-bugs-list mailing list Un

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

2011-01-02 Thread Georg Brandl
Georg Brandl 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 status: o

[issue10716] Modernize pydoc to use CSS

2011-01-02 Thread Georg Brandl
Georg Brandl 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 <http://bugs.python.org/issue10

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

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

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

2011-01-02 Thread Georg Brandl
Georg Brandl 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 or the other, I

<    6   7   8   9   10   11   12   13   14   15   >