[issue27566] Freeze: winmakemakefile.py: clean: Linux instead of Windows command
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, tim.golden, zach.ware priority: normal severity: normal status: open title: Freeze: winmakemakefile.py: clean: Linux instead of Windows command type: behavior versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issue27566> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27954] makesetup does not take into account subdirectories
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, creating a conflict. -- components: Build, Extension Modules messages: 274366 nosy: David D priority: normal severity: normal status: open title: makesetup does not take into account subdirectories type: compile error versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue27954> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2504] Add gettext.pgettext() and variants support
David D Lowe added the comment: Same here. -- nosy: +Flimm ___ Python tracker <http://bugs.python.org/issue2504> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17739] ssl.SSLSocket.getpeercert does not return client certificate
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 not provide a certificate. This return > value is independent of validation; if validation was required (CERT_OPTIONAL > or CERT_REQUIRED), it will have been validated, but if CERT_NONE was used to > establish the connection, the certificate, if present, will not have been > validated. However, in the case that validation is not required, getpeercert does not return a certificate, even when binary_form is set to True. -- components: Library (Lib) files: test.tar.gz messages: 186999 nosy: Flimm priority: normal severity: normal status: open title: ssl.SSLSocket.getpeercert does not return client certificate type: behavior versions: Python 2.7, Python 3.2 Added file: http://bugs.python.org/file29867/test.tar.gz ___ Python tracker <http://bugs.python.org/issue17739> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)
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 respectively, and updates test_linecache.py accordingly. The reason I do this is so that the these files are not compiled. This is desirable for me because I use linecache2 on python 2.7. Python 2.7 can not compile inspect_fodder2.py nor is it necessary as this file is only used as a text file never as an object file in the test_linecache.py tests. This issue came up for me when I attempted to make an RPM out of linecache2. rpmbuild compiles all py files in the rpm and fails when it tries to compile inspect_fodder2.py. If these files have the .py removed from the test files then they will not be compiled which fixes my issue. Nor do they need to be compiled to successfully run the test_linecache.py tests. -- components: Tests files: mywork.patch keywords: patch messages: 241955 nosy: ddriddle priority: normal severity: normal status: open title: Invalid syntax in inspect_fodder2.py (on Python 2.x) type: compile error Added file: http://bugs.python.org/file39198/mywork.patch ___ Python tracker <http://bugs.python.org/issue24054> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)
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 tell me if this or other parts of the patch need work. -- Added file: http://bugs.python.org/file39262/new.mywork.patch ___ Python tracker <http://bugs.python.org/issue24054> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)
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: http://bugs.python.org/file39291/mywork.patch ___ Python tracker <http://bugs.python.org/issue24054> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)
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/issue23840). -- Added file: http://bugs.python.org/file39295/mywork.patch ___ Python tracker <http://bugs.python.org/issue24054> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com