[issue12961] unlabelled balls in boxes

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

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Chris Rebert
Chris Rebert added the comment: Is format() really the best choice here, considering that {}s already have a meaning in the shell? -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue13

[issue10364] IDLE: make .py default added extension on save

2011-11-30 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue10364> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13535] Improved two's complement arithmetic support: to_signed() and to_unsigned()

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

[issue13658] Extra clause in class grammar documentation

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

[issue12857] Expose called function on frame object

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

[issue12760] Add create mode to open()

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

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

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

[issue12029] ABC registration of Exceptions

2011-05-23 Thread Chris Rebert
Chris Rebert added the comment: Scouting around the CPython codebase a bit, I speculate that the cause of this behavior is that PyErr_GivenExceptionMatches() in errors.c uses PyType_IsSubtype() [which simply walks a class's __mro__ checking for pointer equality] rather

[issue11377] Deprecate platform.popen()

2011-05-23 Thread Chris Rebert
Chris Rebert added the comment: Slight tangent: Regarding os.popen()'s [documentation] status, there's a bug for that: http://bugs.python.org/issue9382 -- nosy: +cvrebert ___ Python tracker <http://bugs.python.o

[issue12029] ABC registration of Exceptions

2011-05-23 Thread Chris Rebert
Chris Rebert added the comment: Surveying the docs, the current behavior *is* /technically/ correct (in a suspiciously precise way) according to the Language Reference: http://docs.python.org/dev/reference/compound_stmts.html#grammar-token-try_stmt : "For an except clause with an expre

[issue12192] Doc that collection mutation methods return item or None

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

[issue6490] os.popen documentation in 2.6 is probably wrong

2011-05-30 Thread Chris Rebert
Chris Rebert added the comment: Per msg129958, attached is my stab at a patch to replace most uses of os.popen() with the subprocess module. The test suite passes on my Mac, but the patch does touch some specific-to-other-platform code, so further testing is obviously needed. This is my

[issue3177] implement os.startfile on posix and MacOSX

2011-07-10 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue3177> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1170] shlex have problems with parsing unicode

2011-07-17 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: -cvrebert ___ Python tracker <http://bugs.python.org/issue1170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-08-28 Thread Chris Rebert
Chris Rebert added the comment: Adjusted patch per R. David's comment. I obviously think it should be a full red warning box (that's how it is in my patch), but my opinion clearly isn't an outside one. Also, Ping/Bump on finally getting this applied. -- A

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-11-11 Thread Chris Rebert
Chris Rebert added the comment: "the above Note" mentioned in those last two lines demonstrates shlex.split() and correct tokenization. -- ___ Python tracker <http://bugs.python.

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-25 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue11926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12029] ABC registration of Exceptions

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

[issue12067] Doc: remove errors about mixed-type comparisons.

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

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Working on a more concise new draft... -- ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bugs-list mailin

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Okay; new, hopefully better, draft. Feedback? -- versions: -Python 3.1 Added file: http://bugs.python.org/file16094/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Gonna have to disagree about the raw_input(), because the escaping involved would complicate the example and could be distracting/confusing. Rest of Brian's suggestions taken into account. -- Added file: http://bugs.python.org/file

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file14770/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16094/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: Well, the same basic example is used for cohesiveness, but the issue/pitfall being highlighted in each note is distinct. But you have a point about shlex being pointed out twice, so here's a version with that redundancy excised. -- Added file:

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: Counterpatch incorporating R. David Murray's succinctness improvements while retaining correct positioning of the first note, managing to incorporate the 3rd note not present in Mr. Murray's, and including more precise wording to address the problem

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file15033/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16095/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: This version takes Murray's most recent draft, applies some minor tweaks from my prior patch, and has the "python -c" etc. changed to "echo '$MONEY'" so the sh -c comment is completely unambiguous (and it's a

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16101/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16108/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Chris Rebert added the comment: Okay, now if this could just get dev review... -- Added file: http://bugs.python.org/file16128/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Chris Rebert added the comment: Thanks to all for the copious feedback & suggestions, and R. David Murray for his superior docs writing skills! -- ___ Python tracker <http://bugs.python.org/is

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-05 Thread Chris Rebert
Chris Rebert added the comment: One problem with the 3.x versions: the raw_input() should be input(). -- ___ Python tracker <http://bugs.python.org/issue6

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-11 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue5250> ___ ___ Python-bug

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-11 Thread Chris Rebert
Chris Rebert added the comment: Here's a draft of an updated version of the "Data model" docs reflecting the changes in the PEP. -- keywords: +patch type: -> feature request Added file: http://bugs.python.org/file16891/

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-11 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file16893/datamodel.rst.diff ___ Python tracker <http://bugs.python.org/issue5250> ___ ___ Python-bugs-list m

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-14 Thread Chris Rebert
Chris Rebert added the comment: This might need to be reopened. There's a verb missing from he following sentence of the patch: "This is consistent with the lookup of special methods that called on instances, only that in this case the instance is itself a class." Sec

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-19 Thread Chris Rebert
Chris Rebert added the comment: One last triviality: Could the mention of __subclasscheck__() in http://docs.python.org/dev/library/abc.html#abc.ABCMeta.__subclasshook__ get linked to the newly-added docs? -- ___ Python tracker <h

[issue13997] Add open_ascii() builtin

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

[issue13997] Add open_ascii() builtin

2012-02-11 Thread Chris Rebert
Chris Rebert added the comment: @Bendersky: Unlike open()'s other arguments, that one wouldn't be orthogonal though. It would be possible to write e.g.: f = open(fname, encoding="big5", errors="replace", ascii_only=True) which seems disturbing, IMO. It w

[issue14015] surrogateescape largely missing from documentation

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

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

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

[issue13703] Hash collision security issue

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

[issue14186] Link to PEP 3107 in "def" part of Language Reference

2012-03-03 Thread Chris Rebert
New submission from Chris Rebert : The part of the Language Reference concerning the `def` statement (http://docs.python.org/dev/reference/compound_stmts.htm#function-definitions ) should include a See Also link to PEP 3107 "Function Annotations". -- assignee: docs@python

[issue14187] add "annotation" entry to Glossary

2012-03-03 Thread Chris Rebert
New submission from Chris Rebert : The Glossary should include an entry for "annotation" and/or "function annotation" regarding the language feature introduced by PEP 3107. -- assignee: docs@python components: Documentation messages: 154852 nosy: cvrebert, docs@pyt

[issue13703] Hash collision security issue

2012-03-03 Thread Chris Rebert
Chris Rebert added the comment: The Design and History FAQ (will) need a minor corresponding update: http://docs.python.org/dev/faq/design.html#how-are-dictionaries-implemented -- ___ Python tracker <http://bugs.python.org/issue13

[issue14186] Link to PEP 3107 in "def" part of Language Reference

2012-03-09 Thread Chris Rebert
Chris Rebert added the comment: My suggestion was a seealso to parallel those in the "The with Statement" and "Class definitions" sections of the same page. -- ___ Python tracker <http://bug

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Well, I thought the Glossary was a somewhat useful document in and of itself ("What's conceptual term 'X' mean? Hmm... I'll check the Glossary!") and so should include all terms which aren't module-specific. But I won'

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Also, it would be a nice place to point out for those coming from Java or similar that the Java-esque concept of annotations has little to do with Python's function annotations, and that in Python their uses are typically served using decorators in

[issue14187] add "annotation" entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert added the comment: Strawman entry wording: An annotation is an arbitrary metadata value associated with a function parameter or return value. The syntax for function annotations is explained in [Function definitions][http://docs.python.org/dev/reference/compound_stmts.html

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Chris Rebert
New submission from Chris Rebert : The entry for "dictionary" reads in part: [...] The keys can be any object with __hash__() function and __eq__() methods. [...] __hash__() is a method, not a function (well, it's a "hash function" in the computer science sense,

[issue14257] minor error in glossary wording regarding __hash__

2012-03-12 Thread Chris Rebert
Chris Rebert added the comment: I regret to inform you that those changes made the sentence in question ungrammatical. Removing the word "method" will make it grammatical again (as originally suggested). -- resolution: fixed -> status: c

[issue14298] account for dict randomization in Design & History FAQ

2012-03-13 Thread Chris Rebert
New submission from Chris Rebert : The randomization introduced by the fix for issue 13703 means that the example string hash values given in http://docs.python.org/dev/faq/design.html#how-are-dictionaries-implemented are liable to become more difficult to reproduce (in fact, the example

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: Links to the "rambling Unicode thread"s for posterity and convenience: Gets into several issues, among them, Unicode: http://mail.python.org/pipermail/python-ideas/2012-February/013665.html Unicode-specific offshoot of the above: http://mail.

[issue3177] Add shutil.open

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: > The alternative is to call Popen(['xdg-open', etc.]) and check if we get > ENOENT, but I don’t know if this would be non-ambiguous (for example, do we > get ENOENT if xdg-open exists but not the file?). It's unambiguous. Python itsel

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

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

[issue3177] Add shutil.open

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: >> (2) Target file doesn't exist >> (4) No application is associated with the file type in question > I think that instead of mapping error codes to custom exceptions, which is > fragile and not trivial to maintain, we should just

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: > The reason I'm not a fan is the fact that, with "shell=True", you can use the > *executable* argument to Popen to select a non-default shell. At that point, > passing a list can make sense, even if it isn't useful for the defau

[issue14481] trivial formatting error in subprocess docs

2012-04-03 Thread Chris Rebert
New submission from Chris Rebert : The final line under "17.1.4.2. Replacing shell pipeline" (http://docs.python.org/dev/library/subprocess.html#replacing-shell-pipeline ) isn't formatted as code (e.g. monospaced); it should be. -- assignee: docs@python components

[issue14544] Limit "global" keyword name conflicts in language spec to those enforced by CPython

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

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-06 Thread Chris Rebert
Change by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <https://bugs.python.org/issue22674> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10581] Review and document string format accepted in numeric data type constructors

2013-06-10 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue10581> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18163] Add a 'key' attribute to KeyError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18163> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18166] 'value' attribute for ValueError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18166> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18162] Add index attribute to IndexError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18162> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18170] define built-in exceptions in Python code

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18335] Add textwrap.dedent, .indent, as str methods.

2013-06-30 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18335> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18406] unicodedata.itergraphemes / str.itergraphemes / str.graphemes

2013-07-08 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18369] X509 cert class for ssl module

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

[issue18264] enum.IntEnum is not compatible with JSON serialisation

2013-07-18 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18264> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18436] Add mapping of symbol to function to operator module

2013-07-19 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue18436> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: Here's a quick stab at 2/3rds of an implementation, and some docs. -- Added file: http://bugs.python.org/file25310/shutil_open.py ___ Python tracker <http://bugs.python.org/i

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: > # or os.name == 'mac' ??? Nope, that refers to retro Mac OS 9 (and probably lower). Mac OS X is 'posix' for os.name purposes. -- ___ Python tracker <http:/

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: `operation` seems questionable. IMO, the verbs seem stronger / more important than mere optional suggestions (particularly "open" vs. "edit" for files with read-only viewers), and only Windows supports them (so anyone requiring that featur

[issue14616] subprocess docs should mention pipes.quote/shlex.quote

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

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: No, it isn't. Changing the `IOError(errno.ENOENT, "...`s to `FileNotFoundError("...`s would half fix it. The other half, the `OSError(errno.ENOSYS)`s, has a FIXME for what's the right error to raise in that case ("no application asso

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: >> ENOSYS was the closest approximation I could find. Thoughts? Custom >> error class? Different errno? Something else? > > Why not ValueError? Because the value they provided was perfectly valid (the file/directory *did* exist), so the ca

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: Hobs, why is exit code 4 of xdg-open (which the manpage describes as the extremely generic "The action failed.") interpreted as FileNotFoundError in your new version? -- ___ Python tracker <http://bu

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: Also: The FileNotFoundErrors quote the path twice: Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) >>> path = "/foo/bar" >>> print "Path '%s' may not exist" % repr(path) Path ''/f

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: The xdg-open source code (http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-open ) shows that exit code 4 is used whenever an invocation of another opener script (e.g. kde-open, gnome-open) fails for any reason besides said script not being installed

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Chris Rebert added the comment: >> The semantics of "associated application" change considerably from >> operating system to operating system. As an example, >> ``os.startfile("a.py")`` will usually run `a.py` in the Python >> interpreter, whil

[issue3177] Add shutil.open

2012-04-23 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file25332/shutil_open.patch ___ Python tracker <http://bugs.python.org/issue3177> ___ ___ Python-bugs-list m

[issue9530] integer undefined behaviors

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

[issue13968] Support recursive globs

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

[issue10427] 24:00 Hour in DateTime

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

[issue14187] add "annotation" entry to Glossary

2012-05-10 Thread Chris Rebert
Chris Rebert added the comment: Any reactions to the strawman wording for the entry? -- ___ Python tracker <http://bugs.python.org/issue14187> ___ ___ Python-bug

[issue14187] add "annotation" entry to Glossary

2012-05-11 Thread Chris Rebert
Chris Rebert added the comment: Here's an actual patch. -- keywords: +patch Added file: http://bugs.python.org/file25544/func_annotation.patch ___ Python tracker <http://bugs.python.org/is

[issue14187] add "function annotation" entry to Glossary

2012-05-13 Thread Chris Rebert
Chris Rebert added the comment: Right, I can see how the 3rd paragraph has become tangential given the refined scope of the entry. What do people think about a separate entry: "annotation" Can refer to either a `function annotation` or some uses of `d

[issue14187] add "function annotation" entry to Glossary

2012-05-13 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file25568/function_annotation_v2.patch ___ Python tracker <http://bugs.python.org/issue14187> ___ ___ Pytho

[issue14616] subprocess docs should mention pipes.quote/shlex.quote

2012-05-13 Thread Chris Rebert
Chris Rebert added the comment: Patch to mention shlex.quote() in the `subprocess` module's "Frequently Used Arguments" Warning box. Could perhaps be a separate Note, but that could be clutter-y. -- keywords: +patch Added file: http://bugs.pytho

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-05-13 Thread Chris Rebert
Chris Rebert added the comment: Re: Nick's comments: Besides `close_fds`, what other Popen parameters currently have suboptimal defaults? -- ___ Python tracker <http://bugs.python.org/i

[issue14674] Add link to RFC 4627 from json documentation

2012-05-14 Thread Chris Rebert
Chris Rebert added the comment: Draft docs patch. More cross-referencing. Analysis of deviations from RFC based on previous docs & the RFC. Don't know if there are relevant, more precise implementation limitations that need to be mentioned. If backported to 2.x, will need to cover

[issue14805] Support display of both __cause__ and __context__

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

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

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

[issue14674] Add link to RFC 4627 from json documentation

2012-05-14 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file25592/json.rst.patch ___ Python tracker <http://bugs.python.org/issue14674> ___ ___ Python-bugs-list m

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert added the comment: New revision per Éric's Rietveld feedback. Sidenote: Is there any way to get notified of these reviews? I only saw it because I happened to click the "review" link on a lark. -- Added file: http://bugs.python.org/file25594

  1   2   3   >