[issue32806] locally imported modules are unaccessible in lambdas in pdb

2018-02-09 Thread Yuri Kanivetsky
New submission from Yuri Kanivetsky : Consider the following script: # import pdb; pdb.set_trace() # import re def f(): import re print((lambda: re.findall('a', 'aaa'))()) import pdb; pdb.set_trace() print('test') f

[issue11416] netrc module does not handle multiple entries for a single host

2018-01-16 Thread Yuri Bochkarev
Change by Yuri Bochkarev : -- nosy: +Yuri.Bochkarev ___ Python tracker <https://bugs.python.org/issue11416> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32450] non-descriptive variable name

2018-01-06 Thread Yuri Kanivetsky
Yuri Kanivetsky added the comment: Well, it's just that I was digging into Python's code. And it took me quite a while to figure out what the variable holds. Running into "ndots" name clarified that. That generally means that variable name doesn't describe its con

[issue32450] non-descriptive variable name

2017-12-29 Thread Yuri Kanivetsky
New submission from Yuri Kanivetsky : Not a big issue, really. At some point the code switches from "ndots" name: https://github.com/python/cpython/blob/v3.7.0a3/Python/ast.c#L3385 to "level" name: https://github.com/python/cpython/blob/v3.7.0a3/Python/Python-ast.c

[issue24154] pathlib.Path.rename moves file to Path.cwd() when argument is a string

2015-05-09 Thread Yuri Teixeira
New submission from Yuri Teixeira: from pathlib import Path p = Path('/any/folder') f = p / 'oldname' f.rename('newname') The above will rename the file 'oldname' to 'newname' but will also move it to Path.cwd() I thought that pathlib.Path.r

[issue1175] .readline() has bug WRT nonblocking files

2013-11-07 Thread Yuri Bochkarev
Changes by Yuri Bochkarev : -- nosy: +Yuri.Bochkarev ___ Python tracker <http://bugs.python.org/issue1175> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9634] Add timeout parameter to Queue.join()

2013-11-07 Thread Yuri Bochkarev
Changes by Yuri Bochkarev : -- nosy: +Yuri.Bochkarev ___ Python tracker <http://bugs.python.org/issue9634> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2013-11-07 Thread Yuri Bochkarev
Changes by Yuri Bochkarev : -- nosy: +Yuri.Bochkarev ___ Python tracker <http://bugs.python.org/issue8844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2013-09-11 Thread Yuri Bochkarev
Changes by Yuri Bochkarev : -- nosy: +Yuri.Bochkarev ___ Python tracker <http://bugs.python.org/issue3566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17622] Python sets wrong pid in window properties

2013-04-03 Thread Yuri
New submission from Yuri: When I click on "Close Window" button for the unresponsive python-based app 'meld', message from window manager shows up offering to kill the non-existent pid. It looks like python libs set wrong pid for windows when python multithreading is in us

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2011-06-11 Thread Yuri
Yuri added the comment: I fixed all build problems on the current MinGW32. python.exe builds ok, but build fails since python.exe can't find some modules after this. Not sure why. -- keywords: +patch nosy: +yurivict Added file: http://bugs.python.org/file22329/python-3.2.

[issue9953] 2 scripts running from crontab simultaneously reference the same instance of a variable

2010-09-26 Thread yuri
New submission from yuri : Originally the problem was that one script used a logger instance initialized in another script, and, as a result, log entries were "signed" by the later one. Setup: python 3.1.1, Suse Linux enterprise server 9 2 scripts are scheduled in crontab as fo