[issue16418] argparse with many choices can generate absurdly long usage message

2012-11-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The code could simply use the str or repr of the choice object It seems to me that this would result in less user-friendly behavior in many cases. It would also require the end-user to understand Python (e.g. xrange and dictionaries), which I don'

[issue16471] upgrade to sphinx 1.1

2012-11-14 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to upgrade Python's Sphinx from version 1.0 to 1.1. I don't already see an issue for this, and I'm not sure what upgrading entails. Personally, I'm interested in the enhanced indexing capabilities, e.g. the "see"

[issue16468] argparse only supports iterable choices

2012-11-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: For the record, choices types implementing only __contains__ never worked in any cases. (I should have said ArgumentParser.add_argument() raises a ValueError in the above.) So I wonder if we should classify this as an enhancement and simply document the

[issue16400] update default PyPI behavior in docs re: listing versions

2012-11-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: Martin, can you confirm that PyPI's behavior is as described in the patch? -- ___ Python tracker <http://bugs.python.org/is

[issue16418] argparse with many choices can generate absurdly long usage message

2012-11-14 Thread Chris Jerdonek
Chris Jerdonek added the comment: For maintenance releases, I think I would favor abbreviating the list only if it is "lossless" (e.g. for xrange objects). I think I would also be okay with abbreviating for arbitrary xranges -- in particular for arbitrary steps. For example, fo

[issue16400] update default PyPI behavior in docs re: listing versions

2012-11-14 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue15767] add ModuleNotFoundError

2012-11-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Since it subclasses ImportError, it seems like we're already considering it to be an error? StopIteration and GeneratorExit don't inherit from an "Error" exception type unlike, say, the OSE

[issue15767] add ModuleNotFoundError

2012-11-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: I meant to include this link for convenience: http://docs.python.org/dev/library/exceptions.html#exception-hierarchy -- ___ Python tracker <http://bugs.python.org/issue15

[issue15767] add ModuleNotFoundError

2012-11-16 Thread Chris Jerdonek
Chris Jerdonek added the comment: To state more explicitly the observation I alluded to in my comment above, we currently follow (without exception -- pun intended :) ) the convention that subclasses of exceptions that end in "Error" also end in "Error". We also do the

[issue16495] bytes_decode() unnecessarily examines encoding

2012-11-17 Thread Chris Jerdonek
New submission from Chris Jerdonek: The code below in bytes_decode() is unnecessary: if (encoding == NULL) encoding = PyUnicode_GetDefaultEncoding(); (from http://hg.python.org/cpython/file/e9af9b1ca67e/Objects/bytesobject.c#l2230 ) because PyUnicode_FromEncodedObject() already

[issue16495] bytes_decode() unnecessarily examines encoding

2012-11-17 Thread Chris Jerdonek
Chris Jerdonek added the comment: For the record, there is a test for the default encoding: http://hg.python.org/cpython/file/e9af9b1ca67e/Lib/test/test_bytes.py#l209 -- ___ Python tracker <http://bugs.python.org/issue16

[issue16506] devguide should have table of contents

2012-11-18 Thread Chris Jerdonek
New submission from Chris Jerdonek: Currently, the devguide does not have a table of contents. For example, clicking the "Table of Contents" link in the left column does nothing. My feeling is that a proper table of contents will make it easier to understand how the devguide is or

[issue16508] include the "object" type in the lists of documented types

2012-11-18 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add the "object" type to the list of types documented in the language reference's standard type hierarchy and the library reference's list of built-in types: http://docs.python.org/dev/reference/datamodel.html#the-sta

[issue16506] devguide should have table of contents

2012-11-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The link does nothing because what is directly below the TOC link is the > table of contents. Yes, that's the impression one gets when the link doesn't work. But the links below are just the sections for the current page rather than the ta

[issue16495] bytes_decode() unnecessarily examines encoding

2012-11-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Patch attached. The tests pass. -- keywords: +patch Added file: http://bugs.python.org/file28039/issue-16495-1-default.patch ___ Python tracker <http://bugs.python.org/issue16

[issue13538] Improve doc for str(bytesobject)

2012-11-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch after Ezio's review on Rietveld. -- Added file: http://bugs.python.org/file28040/issue-13538-6-default.patch ___ Python tracker <http://bugs.python.org/is

[issue16506] devguide should have table of contents

2012-11-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching patch. Out-of-the-box at least, Sphinx seems to have the constraint that the "home page" (what the link in the upper-left corner points to) needs to be the same as the table of contents (what the "table of contents" link in th

[issue16506] devguide should have table of contents

2012-11-19 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue13538] Improve doc for str(bytesobject)

2012-11-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching new patch to address Ezio's further comments (for the convenience of comparing in Rietveld). I will be committing this. -- Added file: http://bugs.python.org/file28045/issue-13538-7-default.

[issue13538] Improve doc for str(bytesobject)

2012-11-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Éric! (And thanks also to Ezio who helped quite a bit with the improvements.) I replied to your comments on Rietveld. -- ___ Python tracker <http://bugs.python.org/issue13

[issue16508] include the "object" type in the lists of documented types

2012-11-19 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- assignee: docs@python -> chris.jerdonek ___ Python tracker <http://bugs.python.org/issue16508> ___ ___ Python-bugs-list mai

[issue16514] Cryptic traceback when sys.path[0] is None

2012-11-20 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue16514> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16515] TypeError message incorrect for max() with no args

2012-11-20 Thread Chris Jerdonek
New submission from Chris Jerdonek: The below should probably say something along the lines of "max expected 1 positional arguments" (since the foo value is an argument): >>> max(foo=1) Traceback (most recent call last): File "", line 1, in TypeError: max e

[issue16515] TypeError message incorrect for max() with one keyword arg

2012-11-20 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- title: TypeError message incorrect for max() with no args -> TypeError message incorrect for max() with one keyword arg ___ Python tracker <http://bugs.python.org/issu

[issue13538] Improve doc for str(bytesobject)

2012-11-20 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16517] address merge conflicts in devguide null-merge instructions

2012-11-20 Thread Chris Jerdonek
New submission from Chris Jerdonek: The null-merge instructions in the devguide (in the "note" box in the section linked to below): http://docs.python.org/devguide/committing.html#porting-within-a-major-version are incomplete if the merge created conflicts. It would help

[issue16518] add "buffer protocol" to glossary

2012-11-20 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add "buffer protocol" (or perhaps "buffer object") to the glossary. The concept is currently described here: http://docs.python.org/dev/c-api/buffer.html#buffer-protocol Éric initially suggested doing this in the com

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
New submission from Chris Jerdonek: The TypeError message when a call to subprocess.Popen() lacks the args argument is incorrect. For 3.3 and 3.4, the message incorrectly says that a positional argument is required when a keyword argument will do: >>> import subprocess >>>

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Also see the terminology-related issue 15990 created from that thread. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16517] address merge conflicts in devguide null-merge instructions

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Is there a bug report for this on the mercurial tracker? Indeed there is -- by one of our own in fact :) http://bz.selenic.com/show_bug.cgi?id=2706 -- nosy: +pitrou ___ Python tracker <http://bugs.pyth

[issue15990] solidify argument/parameter terminology

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is a proposed patch just to get the ball rolling on this. Note that I'm proposing that we let ourselves use the word "standard" in place of "positional-or-keyword" when talking about parameters. This is partly inspir

[issue16517] address merge conflicts in devguide null-merge instructions

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching new patch incorporating David's suggestions. -- Added file: http://bugs.python.org/file28062/issue-16517-2.patch ___ Python tracker <http://bugs.python.org/is

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > TypeError: __init__() missing 1 required positional argument: 'args' I think something like the following would be more correct: __init__() missing argument for parameter 'args' -- __

[issue16517] address merge conflicts in devguide null-merge instructions

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Addressed by: http://hg.python.org/devguide/rev/78a69b929ab7 (I accidentally left the issue number out of the commit message.) -- resolution: -> fixed stage: patch review -> committed/rejected status: open -&g

[issue16528] 3.2 docs not updating on docs.python.org

2012-11-21 Thread Chris Jerdonek
New submission from Chris Jerdonek: The 3.2 docs haven't updated since Oct 28, 2012: http://docs.python.org/3.2/ The commits for the Doc folder around that time are as follows. I observed that the top commit was not built, but I'm not sure about the ones previous: $ hg log -b 3.2

[issue15990] solidify argument/parameter terminology

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: I like option (3). I attached a new patch using this approach. As suggested, I made the glossary entries for "keyword argument" and "positional argument" into stubs. So now there are just two substantive entries: one for "argumen

[issue16528] 3.2 docs not updating on docs.python.org

2012-11-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the info. Is this information reflected somewhere online? -- ___ Python tracker <http://bugs.python.org/issue16

[issue16528] 3.2 docs not updating on docs.python.org

2012-11-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The policy is that only the versions in active maintenance are automatically > rebuilt. 3.2 is technically no longer in maintenance, it's just that there > are reasons that we are delaying the final release. Okay, below the devguide says

[issue16528] 3.2 docs not updating on docs.python.org

2012-11-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: It's not. Thanks for the clarification and info. -- ___ Python tracker <http://bugs.python.org/issue16528> ___ ___ Pytho

[issue15990] solidify argument/parameter terminology

2012-11-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: I have a number of comments but it is a holiday this weekend so I might not be able to get to it for a day or two. -- ___ Python tracker <http://bugs.python.org/issue15

[issue16523] attrgetter and itemgetter signatures in docs need cleanup

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: +.. function:: attrgetter(attr[, attr2, attr3, ...]) Why not reword to use the *attr notation? It is even already being used below: + The function is equivalent to:: def attrgetter(*items): if any(not isinstance(item, str) for item in

[issue16523] attrgetter and itemgetter signatures in docs need cleanup

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: You can also make that distinction using *. For example: .. function:: attrgetter(attr, *attrs) or .. function:: attrgetter(attr) attrgetter(attr1, attr2, *attrs) (cf. http://docs.python.org/dev/library/functions.html#max ) Elsewhere we

[issue16528] 3.2 docs not updating on docs.python.org

2012-11-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- keywords: +easy resolution: invalid -> fixed type: behavior -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue16543> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Here we're using 'positional' to refer to parameters that PEP 362 calls > "POSITIONAL_ONLY", whereas the regular TypeErrors (e.g. produced for > user-defined functions) use 'positional' to mean what PEP 362 calls

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > This can be fixed by adding "positional" before "arguments" in the error > message. Do we know for sure that the values in the args argument in a call to PyArg_UnpackTuple always correspond to the positional arguments of a call t

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > TypeError: f() missing 1 required positional argument: 'a' Yes, I think this should also be changed because passing "a" as a keyword argument is okay: >>> f(a=1) I would suggest something like-- TypeError: f() m

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > TypeError: f() missing 1 required positional argument: 'a' By the way, changing this message is the subject of issue 16520 (which should probably be retitled). -- ___ Python tracker <http:/

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: I would keep any "global" discussion (for decision and coordination purposes) as part of a single meta-issue, but retain individual instances that need to be corrected as separate issues. I don't think we should try to fix them all as part

[issue16518] add "buffer protocol" to glossary

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: Do we have a recommended (and preferably briefer) way of saying, "any object that supports the buffer protocol"? -- ___ Python tracker <http://bugs.python.o

[issue16518] add "buffer protocol" to glossary

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: s/any// -- ___ Python tracker <http://bugs.python.org/issue16518> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16518] add "buffer protocol" to glossary

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I wouldn't use "bytes-like object". What about "buffer-like object"? -- ___ Python tracker <ht

[issue16518] add "buffer protocol" to glossary

2012-11-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > > That's why I'm proposing "bytes-like object". > > If it is somehow possible to establish the term as a shorthand for the real meaning, This can be established via the glossary. We can still use "buffer provider" f

[issue16543] Use "positional arguments" in PyArg_UnpackTuple

2012-11-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: > TypeError: f() missing 1 required positional argument: 'a' The error message for round(), for example, has a different form: >>> round() TypeError: Required argument 'number' (pos 1) not found It would be

[issue16543] improve TypeError messages for missing arguments (meta issue)

2012-11-24 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- assignee: ezio.melotti -> stage: test needed -> title: Use "positional arguments" in PyArg_UnpackTuple -> improve TypeError messages for missing arguments (meta issue) ___ Python tracker <

[issue16520] subprocess.Popen() TypeError message incorrect without args argument

2012-11-24 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- dependencies: +improve TypeError messages for missing arguments (meta issue) ___ Python tracker <http://bugs.python.org/issue16

[issue15990] solidify argument/parameter terminology

2012-11-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: I'm attaching a patch that preserves the structure of the previous patch but that builds on the wording and formatting. The patch also addresses many of the comments on Rietveld. I will also publish some comment replies on Rietveld (to the previous

[issue16209] add a "class str" entry to the docs

2012-11-24 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching patch. Adding Nick to the nosy list because he did the work of originally breaking out the "Text Sequence Type" section for issue #4966, as well as Terry who created that issue. I view the current issue and patch as a progression of s

[issue16209] add a "class str" entry to the docs

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The simpler approach Chris has taken here (i.e. just leaving the string > methods separate from the class definition) also works. Yes, though I mentioned nesting the string methods beneath the class entry in the original post for this issue, I figu

[issue16209] add a "class str" entry to the docs

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch to fix up affected/related index entries. -- Added file: http://bugs.python.org/file28124/issue-16209-2-default.patch ___ Python tracker <http://bugs.python.org/issue16

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: To clarify, I didn't say that _convert_names() should be used. I was just noting that it returns a list. -- ___ Python tracker <http://bugs.python.org/is

[issue16552] os.path.basename() docs should link to os.path.split()

2012-11-25 Thread Chris Jerdonek
New submission from Chris Jerdonek: The docs for os.path.abspath(), os.path.basename(), and os.path.dirname(): http://docs.python.org/dev/library/os.path.html#os.path.abspath should hyperlink to os.path.normpath() and os.path.split() as appropriate for easier navigability

[issue16552] os.path.basename() docs should link to os.path.split()

2012-11-25 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-11-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: The patch needs documentation, though, right? http://docs.python.org/dev/library/argparse.html#filetype-objects -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue11

[issue4945] json checks True/False by identity, not boolean value

2012-11-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: On the whole, the patch looks okay to me. I think we should strive for correctness in the documentation where possible. While keeping "True" would keep the forward implications correct and document the "preferred" value, there is often a

[issue15990] solidify argument/parameter terminology

2012-11-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching new patch to address Ezio's suggestions on Rietveld. I will also respond to those comments on Rietveld shortly. -- Added file: http://bugs.python.org/file28142/issue-15990-5-default.patch ___ P

[issue15990] solidify argument/parameter terminology

2012-11-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: For some reason, Rietveld is erroring out every time I try to reply to one of the comments. So I am pasting the reply below: [Issue in the Rietveld tracker here: http://code.google.com/p/rietveld/issues/detail?id=394 ] On 2012/11/26 22:07:50, ezio.melotti

[issue16209] add a "class str" entry to the docs

2012-11-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching new patch to address Ezio's suggestions on Rietveld. -- Added file: http://bugs.python.org/file28143/issue-16209-3-default.patch ___ Python tracker <http://bugs.python.org/is

[issue16568] allow constructors to be documented separately from class

2012-11-28 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to settle on and provide a way to document the constructor of a class separately from the overall summary/description of a class. This is something that Ezio, Nick, and I discussed briefly on IRC a few hours ago. We all see the value in it

[issue16209] add a "class str" entry to the docs

2012-11-28 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16205] update :class:`str` references to link to the str type section

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: This was addressed by issue #16209 since with that change :class:`str` and :func:`str` now both go to the new str class entry in the string type section. See also the new issue #16568. -- resolution: -> duplicate status: open -> closed supe

[issue15990] solidify argument/parameter terminology

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: I realize now that this would also be good for 2.7. I will try to do that tomorrow. -- versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue15

[issue11076] Iterable argparse Namespace

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Following up Andrew's last comment, for the record, it looks like this was done as part of issue 8982. -- nosy: +chris.jerdonek superseder: -> argparse docs cross reference Namespace as a class but the Namespace class is not do

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2012-11-28 Thread Chris Kaynor
Changes by Chris Kaynor : -- nosy: +DragonFireCK ___ Python tracker <http://bugs.python.org/issue4806> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15990] solidify argument/parameter terminology

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Note that I took this from the pep. The pep could get the same clarification > (unless I made it more confusing than it was). Reading the following, it seems that PEPs aren't generally clarified after becoming Final (as is PEP 362): "In ge

[issue15990] solidify argument/parameter terminology

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the clarification. I will create an issue to clarify that part of PEP 1. It should also say who is allowed to make such changes and whether/from whom approval is necessary, etc. -- ___ Python tracker

[issue16574] clarify policy on updates to final peps

2012-11-28 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to clarify the policy in PEP 1 regarding non-substantive changes to PEPs in the Final state (minor clarifications, rephrasings, etc). Currently, PEP 1 says, "In general, Standards track PEPs are no longer modified after they have reache

[issue15990] solidify argument/parameter terminology

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: I just created issue 16574 to clarify PEP 1 with regard to the above. -- ___ Python tracker <http://bugs.python.org/issue15

[issue16574] clarify policy on updates to final peps

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Are you saying that PEP 1 is correct and that Final PEPs should not be modified, or that the PEP isn't correct but that it shouldn't be modified? If the latter, for someone new it's not clear whether minor clarifications are permitted and i

[issue16574] clarify policy on updates to final peps

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Okay, so in a comment to issue 15990, Ezio suggested that some clarifying changes to PEP 362 might be worth making. How would I (or someone else) go about doing that? Where would they begin? I think this recent e-mail from Nick applies: http

[issue16574] clarify policy on updates to final peps

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: By the way, I don't especially care if the clarification goes in the PEP itself or not. What's more important is that it be documented *somewhere* (which could also be the devguide, for example). My interest in knowing the process

[issue16574] clarify policy on updates to final peps

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I think the gist here is that “in general” is good enough, given that there > is unwritten consensus about what edits are possible in the developers’ heads. As I said, I'm okay with keeping the PEP as is (with "in general," etc) provid

[issue4945] json checks True/False by identity, not boolean value

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Ezio told me my previous comment was hard to understand. For the record, what I meant was that if you have a statement like, "If *allow_nan* is ``True``, then Otherwise, ...," then this can be read to mean that something like 1 for *allow_nan

[issue4945] json checks True/False by identity, not boolean value

2012-11-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: You're right. My mistake. :) -- ___ Python tracker <http://bugs.python.org/issue4945> ___ ___ Python-bugs-list m

[issue15990] solidify argument/parameter terminology

2012-11-29 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching a 2.7 version of the patch for this issue. >From the patch committed to Python 3, I removed mention of keyword-only >parameters, inspect.Parameter, and PEP 362 (because all are specific to Python >3). -- Added file: http://bugs.p

[issue16574] clarify policy on updates to final peps

2012-11-29 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the feedback. I will post here a devguide patch to include some of this information in the devguide. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16581] define "PEP editor" in PEP 1

2012-11-29 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to define "PEP editor" (or "PEP editors") in PEP 1 before it is used in the document and to provide certain clarifying information. In particular, PEP 1 should say whether editorship is an invitation-only status and/or h

[issue15990] solidify argument/parameter terminology

2012-11-29 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for providing the info. To clarify, is membership in peps@ restricted to editors? -- ___ Python tracker <http://bugs.python.org/issue16

[issue16581] define "PEP editor" in PEP 1

2012-12-01 Thread Chris Jerdonek
Chris Jerdonek added the comment: >From PEP 1: "If the PEP author is a Python developer, assign the bug/patch to >him, otherwise assign it to the [a] PEP editor." Given that the list is small, something else that might make sense is adding a "PEP editors" area t

[issue16581] define "PEP editor" in PEP 1

2012-12-01 Thread Chris Jerdonek
Chris Jerdonek added the comment: Btw, I will prepare a patch that incorporates the information that Barry provided. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16581] define "PEP editor" in PEP 1

2012-12-02 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching proposed patch. The patch also makes some minor stylistic improvements and typo fixes (e.g. s/work flow/workflow/, s/we/the PEP editors/, and eliminating trailing whitespace on a few lines). -- keywords: +patch Added file: http

[issue16581] define "PEP editor" in PEP 1

2012-12-02 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The "consisting" doesn't sound too well to me, maybe "reserved to"? "Reserved for" sounds good to me. Originally I was thinking of "limited to" or "restricted to," b

[issue16581] define "PEP editor" in PEP 1

2012-12-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: Are there any comments on the patch from the PEP 1 authors? PEP 1 says that I should assign this to one of the PEP authors. Any takers, or is this something I can commit on the authors' behalf? -- ___ P

[issue16614] argparse should have an option to require un-abbreviated option names

2012-12-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: David, is issue 14910 the one you were thinking of? -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue16

[issue16619] LOAD_GLOBAL used to load `None` under certain circumstances

2012-12-05 Thread Chris Kaynor
Changes by Chris Kaynor : -- nosy: +DragonFireCK versions: +Python 2.6 ___ Python tracker <http://bugs.python.org/issue16619> ___ ___ Python-bugs-list mailin

[issue16619] LOAD_GLOBAL used to load `None` under certain circumstances

2012-12-05 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue16619> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16623] argparse help formatter does not honor non-breaking space

2012-12-05 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker <http://bugs.python.org/issue16623> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16625] Exception on mode 'br'

2012-12-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Is this issue just for 2.7? 3.3 was selected as the affected version, but the error message text seems limited to 2.7: http://hg.python.org/cpython/file/0adfbafe8a99/Objects/fileobject.c#l303 The exception can be reproduced simply using 2.7: >>>

[issue16629] IDLE: Calltips test fails due to int docstring change

2012-12-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Here is a patch, which adds multiline calltips support. Serhiy, it looks like this issue/patch is just to fix the test and not to add "support." Also, it looks like the test only checks the first line, so that the second line shouldn'

<    15   16   17   18   19   20   21   22   23   24   >