[issue10818] pydoc: Remove old server and tk panel

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a30410a8fddc by Victor Stinner in branch 'default': Issue #10818: Remove the Tk GUI of the pydoc module (pydoc -g has been http://hg.python.org/cpython/rev/a30410a8fddc New changeset de669b61bca4 by Victor Stinner in branch 'default': Issue #10818:

[issue10818] pydoc: Remove old server and tk panel

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > The old server was depreciated in 3.2 and is supposed to be removed > along with the tk panel for 3.3. Ok, fine. I applied your patch and removed the serve() function. -- resolution: -> fixed status: open -> closed _

[issue10832] Add support of bytes objects in PyBytes_FromFormatV()

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: The "%y" format is useless for the posixmodule.c example (it doesn't simplify the code), and I cannot find another usage of this feature. So let's forget it :-) -- resolution: -> invalid status: open -> closed ___

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: I started to patch packaging to fix this issue in the packaging module: issue #12112. We might leave distutils unchanged and improve the packaging module instead (because previous experiments proved that distutils should not be touched or it break random stuf

[issue8533] regrtest: use backslashreplace error handler for stdout

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8be9eaf5829f by Victor Stinner in branch 'default': Issue #8533: regrtest replaces also sys.stdout on Windows http://hg.python.org/cpython/rev/8be9eaf5829f -- nosy: +python-dev ___ Python tracker

[issue10224] Build 3.x documentation using python3.x

2011-05-24 Thread Sye van der Veen
Sye van der Veen added the comment: I had trouble wording that sentence. Under Unix, Makefile is used, in which you specify "PYTHON=" on the command line else the default "python" (from the PATH) is used. Under Windows, it's make.bat, where PYTHON needs to be set in the environment else "..

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Here is an improved patch. Sans comments, I will apply in a few days. -- Added file: http://bugs.python.org/file22100/fixwith2.patch ___ Python tracker

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 234021dcad93 by Victor Stinner in branch 'default': Issue #8407: Fix the signal handler of the signal module: if it is called http://hg.python.org/cpython/rev/234021dcad93 -- ___ Python tracker

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-24 Thread STINNER Victor
STINNER Victor added the comment: > There's a race. If a signal is received while is_tripped is set, > the signal number won't be written to the wakeup FD. Oh, nice catch. The "bug" is not new, Python behaves like that since Python 3.1. But in Python < 3.3, it doesn't mater because I don't th

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Nick Coghlan
Nick Coghlan added the comment: Just to articulate the rationale, I'm guessing the reasoning behind this is to make it feasible for source->AST->source translators to retain the original grouping? -- ___ Python tracker

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Nick Coghlan
Nick Coghlan added the comment: Visual scan of the patch in Reitveld looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list

[issue12106] reflect syntatic sugar in with ast

2011-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/24 Nick Coghlan : > > Nick Coghlan added the comment: > > Just to articulate the rationale, I'm guessing the reasoning behind this is > to make it feasible for source->AST->source translators to retain the > original grouping? Correct. It also allo

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Ashley Anderson
Ashley Anderson added the comment: I've recently joined the python-mentors mailing list because I love Python and want to get involved. I found this bug in the list of "Easy issues" and thought I'd try my hand. Anyway, this is my first patch, so please forgive me if I am breaking protocol or

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread R. David Murray
R. David Murray added the comment: Thanks for wanting to work on this. It is a little hard to parse from the OP's initial post, but he is asking that %V and %u be supported by datetime.strptime, which they currently are not. strptime is the generalized constructor for turning a string into a

[issue9382] os.popen referenced but not documented in Python 3.x

2011-05-24 Thread Eli Bendersky
Eli Bendersky added the comment: os.popen() is certainly deprecated. Its documentation in both 2.6 and 2.7 notes: Deprecated since version 2.6: This function is obsolete. Use the subprocess module. Indeed, the Python 3.x library/os.rst doc mentions it several times, but the documentation w

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-05-24 Thread Peter Hammer
Peter Hammer added the comment: """ Changing the 'enumerate' doc string text from: | (0, seq[0]), (1, seq[1]), (2, seq[2]), ... to: | (start, seq[0]), (start+1, seq[1]), (start+2, seq[2]), ... would completely disambiguate the doc string at the modest cost of sixteen additional cha

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Ashley Anderson
Ashley Anderson added the comment: Thanks, I think I understand the original post now. Upon reading the docs and code, however, it seems this is possible using the %W and %w directives. Is the issue just to support the different letters (%V and %u) specifically, or that they are not quite the

[issue12172] IDLE crashes when I use F5 to run

2011-05-24 Thread Kevin
New submission from Kevin : Similar to bug issue 11431, my IDLE crashes (OS 10.6.7) when using F5, but works fine or better when I click run module. However, unlike 11431, I have downloaded, and I believe, correctly installed ActiveTcl 8.5. Similar to Ned's suggestions in issue: 11431, here ar

[issue11889] 'enumerate' 'start' parameter documentation is confusing

2011-05-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1441530] socket read() can cause MemoryError in Windows

2011-05-24 Thread Charles-François Natali
Charles-François Natali added the comment: I've committed the patch to 2.7, and also to default (and only to default since for py3k it's more of an optimization than a bug fix). Closing. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue12006] strptime should implement %V or %u directive from libc

2011-05-24 Thread Erik Cederstrand
Erik Cederstrand added the comment: Getting a date from ISO week /weekday is not possible with the %W and %w directives. ISO week numbers and normal week numbers are calculated differently (see my libc qoute in the original post). Also, using %w instead of %u would be ambiguous, since %w week

<    1   2