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

2012-04-01 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 default shell. Modulo

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

2012-03-31 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Links to the rambling Unicode threads 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

[issue3177] Add shutil.open

2012-03-31 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 itself never

[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 pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7839 ___ ___ Python-bugs-list

[issue14298] account for dict randomization in Design History FAQ

2012-03-13 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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

[issue14257] minor error in glossary wording regarding __hash__

2012-03-12 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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: closed - open

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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't push hard if no one

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

[issue14187] add annotation entry to Glossary

2012-03-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

[issue14257] minor error in glossary wording regarding __hash__

2012-03-11 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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, but it's

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

2012-03-09 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 rep...@bugs.python.org http://bugs.python.org

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

2012-03-03 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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

[issue14187] add annotation entry to Glossary

2012-03-03 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: 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@python

[issue13703] Hash collision security issue

2012-03-03 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 rep...@bugs.python.org http

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

2012-02-23 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13866 ___ ___ Python-bugs-list

[issue13703] Hash collision security issue

2012-02-23 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13703 ___ ___ Python-bugs-list

[issue14015] surrogateescape largely missing from documentation

2012-02-14 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14015 ___ ___ Python-bugs-list

[issue13997] Add open_ascii() builtin

2012-02-11 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13997 ___ ___ Python-bugs-list

[issue13997] Add open_ascii() builtin

2012-02-11 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 would be nicer to rule

[issue12857] Expose called function on frame object

2011-12-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12857 ___ ___ Python-bugs-list

[issue12760] Add create mode to open()

2011-12-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12760 ___ ___ Python-bugs-list

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2011-12-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9922 ___ ___ Python-bugs-list

[issue13658] Extra clause in class grammar documentation

2011-12-23 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13658 ___ ___ Python-bugs-list

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

2011-12-05 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13535 ___ ___ Python-bugs-list

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

2011-11-30 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10364 ___ ___ Python-bugs-list

[issue13238] Add shell command helpers to shutil module

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

[issue12961] unlabelled balls in boxes

2011-09-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12961 ___ ___ Python-bugs-list

[issue1170] shlex have problems with parsing unicode

2011-07-17 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: -cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1170 ___ ___ Python-bugs-list

[issue3177] implement os.startfile on posix and MacOSX

2011-07-10 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3177 ___ ___ Python-bugs-list

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

2011-05-30 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2011-05-26 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12192 ___ ___ Python-bugs-list

[issue12029] ABC registration of Exceptions

2011-05-23 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 pyb...@rebertia.com 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 rep...@bugs.python.org http

[issue12029] ABC registration of Exceptions

2011-05-23 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2011-05-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___ ___ Python-bugs-list

[issue12029] ABC registration of Exceptions

2011-05-08 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12029 ___ ___ Python-bugs-list

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

2011-04-25 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11926 ___ ___ Python-bugs-list

[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 pyb...@rebertia.com added the comment: the above Note mentioned in those last two lines demonstrates shlex.split() and correct tokenization. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7950

[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 pyb...@rebertia.com 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. -- Added file

[issue9381] syntax error in Unicode C API docs

2010-07-25 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: See http://docs.python.org/py3k/c-api/unicode.html#file-system-encoding Note the literal and unhyperlinked :func:PyUnicode_FSConverter in the last sentence of the first paragraph. I suspect there's a trivial syntax error in the ReST source

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

2010-07-25 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: http://docs.python.org/py3k/library/os.html currently mentions os.popen() in several places. The docs for os.popen() itself say: 'These functions are described in section File Object Creation' However, unlike the 2.x version

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

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Added file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7950

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

2010-07-25 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: My apologies for the extra email... -- Added file: http://bugs.python.org/file18210/subprocess.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7950

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

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7950

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

2010-07-23 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: I found some extra time. Here's an initial suggested patch against py3k head. Disclaimer: I have no special expertise in computer security beyond having read Secure Coding: Principles and Practices a while back. -- keywords: +patch

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

2010-07-21 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: I'm busy with finding an apartment and taking exams for the next week-or-so, but after that I'll try and suggest a patch. If anyone wants to have a crack at it between now and then, don't let me stop you

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-19 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-14 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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. Secondly

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-12 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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/datamodel.rst.diff

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Added file: http://bugs.python.org/file16893/datamodel.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5250

[issue5250] Document __instancecheck__ and __subclasscheck__

2010-04-11 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5250

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

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

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

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

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

2010-02-04 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

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

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

2010-02-02 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2010-02-02 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file15033/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file16095/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-02 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 simpler example generally). Whether

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

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file16101/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Added file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file16108/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-01 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Working on a more concise new draft... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-01 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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 rep...@bugs.python.org http

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

2010-02-01 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

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

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file14770/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

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

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file16094/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

[issue7159] Urllib2 authentication memory.

2009-11-11 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7159 ___ ___ Python-bugs-list

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

2009-10-04 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Ok, changed to note directives instead of warnings. Anything else that keeps this from being applied? -- Added file: http://bugs.python.org/file15033/subprocess.rst.patch ___ Python tracker rep

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

2009-10-04 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file14817/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-09-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___ ___ Python-bugs-list

[issue6858] This is a python file, apply syntax highlighting

2009-09-07 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6858 ___ ___ Python-bugs-list

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

2009-09-01 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- versions: +Python 3.1, Python 3.2 Added file: http://bugs.python.org/file14817/subprocess.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760

[issue6783] Add a builtin method to 'int' for base/radix conversion

2009-08-25 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6783 ___ ___ Python-bugs-list

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

2009-08-22 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: From what I've seen on several c.l.p threads, some people have a tough time figuring the correct 'args' argument to subprocess.Popen's constructor. In an effort to cut down on such discussions in the future, I've written the attached docs

[issue5365] add conversion table to time module docs

2009-08-22 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Added string conversions to table for good measure. -- status: closed - open Added file: http://bugs.python.org/file14771/table.rst ___ Python tracker rep...@bugs.python.org http://bugs.python.org

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

2009-08-22 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6760 ___ ___ Python-bugs

[issue1170] shlex have problems with parsing unicode

2009-08-21 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1170 ___ ___ Python-bugs-list

[issue6712] sys._getframe is not available on all Python implementations

2009-08-16 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6712 ___ ___ Python-bugs-list

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2009-08-16 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395 ___ ___ Python-bugs-list

[issue4947] sys.stdout fails to use default encoding as advertised

2009-07-28 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4947 ___ ___ Python-bugs-list

[issue6301] Error in tutorial section 7.2

2009-06-17 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6301 ___ ___ Python-bugs-list

[issue6021] itertools.grouper

2009-05-14 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6021 ___ ___ Python-bugs-list

[issue5434] datetime.monthdelta

2009-04-21 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___ ___ Python-bugs-list

[issue5760] __getitem__ error message hard to understand

2009-04-15 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: Prompted by http://mail.python.org/pipermail/python-ideas/2009-April/004048.html The current error message issued when trying to use the get item ([]) operator on an object that does not define __getitem__ can be hard to understand: class

[issue5365] add conversion table to time module docs

2009-02-25 Thread Chris Rebert
New submission from Chris Rebert pyb...@rebertia.com: I would like the offer the table in the attached file for addition to the 'time' module documentation so as to provide a quick overview of how to convert between the various time representations. As it currently stands (at least

<    1   2   3