[issue27954] makesetup does not take into account subdirectories

2016-09-04 Thread David D
New submission from David D: https://hg.python.org/cpython/file/tip/Modules/makesetup#l202 If I try to create a built-in module with a source file named exactly as another source file that already exists in a different module, the script generates the same output path for the object files

[issue27566] Freeze: winmakemakefile.py: clean: Linux instead of Windows command

2016-07-18 Thread David D
New submission from David D: The command for the clean target in the Windows makefile is the same as the one in the Linux one: using `rm -f`. Should be changed to `del /f` or `erase /f`. -- components: Demos and Tools, Windows messages: 270787 nosy: David D, paul.moore, steve.dower

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-05-05 Thread David D. Riddle
David D. Riddle added the comment: Here is another patch. I fixed a bug in GetLineTestsBadData.test_getline and refactored the code. I think everything is good now. As for the ResourceWarnings they are not caused by linecache. The problem is with tokenize.open (See http://bugs.python.org

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-05-04 Thread David D. Riddle
David D. Riddle added the comment: I have made the changes you suggested. Please tell me if any further changes are needed. > The unclosed file suggests a cleanup bug in linecache which we should > fix for hygiene, but is separate :) Should I file a bug report? -- Added file

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-05-01 Thread David D. Riddle
David D. Riddle added the comment: I have made the changes you suggested. Please look at lines 87-97. I am not certain if that is correct behavior. I was surprised that a SyntaxError is thrown in addition to the UnicodeDecodeError when linecache.getlines takes a file with bad unicode. Please

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-04-24 Thread David D. Riddle
New submission from David D. Riddle: test_linecache.py reads from three files namely inspect_fodder.py, inspect_fodder2.py, and mapping_tests.py. It reads the py files directly as text files. This patch copies these files to linecache_fodder, linecache_fodder2, and linecache_mapping_fodder

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-15 Thread David D Lowe
New submission from David D Lowe: The documentation for ssl.SSLSocket.getpeercert states: > If the binary_form parameter is True, and a certificate was provided, this > method returns the DER-encoded form of the entire certificate as a sequence > of bytes, or None if the peer did no

[issue2504] Add gettext.pgettext() and variants support

2010-01-14 Thread David D Lowe
David D Lowe added the comment: Same here. -- nosy: +Flimm ___ Python tracker <http://bugs.python.org/issue2504> ___ ___ Python-bugs-list mailing list Unsub