[issue1730] Documentation corrections for os module

2008-01-03 Thread Robin Stocker
New submission from Robin Stocker: I saw a minor inconsistency in the documentation of the os module and then somehow ended up proof-reading the whole file :). The result of this is attached as a patch against trunk. Summary of the changes: - Use the imperative tense in method descriptions

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-01-06 Thread Robin Stocker
New submission from Robin Stocker: The attached patch ports the implementation of keyword-only arguments from revision 52491 back to trunk. This is the first time I've worked on the C internals, so here are some notes: - test_collections is the only test which fails, because it tries to call

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-01-06 Thread Robin Stocker
Robin Stocker added the comment: Another note: Because the marshalling of code objects is changed, is there a version number of the format which has to be incremented? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1745

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-01-07 Thread Robin Stocker
Robin Stocker added the comment: Thanks for the feedback! It's on line 111 in test_collections.py:: n = 1 import string, random names = [''.join([random.choice(string.letters) for j in range(10)]) for i in range(n)] Big = namedtuple('Big', names) b

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-01-08 Thread Robin Stocker
Robin Stocker added the comment: Guido: The check was only done for call nodes, not for function definitions. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1745 __ ___ Python

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-01-08 Thread Robin Stocker
Robin Stocker added the comment: Ok, I checked all the logs and updated the patch. test_collections uses n = 254 now and all tests pass. I left revision 54043 out on purpose, because it fixes Lib/inspect.py and Lib/pydoc.py for both PEP 3102 and 3107, so it should be included in the patch

[issue1745] Backport of PEP 3102 keyword-only arguments to 2.6

2008-03-23 Thread Robin Stocker
Robin Stocker [EMAIL PROTECTED] added the comment: I've updated the patch to apply cleanly again. Added file: http://bugs.python.org/file9828/backport-keyword-only-arguments-full-2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1745

[issue2734] 2to3 converts long(itude) argument to int

2008-12-10 Thread Robin Stocker
Changes by Robin Stocker [EMAIL PROTECTED]: -- nosy: +robin.stocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2734 ___ ___ Python-bugs-list mailing

[issue5125] Strange locale problem with Python 3

2009-02-02 Thread Robin Stocker
Changes by Robin Stocker robin.stoc...@gmx.ch: -- nosy: +robin.stocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5125 ___ ___ Python-bugs-list