[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk added the comment: BTW, patch is based on trunk. -- ___ Python tracker <http://bugs.python.org/issue1472251> ___ ___ Python-bugs-list mailin

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Changes by Kuba Kończyk : Removed file: http://bugs.python.org/file1975/bdb-run.patch ___ Python tracker <http://bugs.python.org/issue1472251> ___ ___ Python-bugs-list m

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-09-23 Thread Kuba Kończyk
Kuba Kończyk added the comment: Updated patch with tests and documentation.It fixes the issue by leaving argument checking to exec and eval functions.The result is a more readable error messages when invoking run/runeval with incorrect arguments (see discussion above) and also ability to run

[issue4611] Small error in "Extending Python with C or C++"

2008-12-09 Thread Kuba Kończyk
Kuba Kończyk <[EMAIL PROTECTED]> added the comment: I meant "owning". ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4611> ___

[issue4611] Small error in "Extending Python with C or C++"

2008-12-09 Thread Kuba Kończyk
New submission from Kuba Kończyk <[EMAIL PROTECTED]>: Near the end of "Reference Counting in Python" section we have: "(...)The disadvantage of borrowing over leaking is(...)", "leaking" should be replaced by "borrowing". -- assignee: g