[issue6422] timeit called from within Python should allow autoranging

2012-08-21 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue6422> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2012-08-22 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue7741> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2012-08-22 Thread Andrew McNabb
Changes by Andrew McNabb : -- nosy: +amcnabb ___ Python tracker <http://bugs.python.org/issue9334> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Does it mean implicit implying --upgrade option if venv dir is '.'? -- nosy: +asvetlov ___ Python tracker <http://bugs.python.o

[issue15753] No-argument super in method with variable arguments raises SystemError

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Changing exception type is not backward compatible and should be documented at least if that change is really required. Personally I slightly prefer to leave SystemError untouched -- nosy: +asvetlov ___ Python

[issue15751] Add PyGILState_SwitchInterpreter

2012-08-24 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15751> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: I don't like current --clear behavior, it's really useless because now venv just deletes everything from virtual environment. You lose not only virtual env but files from your project also. virtualenv cleans only /Lib directory, that's much b

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, I see. Agree with your patch then, it is correct. -- ___ Python tracker <http://bugs.python.org/issue15776> ___ ___ Pytho

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: It is bug in shutil.rmtree, right? -- ___ Python tracker <http://bugs.python.org/issue15776> ___ ___ Python-bugs-list mailin

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Good point. I will prepare the patch to fix this. -- ___ Python tracker <http://bugs.python.org/issue15776> ___ ___ Python-bug

[issue12623] "universal newlines" subprocess support broken with select- and poll-based communicate()

2012-08-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like to leave fixes to 3.4. Any change can produce side-effects, which can be nightmare for upcoming release candidate. Sure, Georg will share my opinion. Though absence '\n' -> '\r\n' for input if OS is Windows and universal_ne

[issue15776] Allow pyvenv to work in existing directory

2012-08-25 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- priority: release blocker -> critical stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue15776> ___ ___

[issue15809] IDLE console uses incorrect encoding.

2012-08-29 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- title: Строки из IDLE поступают в неверной кодировке. -> IDLE console uses incorrect encoding. ___ Python tracker <http://bugs.python.org/issu

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-08-29 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue14803> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2012-08-30 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15798> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: The problem is: threading.Lock raises ThreadingError (which is subclass of RuntimeError for 3.3 but not for 3.2), but threading.Condition raises RuntimeError for the same reason. RLock behavior is even worse: it raises ThreadingError if C accelerator is

[issue13992] Segfault in PyTrash_destroy_chain

2012-08-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue13992> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15819] Unable to build Python out-of-tree when source tree is readonly.

2012-08-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: committed/rejected -> ___ Python tracker <http://bugs.python.org/issue15819> ___ ___ Python-bugs-list mailing list Un

[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- Removed message: http://bugs.python.org/msg169518 ___ Python tracker <http://bugs.python.org/issue15829> ___ ___ Python-bugs-list m

[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: ValueError can be referenced by :exc:`ValueError`. For ThreadError you can add section for describing this exception type like: .. exception:: ThreadError Raised when lock object cannot be acquired or released

[issue15825] Typo in OrderedDict docs

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks. -- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sounds good. -- ___ Python tracker <http://bugs.python.org/issue15829> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14502] Document better what happens on releasing an unacquired lock

2012-08-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue14502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15831] comma after leading optional argument is after bracket in docs

2012-08-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15831> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15831] comma after leading optional argument is after bracket in docs

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, it looks like Sphinx problem. About having tho signatures for single function/method. Does Sphinx support it for *.. function::*? Pointing to anchor for first signature with adding second one somewhere in paragraph text doesn't look

[issue15831] comma after leading optional argument is after bracket in docs

2012-08-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: No, methods for *curses* are also corrupted. -- ___ Python tracker <http://bugs.python.org/issue15831> ___ ___ Python-bugs-list m

[issue15840] Ambiguity with regard to the effect of accessing a closed IOBase instance

2012-09-02 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15840> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15753] No-argument super in method with variable arguments raises SystemError

2012-09-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: BTW see #15839: super now raises RuntimeError. After that I revoke my objection for exception type changing. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15533] subprocess.Popen(cwd) documentation

2012-09-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Maybe better to check cwd in _call_popen_and_assert for child process (like test_cwd does) instead of just checking for successful child execution? -- ___ Python tracker <http://bugs.python.org/issue15

[issue15533] subprocess.Popen(cwd) documentation

2012-09-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update patch. -- Added file: http://bugs.python.org/file27112/issue-15533-4-default.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15533] subprocess.Popen(cwd) documentation

2012-09-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: I believe it's trick for Tru64 platform. I've asked to support of this in python-dev. -- ___ Python tracker <http://bugs.python.o

[issue15863] Fine-grained info about Python versions which support changes introduced in micro releases

2012-09-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Hash randomization is security patch. It is applied to 2.6.8, 2.7.3, 3.2.3 and 3.3. Python doc should not enumerate all affected releases. For example, if you read docs for 2.6 branch it shows you 2.6.8 version only and that's ok. -- nosy: +asv

[issue15863] Fine-grained info about Python versions which support changes introduced in micro releases

2012-09-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, I can try to make patch. Please note: versionadded tag accepts only single version argument, you have to use couple of tags which looks weird. -- ___ Python tracker <http://bugs.python.org/issue15

[issue14900] cProfile does not take its result headers as sort arguments

2012-09-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'll take a look next week if nobody else do it before. -- ___ Python tracker <http://bugs.python.org/issue14900> ___ ___

[issue15863] Fine-grained info about Python versions which support changes introduced in micro releases

2012-09-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, the patch is welcome. -- ___ Python tracker <http://bugs.python.org/issue15863> ___ ___ Python-bugs-list mailing list Unsub

[issue15871] Online docs: make index search always available.

2012-09-08 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15898] OSX TTY bug

2012-09-09 Thread Andrew Moffat
New submission from Andrew Moffat: I'm getting some kind of race condition on OSX when trying to read the output from a pseudoterminal of a forked process. This race conditional only occurs if I run tty.tcsetattr on the master side of the pty, regardless of if I actually change the mo

[issue15898] OSX TTY bug

2012-09-09 Thread Andrew Moffat
Andrew Moffat added the comment: If I move tcsetattr into the parent, the race condition still exists. If I move it into the child, before the write(), it works. My environment is OSX 10.7.2 inside of Virtualbox (maybe this is the problem?) I've shuffled some code around, and found case

[issue15898] OSX TTY bug

2012-09-10 Thread Andrew Moffat
Andrew Moffat added the comment: @Ned, Ok, give me a little time to work up those suggestions. On my machine, the previous script prints "testing" consistently on 2.7, "" consistently on 3.2. I guess this is the behavior that is unexpected...it should print the same thi

[issue15898] OSX TTY bug

2012-09-10 Thread Andrew Moffat
Andrew Moffat added the comment: Below I attached a script that reproduces the behavior of an assertion error on a specific fork condition for a process with a pty. Here are the results Xubuntu x64: Python 2.7, parent_close_slave_before_child_write = False: WORKS Python 2.7

[issue15898] OSX TTY bug

2012-09-11 Thread Andrew Moffat
Andrew Moffat added the comment: Sorry about that, I refactored out the string at the last minute and typed "testing123" instead of the original "testing" from the trace. I'm not sure I follow the problem exactly. So you're saying that the failing version us

[issue15956] backreference to named group does not work

2012-09-18 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15956> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7427] BadStatusLine is hell to debug

2012-09-25 Thread Andrew Swan
Andrew Swan added the comment: I just got tripped up by this change, I wanted to catch the specific case of an http server closing a connection and assumed that the following would work: try: resp = conn.getresponse() except httplib.BadStatusLine, e: if len(e.line) == 0: # server

[issue13896] Make shelf instances work with 'with' as context managers

2012-09-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue13896> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16072] fix documentation of string.replace() signature

2012-09-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: No it shoudn't. It works exactly as described: Return a copy of string *str* with all occurrences of substring *old* replaced by *new*. If the optional argument *maxreplace* is given, the first *maxreplace* occurrences are replaced. *str* is updated strin

[issue16072] fix documentation of string.replace() signature

2012-09-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: If you want just to change parameter name in the docs — I'm ok with that. -- ___ Python tracker <http://bugs.python.org/is

[issue16072] fix documentation of string.replace() signature

2012-09-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed in c34a177d1f38 -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue15533] subprocess.Popen(cwd) documentation

2012-09-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Chris, please commit your patch. It's fine for me. -- ___ Python tracker <http://bugs.python.org/issue15533> ___ ___ Pytho

[issue15417] Add support for csh and fish in venv activation scripts

2012-10-04 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue14446] Remove deprecated tkinter functions

2012-10-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks to Michael Driscoll. BTW you have forgotten to remove C functions from module definition in your patch. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python track

[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-10-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks to Roger Serwy. -- nosy: +asvetlov resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16096] Get rid of dangerous integer overflow tricks

2012-10-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patches looks good for me, but I like to double check before commit. Let's wait for a week for other reviewers. -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/is

[issue16139] Python 3.3 fails when starting from read-only FS

2012-10-04 Thread Andrew Gallagher
New submission from Andrew Gallagher: This occurs when python is installed on a read-only mount AND all the .pyc files are out-of-date. Therefore, when python starts and attempts to write a new .pyc file, _write_atomic in "Lib/importlib/_bootstrap.py" throws an OSError with an errn

[issue16138] In the glossary there is a small typo about __len__() in the sequence definition

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks to py.user -- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16140] subprocess.Popen the os.close calls in _execute_child can raise an EBADF exception

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16140> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16116] Can not install C extension modules to inside a venv on Python 3.3.0 for Win32

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16116> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16123> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16124] fcntl_ioctl still not 100% sane with unsigned longs

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is it affected for 3.3 and 3.4 also? -- nosy: +asvetlov versions: +Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue16

[issue16128] hashable documentation error

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please write what exact text you want to see in documentation. -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ConfigParser is not intended to be deep copy-able, at least documentation says nothing about it. -- nosy: +asvetlov, lukasz.langa ___ Python tracker <http://bugs.python.org/issue16

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks good for me. -- ___ Python tracker <http://bugs.python.org/issue16123> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16123] IDLE - deprecate running without a subprocess

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Change priority to deferred blocker for reminding to remove no-subprocess mode in 3.5. Thanks, Roger. -- priority: normal -> deferred blocker ___ Python tracker <http://bugs.python.org/issu

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Filip, please describe why you prevent closing if writeback attribute is not present. I see comment for __del__ related to #1339007, but at __exit__ call __enter__ has called already and __init__ has finished definitely with success. Also I would to see

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker <http://bugs.python.org/issue13896> ___ ___ Python-bugs-list mailing list Unsubscri

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thank you, Kushal Das. BTW, please fill http://www.python.org/psf/contrib/ as contributor of Python project. We would to get that agreement from everybody who has pushed any patch. Thanks again

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Maybe better to fix Windows behavior for unifying FileNotFoundError? -- ___ Python tracker <http://bugs.python.org/issue16

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: ok, it will be better. -- ___ Python tracker <http://bugs.python.org/issue16115> ___ ___ Python-bugs-list mailing list Unsub

[issue16114] incorrect path in subprocess.Popen() FileNotFoundError message

2012-10-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm ok with your patch if it will be applied to 3.2 etc and after that new issue will fix Windows problem. BTW, the patch fails for 3.2 and 3.3 but works for 3.4 -- ___ Python tracker <http://bugs.py

[issue13896] Make shelf instances work with 'with' as context managers

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks. Please fill Python Contributor Agreement: http://www.python.org/psf/contrib/ -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

[issue15641] Clean up importlib for Python 3.4

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: What's about Finder? Do you want to remove it also? -- ___ Python tracker <http://bugs.python.org/issue15641> ___ ___ Pytho

[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Attached patch for the issue. BTW PyCFunction_New/PyCFunction_NewEx are part of Stable ABI but never mentioned in the documentation. -- keywords: +patch Added file: http://bugs.python.org/file27453/issue15422.diff

[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue15422> ___ ___ Python-bugs-list mai

[issue16120] Use |yield from| in stdlib

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Berker. -- assignee: -> nobody nosy: +asvetlov, nobody resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Please close the issue if all work done. Thanks. -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update patch conforming to current _tkinter code. -- Added file: http://bugs.python.org/file27457/_tkinter_pep3121-384_v1.patch ___ Python tracker <http://bugs.python.org/issue15

[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done in 674fa8d211f2, 5665806908c4 and c9695a0b0923. Sorry. -- ___ Python tracker <http://bugs.python.org/issue16025> ___ ___

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: I would to have all module state inside _tkinterstate structure. static variables like tcl_lock, tcl_state, quitMainLoop, errorInCmd etc should be moved into _tkinterstate also. -- ___ Python tracker <h

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm trying to make patch following myself recommendations. Looks good but not finished yet. Will publish it after all work done. -- ___ Python tracker <http://bugs.python.org/is

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Submit patch which store own state into module state. Still not finished yet: need to add checks for "ready state" in every access to fields of module state structure. -- assignee: -> asvetlov Added file: http://bugs.python.

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue15721> ___ ___ Python-bugs-list mailing list Unsubscri

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update patch to support TKINTER_PROTECT_LOADTK option. -- Added file: http://bugs.python.org/file27460/_tkinter_pep3121-384_v3.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Upload version which check if _tkinter module was destroyed (for example, if it was call from daemon thread runing Tk app when main thread is exiting with interpreter finalization). -- Added file: http://bugs.python.org/file27464/_tkinter_pep3121

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch for current default branch. -- Added file: http://bugs.python.org/file27470/_tkinter_pep3121-384_v7.patch ___ Python tracker <http://bugs.python.org/issue15

[issue16136] Removal of VMS support

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16136> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue6322> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16050> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch is huge, then I like to apply it in two steps: first implement pep 384 than 3121. Attached first patch. -- Added file: http://bugs.python.org/file27475/_tkinter_pep384_v1.patch ___ Python tracker <h

[issue15650] PEP 3121, 384 refactoring applied to dbm module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Robin, why do you increment refcounter for type object on every construction of dbm instance? Also I would to see macros in uppercase if possible. -- ___ Python tracker <http://bugs.python.org/issue15

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I definitely agree with renaming "call count" to "primitive call count". Thank you for patch. BTW please fill Python Contributor Agreement: http://www.python.org/psf/contrib/ -- assignee: -> asvetlov ___

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm ok with aliases also. Issue with percall can be fixed only in 3.4 via renaming one of the column. Thanks again. -- ___ Python tracker <http://bugs.python.org/is

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Documentation also need to be updated to reflect changes. -- ___ Python tracker <http://bugs.python.org/issue14900> ___ ___ Pytho

[issue16113] Add SHA-3 (Keccak) support

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16113> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15650] PEP 3121, 384 refactoring applied to dbm module

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: >From my perspective type object is referenced by module state. While module is present it's state hold all types exposed by module. After module has deleted it's state has cleaned up and types has gone away — thats look good to me. Instances of p

[issue16009] Json error messages could provide more information about the error

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue16009> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14783] Make int() and str() docstrings correct

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: LGTM -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue14783> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue16129> ___ ___ Python-bugs-list mai

[issue16120] Use |yield from| in stdlib

2012-10-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed, thanks. Interesting, I didn't thought «yield from» can be applied to just list, not generator. But it works. -- ___ Python tracker <http://bugs.python.org/is

[issue14900] cProfile does not take its result headers as sort arguments

2012-10-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks like you missed *sort* parameter for ".. function:: run(command, filename=None, sort=-1)" Also it will be nice to insert link to Stats.sort_stats in doc text for run functions. -- ___ Python trac

[issue16115] test that executable arg to Popen() takes precedence over args

2012-10-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Hmm, I dislike "Normally, *args* should be a sequence." >From my perspective better to say something like: *args* should be a sequence if *shell* is *False* or string of *shell* is *True* or something like this. I would to directly recommend rea

<    19   20   21   22   23   24   25   26   27   28   >