[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___ ___

[issue16545] ast.FunctionDef sets a bad value for kw_defaults when keyword-only arguments present

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16545 ___ ___

[issue16491] IDLE and except: raise from

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The bug is somewhere in print_exception() function in Lib/idlelib/run.py. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___

[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Serhiy, was msg176255 meant for issue16491? Yes, sorry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16504 ___

[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-11-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- Removed message: http://bugs.python.org/msg176255 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16504 ___

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: Brett: can you clarify---in what sense is the argument optional? I see that there's a doc issue at http://docs.python.org/dev/library/ast.html, where it's marked as optional but shouldn't but. Is there something more that's wrong? If you mean that

[issue9633] pdb go stack up/down

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: It is not only the up and down commands; the where, longlist and source commands may also overwrite changes made to f_locals. In Markus sample script above, and with the patch applied, when the change made to stack_2 is followed by a step command, stack_2 value

[issue16482] pdb.set_trace() clobbering traceback on error

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how it is fixed at http://code.google.com/p/pdb-clone/source/detail?r=123d1b6db6649f4b54712db321865fda55395488name=default -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482

[issue14912] Pdb does not stop at a breakpoint after a restart command and source changes

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=6ad576592286a005694690906644cb3004090eeb -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14912

[issue13044] pdb throws AttributeError at end of debugging session

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: The run, runeval and runcall methods run the debugging session in a try/finally clause and set the global trace function to None in the finally clause. But set_trace does not run in a try/finally, hence the problem. A possible fix is to ensure that the bottom

[issue16180] cannot quit pdb when there is a syntax error in the debuggee (must kill it)

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=0d4d905c6e0aa9c47611dbae514d3f7f53776dcb -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16180

[issue16446] pdb raises BdbQuit on 'quit' when started with set_trace

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=8bbac1ffee749fcfd96ea3a2aaca1f240cafc2cc -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16446

[issue14743] on terminating, Pdb debugs itself

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=625d61e3494d3b7e2a3e8578ddd2f204e21f1800 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14743

[issue14728] trace function not set, causing some Pdb commands to fail

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=4a6d8f2515eed16347d2e2c304e1942585427d50 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14728

[issue6322] Pdb breakpoints don't work on lines without bytecode

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=6b342324ebdc4558b83b9391e34478c1fa0752db -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6322

[issue16491] IDLE and except: raise from

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file28092/idle_print_exception.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491

[issue16491] IDLE and except: raise from

2012-11-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___

[issue14913] tokenize the source to manage Pdb breakpoints

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=6b342324ebdc4558b83b9391e34478c1fa0752db -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14913

[issue16491] IDLE and except: raise from

2012-11-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.2 Added file: http://bugs.python.org/file28093/idle_print_exception-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491

[issue16533] HPUX: Unable to fork() in thread

2012-11-24 Thread Trent Nelson
Trent Nelson added the comment: On Thu, Nov 22, 2012 at 02:18:32PM -0800, Stefan Krah wrote: New submission from Stefan Krah: There's an error on the HPUX-IA64 buildbot that might be due to some kernel limits. Trent, could you check if the following helps (requires root)?

[issue16534] test_float failure on IA64 (HPUX)

2012-11-24 Thread Trent Nelson
Trent Nelson added the comment: On Fri, Nov 23, 2012 at 05:43:15AM -0800, Mark Dickinson wrote: Mark Dickinson added the comment: I wonder whether adding -fpeval=float to the CFLAGS would fix this. There's a lot of information at

[issue9584] Allow curly brace expansion

2012-11-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9584 ___ ___

[issue16545] ast.FunctionDef sets a bad value for kw_defaults when keyword-only arguments present

2012-11-24 Thread Daniel Urban
Daniel Urban added the comment: If I understand correctly, the invariant is that len(kw_defaults) == len(kwonlyargs). I think the reason is that the following is valid syntax (an argument without a default after one with a default): def f(*, a=0, b): pass ... And None is used as a

[issue16525] wave file module does not support 32bit float format

2012-11-24 Thread Sebastian Kraft
Sebastian Kraft added the comment: Write support is no problem, I will add this. From reading the spec in the link you provided I think the implementation in general is OK. Everything apart WAVE_FORMAT_PCM should have an extension size cbSize, that's right. But only WAVE_FORMAT_EXTENSIBLE

[issue16544] Add external link to ast docs

2012-11-24 Thread Thomas Kluyver
Thomas Kluyver added the comment: Thanks, I'm really glad to see that it's useful to others. I don't mind contributing it to Python, but I wonder if it's better to let it develop separately for a few months first - it's still very new, and I can improve it faster in a repository where I can

[issue12457] type() returns incorrect type for nested classes

2012-11-24 Thread Daniel Urban
Daniel Urban added the comment: Also, it seems, that pickling inner classes will by supported by pickle protocol version 4 (see PEP 3154). There is already an issue for the implementation: issue15642. -- versions: +Python 3.4 -Python 2.7, Python 3.2

[issue12457] type() returns incorrect type for nested classes

2012-11-24 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- resolution: - duplicate superseder: - Integrate pickle protocol version 4 GSoC work by Stefan Mihaila ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12457

[issue14373] C implementation of functools.lru_cache

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added a lot of comments in Rietveld. In general the patch looks good, but I have some style nitpicks and some more strong comments. Matt, please update the patch. Tests should test both Python and C implementations. I doubt if get rid of locking is

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Brett Cannon
Brett Cannon added the comment: Where is the doc issue? And it's a bit more than just a doc issue anyway as Python.asdl has the same issue and that is what is used to generate the code that represents the nodes. -- ___ Python tracker

[issue16545] ast.FunctionDef sets a bad value for kw_defaults when keyword-only arguments present

2012-11-24 Thread Brett Cannon
Brett Cannon added the comment: Ah, I see it now. I didn't realize that we allowed people to define keyword-only arguments in any order they wanted in terms of default values, allowing interleaving of default and non-default values. So this is correct, just different from everything else.

[issue16413] Non cross-platform behavior of os.path.split

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think that Python should include documentation on all supported OSes, formats, protocols and algorithms. There are documentation outside Python. I think this is not Python issue. -- status: open - pending

[issue16525] wave file module does not support 32bit float format

2012-11-24 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Sebastian, Could you possibly write a patch with a test?. Could you possibly fill a contributor agreement? Details in http://www.python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org

[issue16525] wave file module does not support 32bit float format

2012-11-24 Thread Sebastian Kraft
Sebastian Kraft added the comment: I will create a patch together with a testset of example files and also fill out the agreement. BTW: readframes() returns bad data for 24bit PCM if big_endian==True. Furthermore IMO it doesn't make sense to return a byte stream in little endian order on a

[issue16525] wave file module does not support 32bit float format

2012-11-24 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: About the 24 bit PCM bug, please fill another bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16525 ___

[issue16423] urllib data URL

2012-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a182367eac5a by Antoine Pitrou in branch 'default': Issue #16423: urllib.request now has support for ``data:`` URLs. http://hg.python.org/cpython/rev/a182367eac5a -- nosy: +python-dev ___ Python tracker

[issue16423] urllib data URL

2012-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed your patch after having made the few very minor changes mentioned in the review. Thank you very much! -- assignee: orsenthil - resolution: - invalid stage: patch review - committed/rejected status: open - closed

[issue4473] POP3 missing support for starttls

2012-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75a146a657d9 by Antoine Pitrou in branch 'default': Fix missing import (followup to #4473). http://hg.python.org/cpython/rev/75a146a657d9 -- ___ Python tracker rep...@bugs.python.org

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: Ah, okay. I only looked at Grammar/Grammar, which looks fine. The doc issue is that at http://docs.python.org/dev/library/ast.html, under the heading 31.2.2. Abstract Grammar, it says: | Yield(expr? value) | YieldFrom(expr? value) But the

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___ ___

[issue16423] urllib data URL

2012-11-24 Thread Mathias Panzenböck
Mathias Panzenböck added the comment: Great! Feels awesome to have my first bit of code contributed to the Python project. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16423 ___

[issue16423] urllib data URL

2012-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: You're welcome! We're always happy to have new contributors. I've forgotten something: could you sign a contributor agreement? You'll find instructions at http://www.python.org/psf/contrib/ -- ___ Python tracker

[issue16423] urllib data URL

2012-11-24 Thread Mathias Panzenböck
Mathias Panzenböck added the comment: Will do (later today). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16423 ___ ___ Python-bugs-list

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file28094/issue16546.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: New patch that removes some unnecessary braces in the case statements. -- Added file: http://bugs.python.org/file28095/issue16546.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-24 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file28094/issue16546.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a simplified version of patch from issue2005. Support of uid_t/gid_t larger than unsigned long dropped. Signed uid_t/gid_t support dropped. The converters moved to Objects/longobject.c. Some tests added. -- components: +Extension Modules,

[issue16423] urllib data URL

2012-11-24 Thread Mathias Panzenböck
Mathias Panzenböck added the comment: Hmm, which of the two initial licenses should I choose? Which one do you rather want me to choose? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16423

[issue16423] urllib data URL

2012-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, which of the two initial licenses should I choose? Which one do you rather want me to choose? Whichever you prefer. They should be equivalent in their terms (non-copyleft free licenses). -- ___ Python tracker

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4591 ___ ___ Python-bugs-list

[issue12848] pickle.py treats 32bit lengths as signed, but _pickle.c as unsigned

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated (comment for load_binstring added). -- Added file: http://bugs.python.org/file28097/pickle_nonportable_size_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12848

[issue16547] IDLE segfaults in tkinter after fresh file's text has been rendered

2012-11-24 Thread Lukas Lueg
New submission from Lukas Lueg: IDLE crashes due to what seems to be a use-after-free bug. Opening a file from the 'Open...'-menu leads to a segfault after the text has been rendered. It seems this can be reproduced 100% of the time if the file is big (e.g. 150kb) and the window receives

[issue16547] IDLE segfaults in tkinter after fresh file's text has been rendered

2012-11-24 Thread Lukas Lueg
Lukas Lueg added the comment: using NSZombieEnabled and MallocStackLoggingNoCompact we can see the use-after-free behaviour -- Added file: http://bugs.python.org/file28099/malloc_history.txt ___ Python tracker rep...@bugs.python.org

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: I don't think _Py_Uid_Converter and _Py_Gid_Converter belong in Objects/longobject.c. Is there a better place to put these? (Though _PyLong_FromUid and _PyLong_FromGid seem fine.) -- ___ Python tracker

[issue12848] pickle.py treats 32bit lengths as signed, but _pickle.c as unsigned

2012-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55fe4b57dd9c by Antoine Pitrou in branch '3.2': Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does. http://hg.python.org/cpython/rev/55fe4b57dd9c New changeset

[issue12848] pickle.py treats 32bit lengths as signed, but _pickle.c as unsigned

2012-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the latest patch (pickle_nonportable_size_2.patch). Thank you for working on this! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue10182] match_start truncates large values

2012-11-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, standard tests should be enough on a big-endian platform with sizeof(int) sizeof(size_t) or sizeof(long) sizeof(size_t). No additional tests needed. Ok, thanks. Unfortunately, all our 64-bit big endian buildbots are configured to produce

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: Though _PyLong_FromUid and _PyLong_FromGid seem fine. Hmm. I take that back. I don't think any of this really belongs in Objects/longobject.c. Right now that module contains entirely portable C code that knows almost nothing about operating systems. In

[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 good if these had the same form. --

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

2012-11-24 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- 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 chris.jerdo...@gmail.com: -- dependencies: +improve TypeError messages for missing arguments (meta issue) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16520 ___

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Hmm. I take that back. I don't think any of this really belongs in Objects/longobject.c. I am also not happy with that. Originally they were in Modules/posixmodule.c. However where should we place the declarations? We have not posixmodule.h.

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we should add a new header file for declarations of converters to/from all platform specific integers (pid_t, time_t, uid_t, gid_t). -- ___ Python tracker rep...@bugs.python.org

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: Do we know of any systems where none of int, long, long long (if defined) or their unsigned variants match gid_t / uid_t? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4591

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: A new header file sounds reasonable. We could then move the PID stuff out of longobject.h -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4591 ___

[issue5066] IDLE documentation for Unix obsolete/incorrect

2012-11-24 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5066 ___ ___ Python-bugs-list

[issue16544] Add external link to ast docs

2012-11-24 Thread Ezio Melotti
Ezio Melotti added the comment: I don't mind contributing it to Python, but I wonder if it's better to let it develop separately for a few months first - it's still very new, and I can improve it faster in a repository where I can commit to it myself. That's fine, there's no hurry to

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do we know of any systems where none of int, long, long long (if defined) or their unsigned variants match gid_t / uid_t? No, I don't. -- ___ Python tracker rep...@bugs.python.org

[issue16548] os.system won't run any command and there is no error message when memory cannot be allocated

2012-11-24 Thread masterid
New submission from masterid: os.system won't run any command and there is no error message when memory cannot be allocated. It looks like Python is running a command but actually nothing happens. I used subprocess.Popen instead and found out that OSError: [Errno 12] Cannot allocate memory I

[issue16544] Add external link to ast docs

2012-11-24 Thread Thomas Kluyver
Thomas Kluyver added the comment: I think that putting the full content of GTS into the ast module docs would make it awkwardly long. Perhaps the bulk of it could become a howto, and GTS could be maintained separately as a showcase of examples. --

[issue16333] Trailing whitespace in json dump when using indent

2012-11-24 Thread anatoly techtonik
anatoly techtonik added the comment: Nice conflict case for explaining why perfect API is not here. Because ', ' is now used as an item separator inline and separator for items that span multiple lines, we get trailing whitespace. If ',' is used, items will collide. To resolve this conflict

[issue16549] regression: -m json.tool module

2012-11-24 Thread anatoly techtonik
New submission from anatoly techtonik: Awesome json tool doesn't work anymore in Python 3 (needs tests?). http://stackoverflow.com/questions/352098/how-to-pretty-print-json-script C:\Python27python -m json.tool stdlibx.json { distutils: [ Doc/distutils, Lib/distutils,

[issue16549] regression: -m json.tool module is broken

2012-11-24 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- components: +Library (Lib) title: regression: -m json.tool module - regression: -m json.tool module is broken ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16549

[issue16549] regression: -m json.tool module is broken

2012-11-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +easy stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16549 ___

[issue4591] 32-bits unsigned user/group identifier

2012-11-24 Thread STINNER Victor
STINNER Victor added the comment: The value -1 is used is some functions like chown() (to only change the user, only the group or none, to check if you are allowed or not). How do you handle this value? Le 24 nov. 2012 19:29, Serhiy Storchaka rep...@bugs.python.org a écrit : Serhiy Storchaka

[issue5066] IDLE documentation for Unix obsolete/incorrect

2012-11-24 Thread Todd Rovito
Todd Rovito added the comment: This is a good patch but it is rather out of date and won't apply. I will patch the patch and maybe somebody can apply it this time. Expect a new patch by 11/26/2012. -- ___ Python tracker rep...@bugs.python.org

[issue16548] os.system won't run any command and there is no error message when memory cannot be allocated

2012-11-24 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: If Unix system call system() fails, it will return -1. Python should convert a -1 to the appropiate exception, checking errno. In Solaris, for instance, system() is documented to fail if the max number of processes are reached, if the syscall was interrupted

[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 patch)

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2012-11-24 Thread Wade Tattersall
Wade Tattersall added the comment: Any chance this patch could be applied to version 2.7? It's still an issue in 2.7.3, even though a suitable patch was supplied 3 years ago. I understand that it's fixed in python3, but for us poor maintainers of ancient code, it would be convenient to be

[issue16547] IDLE segfaults in tkinter after fresh file's text has been rendered

2012-11-24 Thread Roger Serwy
Roger Serwy added the comment: On Mac, which version of Tk are you using? IDLE is known to have problems on Mac with Tk. See http://www.python.org/download/mac/tcltk/ You can disable colorization with the undocumented Ctrl+/ key combination. Does the crash still occur with the colorizer

[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 some of the