[issue12960] threading.Condition is not a class

2011-09-14 Thread Eli Bendersky
Eli Bendersky added the comment: > What do you suggest? Replace it by class threading._Condition? -1 on this IMHO just documenting the situation as it is would make more sense -- nosy: +eli.bendersky ___ Python tracker <http://bugs.pyth

[issue13003] Bug in equivalent code for itertools.izip_longest

2011-09-17 Thread Eli Bendersky
New submission from Eli Bendersky : Regarding the sample code in: http://docs.python.org/library/itertools#itertools.izip_longest If an IndexError is raised inside an iterator in the "equivalent" code from the docs, the generator stops and the error is swallowed. If an IndexError

[issue13003] Bug in equivalent code for itertools.izip_longest

2011-09-17 Thread Eli Bendersky
Eli Bendersky added the comment: What about at least documenting it? Since a real user ran into this and reported it as a problem, I think it would make sense to make the discrepancy explicit. Alternatively a generalized note can be added to the documentation of itertools stating that the

[issue13161] problems with help() documentation of __i*__ operators

2011-10-12 Thread Eli Bendersky
New submission from Eli Bendersky : Report from Joao Carneiro in the docs@ maillist: I would like to report that I found a mistake in the document of "help(set)". In the document all the __i*__ methods are described exactly like the same methods withou

[issue13191] Typo in argparse documentation

2011-10-16 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13191> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
New submission from Eli Bendersky : Operator <> was removed in Python 3, but still appears in Grammar/Grammar (and hence in Doc/reference/grammar.rst) Reported by Alexander Ivanyuta on the docs mailing list -- assignee: docs@python components: Documentation, Interpreter Core me

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
Eli Bendersky added the comment: The relevant code in Parser/parsetok.c is: #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD if (type == NOTEQUAL) { if (!(ps->p_flags & CO_FUTURE_BARRY_AS_BDFL) && strcmp(str, "!=")) {

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +barry, brett.cannon, fdrake, ncoghlan ___ Python tracker <http://bugs.python.org/issue13239> ___ ___ Python-bugs-list mailin

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
New submission from Eli Bendersky : User report on the docs@ list: - http://docs.python.org/tutorial/classes.html#instance-objects I think the "counter" attribute is mentioned for the first time in the example code, not "in Instance of MyClass created above", i.e. cl

[issue13353] documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7

2011-11-05 Thread Eli Bendersky
New submission from Eli Bendersky : User (Yoann Roman) report on docs@ maillist: The docs for logging.handlers.TimedRotatingFileHandler in Python 2.7 say that the "utc" keyword argument was added in 2.7: http://docs.python.org/library/logging.handlers.html#timedrotatingfilehan

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Eli Bendersky added the comment: Yep, I agree, Ori. The paragraph immediately preceding the code sample says: "Data attributes need not be declared; like local variables, they spring into existence when they are first assigned to [...] the following piece of code will print the val

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue13352> ___ ___ Python-bugs-list

[issue13365] str.expandtabs documentation is wrong

2011-11-07 Thread Eli Bendersky
Eli Bendersky added the comment: While we're at it, wouldn't it be clearer to say "... where each tab character is replaced by..."? -- nosy: +eli.bendersky ___ Python tracker <http://bug

[issue13365] str.expandtabs documentation is wrong

2011-11-07 Thread Eli Bendersky
Eli Bendersky added the comment: Other than that, the patch looks good. -- ___ Python tracker <http://bugs.python.org/issue13365> ___ ___ Python-bugs-list mailin

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2011-11-07 Thread Eli Bendersky
New submission from Eli Bendersky : docs@ list report by Daniel Dieterle: in the documentation (http://docs.python.org/library/subprocess.html#subprocess.Popen.send_signal) is a bug. CTRL_C_EVENT can not be sent to processes started with a creationflags parameter which includes

[issue13365] str.expandtabs documentation is wrong

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Committed. Thanks for contributing. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue13365> ___ _

[issue13191] Typo in argparse documentation

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue13191> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13239] Remove <> operator from Grammar/Grammar

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching a patch with a clarifying comment in Grammar/Grammar. Should be enough for now? -- keywords: +patch Added file: http://bugs.python.org/file23656/issue13239.patch ___ Python tracker <http://bugs.python.

[issue13368] Possible problem in documentation of module subprocess, method send_signal

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Brian, I see this text (along with the implementation) was added by you in 60197:0ab89e8bdedc Could you state your opinion on this issue? -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.

[issue13161] problems with help() documentation of __i*__ operators

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue13161> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12875] backport re.compile flags default value documentation

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue12875> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13385] Add an explicit re.NOFLAGS flag value to the re module

2011-11-11 Thread Eli Bendersky
New submission from Eli Bendersky : The flags 're' accept are numeric underneath, and the current value of "no flags" is just 0, which is also specified in the documentation as the default value. However, using raw numeric values is not a good programming practice. The su

[issue13385] Add an explicit re.NOFLAGS flag value to the re module

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Antoine, what's the outcome of people wondering about the difference? I don't see what's bad about it, it's not as if people are writing (or supposed to write) code that does arithmetic on these flag values. Their only usage is to: 1

[issue12875] backport re.compile flags default value documentation

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Amaury & Georg, Grepping through the docs disagrees with your claims ;-) Try to grep for "\=None\]" to see what I mean. There are tons of places where default values are placed inside the brackets. For example in http://docs.python.org/li

[issue12875] backport re.compile flags default value documentation

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, what do you suggest to do regarding *this* issue? -- ___ Python tracker <http://bugs.python.org/issue12875> ___ ___ Pytho

[issue12767] document threading.Condition.notify

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: I propose the attached patch for the documentation. Any objections? -- keywords: +patch Added file: http://bugs.python.org/file23657/issue12767.1.patch ___ Python tracker <http://bugs.python.org/issue12

[issue12768] docstrings for the threading module

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Graeme, any news on this? If you re-do the patch for current tip and address the review comments, I think we can commit it. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12188] PEP 7 (or guide) add C style policies and explanation

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue12188> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11173] Undocumented public APIs in Python 3.2

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue11173> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3849] FUD in documentation for urllib.urlopen()

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue3849> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10838] subprocess __all__ is incomplete

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue10838> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5088] optparse: inconsistent default value for append actions

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue5088> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10501] make_buildinfo regression with unquoted path

2011-11-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker <http://bugs.python.org/issue10501> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12875] backport re.compile flags default value documentation

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Hmm, I've just notice that this [default=val] pattern already exists in the 're' docs in 2.7, for example: subn(repl, string[, count=0]) So my change was consistent within the documentation of this module. No doubt, the conventions are c

[issue12767] document threading.Condition.notify

2011-11-11 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, thanks for the catch. I missed that one. Attaching a new, fixed patch. -- Added file: http://bugs.python.org/file23658/issue12767.2.patch ___ Python tracker <http://bugs.python.org/issue12

[issue13385] Add an explicit re.NOFLAGS flag value to the re module

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: I think we have enough < 0 to reject the issue. Closing. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12875] backport re.compile flags default value documentation

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: I have converted the Doc/library/re.rst doc of 2.7 to follow the new convention of 3.x, patch attached. -- keywords: +patch Added file: http://bugs.python.org/file23668/issue12875.1.patch ___ Python tracker <h

[issue13239] Remove <> operator from Grammar/Grammar

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: Éric, do you feel strongly about the wording, or can I just go ahead and commit my version if I like it more :) ? -- ___ Python tracker <http://bugs.python.org/issue13

[issue13388] document hg commit hooks in the devguide

2011-11-12 Thread Eli Bendersky
New submission from Eli Bendersky : Our Hg repo has some useful hooks on commit messages that allow to specify which issue to notify for commits, and which issue to close. AFAIU, it's currently documented only in the code of the hook (http://hg.python.org/hooks/file/tip/hgroundup.py

[issue13386] Document documentation conventions for optional args

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: You should also explicitly specify what happens in several optional but not keyword args are needed. AFAIU the convention is: func(arg1, arg2[, opt1, opt2]) -- ___ Python tracker <http://bugs.python.

[issue13388] document hg commit hooks in the devguide

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching a patch with the suggested change. Based on the doc-string in the implementation of the hook. -- keywords: +patch Added file: http://bugs.python.org/file23669/issue13388.1.patch ___ Python tracker <h

[issue13388] document hg commit hooks in the devguide

2011-11-12 Thread Eli Bendersky
Eli Bendersky added the comment: Petri, I have actually tried to stay consistent within the same document, and it uses ' for this level of heading. Perhaps it's just not following the Sphinx guide? IIRC the restructured text parser will also shout at you if these are in

[issue13388] document hg commit hooks in the devguide

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: Nice, I didn't know about issue #2771 ;-) Will update the patch! -- ___ Python tracker <http://bugs.python.org/is

[issue12875] backport re.compile flags default value documentation

2011-11-13 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue12875> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13388] document hg commit hooks in the devguide

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: An updated patch attached, explaining that several issues can be mentioned in a single commit message -- Added file: http://bugs.python.org/file23683/issue13388.2.patch ___ Python tracker <http://bugs.python.

[issue13386] Document documentation conventions for optional args

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, regarding your latest message: "The problem is when the default placeholder is some unique object() or some _internal value (we had something similar with a socket timeout once)." I hope this should be rare enough not to present a significa

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: Sandro - yep, the sentinels arg is also undocumented in multiprocessing.PipeConnection.recv() and further down the road... -- ___ Python tracker <http://bugs.python.org/issue11

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: However, sentinels *are* mentioned in the multiprocessing doc, below multiprocessing.Process: " sentinel A numeric handle of a system object which will become “ready” when the process ends. On Windows, this is an OS handle usable wit

[issue13386] Document documentation conventions for optional args

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: What you say makes sense, now I just have to dig up where I saw instances of [, opt1, opt2] If anything, this is another proof that such conventions must be agreed upon and meticulously documented. -- ___ Python

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Eli Bendersky
Eli Bendersky added the comment: ""So would it be worth the effort to identify each such place in the built-ins/stdlib and eventually change them all? I've seen support for doing so in other tracker issues and think it's a good idea personally."" Probably,

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Eli Bendersky
Eli Bendersky added the comment: Then it appears to me that Sandro's patch is good and can be committed. -- ___ Python tracker <http://bugs.python.org/is

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Eli Bendersky
Eli Bendersky added the comment: Committed, with the fix suggested by Éric -- resolution: fixed -> stage: committed/rejected -> status: closed -> open ___ Python tracker <http://bugs.python.or

[issue13386] Document documentation conventions for optional args

2011-11-17 Thread Eli Bendersky
Eli Bendersky added the comment: Eric, Spot on :-) This is *exactly* the reason that led me to open issue 12875, which eventually led to this one. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13388] document hg commit hooks in the devguide

2011-11-18 Thread Eli Bendersky
Eli Bendersky added the comment: Éric, feel free to fix it to your heart's desire ;-) I think that having it documented is far more important than nuances in nomenclature, so I'm -0 on this. -- ___ Python tracker <http://bu

[issue13402] Document absoluteness of sys.executable

2011-11-20 Thread Eli Bendersky
Eli Bendersky added the comment: LGTM -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13402> ___ ___ Python-bugs-list mailing list Unsub

[issue13443] wrong links and examples in the functional HOWTO

2011-11-20 Thread Eli Bendersky
New submission from Eli Bendersky : Michał Chałupczak reported in this docs@ list that the links to IBM developerworks articles are wrong. >From some additional observation, the code samples on the 3.x page use the >external `functional` module, which was not ported to Python 3 at a

[issue13443] wrong links and examples in the functional HOWTO

2011-11-23 Thread Eli Bendersky
Eli Bendersky added the comment: Andrew, thanks, but I still think it's a bigger problem that the page discusses a module which is not available on Python 3.x - this means that a user following the page can't just type in the code and make it run. The links can be fixed and kept

[issue13443] wrong links and examples in the functional HOWTO

2011-11-24 Thread Eli Bendersky
Eli Bendersky added the comment: > Before doing that, would you have the time to contact its author and inquire > about porting plans? I hope to find the time. I was also thinking about an alternative - since the HOWTO probably uses just a handful of functions from that module perhap

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Eli Bendersky
Eli Bendersky added the comment: 'bool' is just one of many conversion functions that convert their argument to the type they designate. Does this doc problem only exist for 'bool' or also for 'int', 'float' and

[issue1040439] Missing documentation on How To Link With libpython

2011-11-28 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue1040439> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1040439] Missing documentation on how to link with libpython

2011-11-29 Thread Eli Bendersky
Eli Bendersky added the comment: Éric, this is for embedding a Python interpreter in a C/C++ application. I tend to agree that the official doc page (http://docs.python.org/extending/embedding.html) on this topic is somewhat lacking in the area of the configuration/compilation procedure

[issue1040439] Missing documentation on how to link with libpython

2011-11-29 Thread Eli Bendersky
Eli Bendersky added the comment: Antoine, this is a big improvement - LGTM. -- ___ Python tracker <http://bugs.python.org/issue1040439> ___ ___ Python-bugs-list m

[issue13003] Bug in equivalent code for itertools.izip_longest

2011-12-01 Thread Eli Bendersky
Eli Bendersky added the comment: Yep, it appears that Raymond has fixed this in changeset b0065b9087ef -- resolution: wont fix -> fixed ___ Python tracker <http://bugs.python.org/issu

[issue13527] Remove obsolete mentions in the GUIs page

2011-12-03 Thread Eli Bendersky
Eli Bendersky added the comment: +1 -- keywords: +easy nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13527> ___ ___ Python-bugs-list mailin

[issue13530] Docs for os.lseek neglect to mention what it returns

2011-12-05 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13530> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13574] refresh example in doc for Extending and Embedding

2011-12-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue13574> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13686] Some notes on the docs of multiprocessing

2011-12-30 Thread Eli Bendersky
New submission from Eli Bendersky : I've decided to study the multiprocessing module a bit, and carefully went over the docs (for 2.7). Some small fixes I will commit myself, but a few issues came up on which I'd like some opinion from others. In rough order of appearance in the d

[issue13686] Some notes on the docs of multiprocessing

2011-12-30 Thread Eli Bendersky
Eli Bendersky added the comment: 10. Unless I'm missing something entirely obvious, except in the examples it says that Value has a "value" attribute for actual data access. One is expected to look in the docs of ctypes to find that? -- ___

[issue13709] Capitalization mistakes in the documentation for ctypes

2012-01-03 Thread Eli Bendersky
Eli Bendersky added the comment: And while we're at it, I would consider revising both sentences in a more fundamental way, since they're too chatty for the official docs. -- nosy: +eli.bendersky ___ Python tracker <http://bu

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Éric, I'm not sure that the note is necessary at all, but once it's there, it should value *correctness* over conciseness and readability. -- ___ Python tracker <http://bugs.python.o

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Agreed. Fix committed & issue closed. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue12003> ___ _

[issue12126] incorrect select documentation

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Closing this issue, since it specifically refers to the select error which was fixed. Tracking the removal of the sockets howto document can be done elsewhere. -- resolution: -> fixed status: open ->

[issue11015] Bring test.support docs up to date

2011-05-22 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, you're right, there are still a lot of undocumented symbols (functions, classes, globals). I compiled a list of those I could not find in the .rst docs, excluding ones that are only used in regrtest.py i

[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

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-05-26 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12188> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-05-31 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12223> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11583] os.path.isdir() is slow on windows

2011-06-08 Thread Eli Bendersky
Eli Bendersky added the comment: Brian - great, thanks. -- ___ Python tracker <http://bugs.python.org/issue11583> ___ ___ Python-bugs-list mailing list Unsub

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-06-10 Thread Eli Bendersky
Eli Bendersky added the comment: >From a cursory look at reference/datamodel and library/operator, I see no >other instances of this error. I didn't read every word, however (just grepped >for possible operator/operand mismatches). Also, AFAICS this error is only in 2.7 - the

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12380> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12223] Datamodel documentation page: 'operator' where 'operand' should be

2011-06-24 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue12223> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12043] Update shutil documentation

2011-07-03 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12043> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12434] Strengthen 2.7 io types warning

2011-07-11 Thread Eli Bendersky
Eli Bendersky added the comment: In my opinion, it's the error messages and docstrings that should be changed, not the documentation. This module was introduced in 2.6 and moves on to 2.7, and there's no reason to have it throw confusing errors for the sake of easier back-patchin

[issue12531] documentation index entries for * and **

2011-07-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12531> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12434] Strengthen 2.7 io types warning

2011-07-16 Thread Eli Bendersky
Eli Bendersky added the comment: The difference between 2.6 and 2.7 stems from the rewrite of the IO library in C that was made for 2.7 The error Terry sees gets thrown here (in Modules/_io/stringio.c): if (!PyUnicode_Check(obj)) { PyErr_Format(PyExc_TypeError, "string arg

[issue12531] documentation index entries for * and **

2011-07-16 Thread Eli Bendersky
Eli Bendersky added the comment: Peter, doesn't your patch also refer to the meaning of * and ** in function definitions? I would argue that the missing reference is to a paragraph further down: [...] If the syntax *expression appears in the function call, expression must evaluate

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-07-16 Thread Eli Bendersky
Eli Bendersky added the comment: On one hand, I agree that the situation isn't intuitive. Why should some methods of bytearray accept bytearrays, and some shouldn't? On the other hand, this actually has rather deep implementation reasons. Methods like 'translate' are im

[issue12574] Documentation for Queue in 2.x has an incorrect title

2011-07-16 Thread Eli Bendersky
Eli Bendersky added the comment: > The documentation for Queue in all versions of Python 2.7 and 2.6 (see > http://docs.python.org/release/2.6.7/library/queue.html#module-Queue for > the 2.7 docs) has the title "queue -- A synchronized queue class." The > module, howeve

[issue12574] Documentation for Queue in 2.x has an incorrect title

2011-07-16 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue12574> ___ ___ Python-bugs-list

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Eli Bendersky added the comment: > > Therefore, I propose to change this error message to: > > "unicode argument expected, got '%s'" > > as Terry suggested. > > > > Sounds good to me. > Terry, what are your thoughts? Can I commit th

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22687/unnamed ___ Python tracker <http://bugs.python.org/issue12434> ___ ___ Python-bugs-list mailin

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22694/unnamed ___ Python tracker <http://bugs.python.org/issue12434> ___ ___ Python-bugs-list mailin

[issue12531] documentation index entries for * and **

2011-07-19 Thread Eli Bendersky
Eli Bendersky added the comment: Peter, would you like to submit a corrected patch? -- ___ Python tracker <http://bugs.python.org/issue12531> ___ ___ Python-bug

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-20 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker <http://bugs.python.org/issue12540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12434] Strengthen 2.7 io types warning

2011-07-22 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed status: open -> closed versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue12434> ___ __

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: Is the problem happening only on 64-bit Windows, or 32-bit as well? -- ___ Python tracker <http://bugs.python.org/issue12

[issue11049] add tests for test.support

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: Alright, since *some* tests are better than no tests at all, I will try to combine the patches currently attached to the issue, port them to the Hg repo and commit. -- ___ Python tracker <http://bugs.python.

[issue11049] add tests for test.support

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: Brett, what do you mean by "listed as an essential test in regrtest". The regrtest.STDTESTS list? -- ___ Python tracker <http://bugs.python.o

[issue11049] add tests for test.support

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: This changeset incorporates Giampaolo's patch with a minor fix in `test.support.python_is_optimized` (which returned '' for False sometimes). -- ___ Python tracker <http://bugs.pyt

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: OK, I can reproduce the problem on a clean virtual machine running a pristine XP home SP2. No Python was previously installed. Steps to reproduce: 1. Install Python 3.2.1 MSI from http://www.python.org/download/releases/3.2.1/ 2. Run IDLE from start menu 3

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-07-22 Thread Eli Bendersky
Eli Bendersky added the comment: Am I missing something, or is there no explicit command to kill the subprocess on Windows in PyShell.py The kill_subprocess method (which does get invoked) of ModifiedInterpreter is: def kill_subprocess(self): try: self.rpcclt.close

  1   2   3   4   5   6   7   8   9   10   >