[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Segev Finer
New submission from Segev Finer : wheel is quite prevalent nowadays. ensurepip even uses wheels of pip & setuptools itself. Installing wheel by default will bestow the following benefits: 1. pip's wheel cache will be enabled by default. 2. Users will be able to run setup.py bdist_w

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +3802 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31634> ___ ___ Python-

[issue29843] errors raised by ctypes.Array for invalid _length_ attribute

2017-09-29 Thread Segev Finer
Change by Segev Finer : -- pull_requests: +3805 ___ Python tracker <https://bugs.python.org/issue29843> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-12-16 Thread Segev Finer
Segev Finer added the comment: The PR has been sitting there for quite a while now... -- ___ Python tracker <https://bugs.python.org/issue19764> ___ ___ Pytho

[issue32245] OSError: raw write() returned invalid length on latest Win 10 Consoles

2017-12-18 Thread Segev Finer
Segev Finer added the comment: Upstream issue https://github.com/Microsoft/console/issues/40, also has links to similar issues this caused in other projects. -- nosy: +Segev Finer ___ Python tracker <https://bugs.python.org/issue32

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2017-12-18 Thread Segev Finer
New submission from Segev Finer : The following test is failing randomly for me (python -m test test_uuid -v): == ERROR: test_ipconfig_getnode (test.test_uuid.TestInternalsWithoutExtModule

[issue18035] telnetlib incorrectly assumes that select.error has an errno attribute

2017-12-29 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +4925 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue18035> ___ ___ Python-

[issue32524] Python 2.7 leaks a packages __init__.py module object on SyntaxError

2018-01-09 Thread Segev Finer
New submission from Segev Finer : With the file hello/__init__.py: ham = 123 spam()spam() I get the following: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or

[issue32524] Python 2.7 leaks a packages __init__.py module object on SyntaxError

2018-01-09 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +5001 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32524> ___ ___ Python-

[issue30121] Windows: subprocess debug assertion on failure to execute the process

2018-01-09 Thread Segev Finer
Change by Segev Finer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32245] OSError: raw write() returned invalid length on latest Win 10 Consoles

2018-07-09 Thread Segev Finer
Segev Finer added the comment: This should be fixed by the Windows 10 April Update (build 1803) according to https://github.com/Microsoft/vscode/issues/36630. -- ___ Python tracker <https://bugs.python.org/issue32

[issue29672] `catch_warnings` context manager causes all warnings to be printed every time, even after exiting

2018-07-10 Thread Segev Finer
Segev Finer added the comment: Hmm, I originally missed the per module __warningregistry__... Need to read the code more closely... What should the behavior be? We can add a flag that will make all warning actions be "always" when catch_warnings is in effect. But that doesn

[issue29672] `catch_warnings` context manager causes all warnings to be printed every time, even after exiting

2018-07-10 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +7769 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue29672> ___ ___ Py

[issue34091] REPL does not work in msys2, ConEmu terminals on windows

2018-07-13 Thread Segev Finer
Segev Finer added the comment: I'd assume this is using ConEmu's ChildGui which means it hacks up a MinTTY window to appear inside ConEmu's GUI. MinTTY doesn't use a real terminal but rather pipes as the processes stdio. Any native (non-MSYS2) Windows program would have

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-16 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +7837 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32814> ___ ___ Py

[issue33808] ssl.get_server_certificate fails with openssl 1.1.0 but works with 1.0.2g for self-signed certificate

2018-07-19 Thread Segev Finer
Segev Finer added the comment: Even if the server is outdated and the SSL library doesn't support it anymore, that's a poor exception to raise for such an error... Sadly I'm not able to access the affected server to reproduce and debug why it raises such a poor exception.

[issue34167] Standard library docs: prev/next skip right over 16.11

2018-07-24 Thread Segev Finer
Segev Finer added the comment: I think the prev/next links link to the previous/next document while 16.11 is in the same document as 16.10 at the bottom. -- nosy: +Segev Finer ___ Python tracker <https://bugs.python.org/issue34

[issue32663] SMTPUTF8SimTests are not actually being run

2018-07-25 Thread Segev Finer
Change by Segev Finer : -- nosy: +Segev Finer ___ Python tracker <https://bugs.python.org/issue32663> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-26 Thread Segev Finer
Segev Finer added the comment: > OK, the #32663 test fix I mentioned in the review is merged. Yeah. I already merged it in. -- ___ Python tracker <https://bugs.python.org/issu

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-26 Thread Segev Finer
Segev Finer added the comment: Merged into the PR that is. -- ___ Python tracker <https://bugs.python.org/issue32814> ___ ___ Python-bugs-list mailing list Unsub

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-28 Thread Segev Finer
Segev Finer added the comment: @scorphus Note that I made a PR for this: PR 8303 -- ___ Python tracker <https://bugs.python.org/issue32814> ___ ___ Python-bug

[issue34267] find_python.bat doesn't find installed Python 3.7

2018-07-28 Thread Segev Finer
New submission from Segev Finer : The PCbuild/find_python.bat script doesn't find an installed Python 3.7 and will proceed to download Python using nuget. This is caused by it invoking py with "-3.6" which will only find Python 3.6 (py doesn't seem to support a 3.6 or

[issue34274] Python launcher behavior with /usr/bin/env python shebang

2018-07-29 Thread Segev Finer
Change by Segev Finer : -- components: Windows nosy: Segev Finer, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python launcher behavior with /usr/bin/env python shebang type: behavior versions: Python 3.7

[issue34274] Python launcher behavior with "#!/usr/bin/env python" shebang

2018-07-29 Thread Segev Finer
New submission from Segev Finer : When using the common "#!/usr/bin/env python" shebang, recent versions of the Python launcher will search the PATH for "python" as specified in the shebang. But Python on Windows installs as python.exe for all versions, both 2 and 3. So

[issue34283] [Windows] Python 2 mishandles console code page after setlocale

2018-07-30 Thread Segev Finer
Change by Segev Finer : -- title: Python 2 mishandles console code page after setlocale -> [Windows] Python 2 mishandles console code page after setlocale ___ Python tracker <https://bugs.python.org/issu

[issue34283] Python 2 mishandles console code page after setlocale

2018-07-30 Thread Segev Finer
New submission from Segev Finer : Found by trying to use pip: https://github.com/pypa/pip/issues/5665. This is likely affected by the console code page. Python version: 2.7.15 64 bit OS: Windows 10.0.17134.165 x64 The console locale is set to cp872. The console font is consolas. Apparently

[issue34478] Possibly misleading/wrong documentation about PyModuleDef.m_free

2018-08-23 Thread Segev Finer
New submission from Segev Finer : This section in the documentation https://docs.python.org/3.7/howto/cporting.html#module-initialization-and-state shows how to implement an extension module that works for both Python 2 and 3. It also shows how to use m_size to manage module state instead of

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-01-06 Thread Segev Finer
Segev Finer added the comment: Though Python has taken measures to mark handles as non-inheritable there is still a possible race due to having to create inheritable handles while creating processes with stdio pipes (subprocess). Attached is a Patch that implements subprocess.Popen(close_fds

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-01-06 Thread Segev Finer
Segev Finer added the comment: Second version of the patch after review by eryksun. Please pay attention to the hack in _execute_child due to having to temporarily override the handle_list if the user supplied one. As for pass_fds: as you noted, it has it's own share of complexitie

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-01-07 Thread Segev Finer
Segev Finer added the comment: I removed previous_handle_list in _execute_child since I noticed subprocess already clobbers the other attributes in startupinfo anyhow. I figured there will be some discussion about how to pass the handle list, so here's my two cents: * subprocess al

[issue29191] liblzma is missing from pcbuild.sln

2017-01-07 Thread Segev Finer
New submission from Segev Finer: liblzma is missing from pcbuild.sln. This causes the build of _lzma to fail when building the solution and not using build.bat. Attached is a patch that fixes this for the default branch. Note that it also includes some missing project configurations for the

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-01-13 Thread Segev Finer
Segev Finer added the comment: I have read some of https://github.com/rprichard/win32-console-docs and it documents quite a bunch of nastiness with PROC_THREAD_ATTRIBUTE_HANDLE_LIST in Windows Vista/7. Windows is so much fun sometimes :P Essentially console handles in Windows before Windows 8

<    1   2