[issue34100] Same constants in tuples are not merged while compile()

2018-07-12 Thread Brett Cannon
Brett Cannon added the comment: I also agree that there's no bug here, so I'm marking this an enhancement and removing the regression label. -- nosy: +brett.cannon type: resource usage -> enhancement ___ Python tracker

[issue34106] Add --with-module-config= to 'configure' script

2018-07-12 Thread Neil Schemenauer
New submission from Neil Schemenauer : This patch is based on top of GH-8229 but could be changed to work without it. -- components: Build messages: 321580 nosy: nascheme priority: normal severity: normal stage: patch review status: open title: Add --with-module-config= to 'configure'

[issue34105] test_socket.test_host_resolution_bad_address fails on Mac OS X 10.13.6

2018-07-12 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : On my Mac OS X 10.13.6 system test_socket.test_host_resolution_bad_address fails with the following error: == FAIL: test_host_resolution_bad_address

[issue34106] Add --with-module-config= to 'configure' script

2018-07-12 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +7804 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread Rodrigo Pinheiro Marques de Araújo
Rodrigo Pinheiro Marques de Araújo added the comment: I did remove PyYAML, lxml and Pillow here but segfault still happen -- ___ Python tracker ___

[issue34104] email.message.get_payload should enforce correct encoding

2018-07-12 Thread R. David Murray
R. David Murray added the comment: It looks like the virus checkers are not doing robust decoding that the email RFCs recommend, and that thunderbird is. This is obviously a bug in the virus scanners. By default, like thunderbird, the email library does its best to decode attachments. If

[issue34104] email.message.get_payload should enforce correct encoding

2018-07-12 Thread Serge Droz
New submission from Serge Droz : The issue is really this: https://noxxi.de/research/mime-5-easy-steps-to-bypass-av.html get_payload should with decode=Treu should check the validity of the syntax and throw an error if it is not. This would happen if the underlying call to base64.decode

[issue34104] email.message.get_payload should enforce correct encoding

2018-07-12 Thread Serge Droz
Change by Serge Droz : -- type: -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread Jonas H.
Jonas H. added the comment: I can reproduce this on Ubuntu 18.04. INADA, I have a full gdb backtrace with Python 3.7 development build. I'd like to share it with you privately as I'm concerned it may contain sensible information. I know that's a bit unconventional; if you have other

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-12 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Upon checking to see where the RuntimeError is coming from, I noticed that there is some notorious behaviour in chunk.py. If one runs python with the exact same parameters as Jussi Judin did in their first case and after stepping through the call stack

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread AndreasPK
AndreasPK added the comment: I've learned that msys builds their own Python binary which is the one broken. So I'm closing this as it's my undestanding that it is not a bug in the official distribution. Thanks for the quick responses. -- stage: -> resolved status: open -> closed

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-12 Thread Michael Kearney
New submission from Michael Kearney : 0 >>> import logging 1 >>> root=logging.getLogger(name='root') 2 >>> root.warning('msg') 3 msg <- Compare this line 4 >>> logging.warning('msg') 5 WARNING:root:msg 6 >>> root.warning('msg') 7 WARNING:root:msg

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: @jonash, Thank you. Would you share core file too? You can get core file when reproducing it after `ulimit -c unlimited`. My mail address is "songofacandy [at] gmail.com". Please share it via Dropbox or Google Drive. --

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-12 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34101] PyBuffer_GetPointer() not documented

2018-07-12 Thread Antoine Pitrou
Change by Antoine Pitrou : -- assignee: docs@python components: Documentation nosy: docs@python, pitrou, skrah priority: normal severity: normal status: open title: PyBuffer_GetPointer() not documented type: behavior versions: Python 3.5, Python 3.6, Python 3.7

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: > STINNER Victor added the comment: > > What is the time spent in marshal.dumps() at Python startup when Python has > to create all .pyc files? For example "./python -c pass" in the master branch > with no external dependency? My question is if the PR makes

[issue34100] Same constants in tuples are not merged while compile()

2018-07-12 Thread INADA Naoki
Change by INADA Naoki : -- title: Same integers in a tuple of constant literals are not merged -> Same constants in tuples are not merged while compile() ___ Python tracker

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-07-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +7796 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: > So startup must not be slower than 4%. I know. But Python does more than compile()+dumps() at the first run. I'm curious if it is feasible to measure this cost. But it may be hard to get reliable benchmarks, since I expect that the difference will be very

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8df4770e8d2c9ebd49c5e4d073eef3a5bc805cfc by Victor Stinner in branch '3.6': bpo-33716, test_concurrent_futures: increase timeout (GH-7828) (GH-8264) https://github.com/python/cpython/commit/8df4770e8d2c9ebd49c5e4d073eef3a5bc805cfc --

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: The issue has been working around by increasing the timeout from 1 minute to 5 minutes. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.8 ___ Python

[issue34084] possible free statically allocated string in compiler when easter egg on

2018-07-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7795 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: According to Serhiy Storchaka, currently marshal.dumps() writes frozenset in arbitrary order, and so frozenset serialization is not reproducible: https://mail.python.org/pipermail/python-dev/2018-July/154604.html -- nosy: +vstinner

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-07-12 Thread miss-islington
miss-islington added the comment: New changeset b89776fb1b000f73a62850bea78e5b3434bd7e9a by Miss Islington (bot) in branch '3.7': bpo-33716, test_concurrent_futures: increase timeout (GH-7828) https://github.com/python/cpython/commit/b89776fb1b000f73a62850bea78e5b3434bd7e9a --

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Look also at alternate patches for issue20416. Some of them can solve this problem for simple types. If they have better performance, using them for simple types could save a time. But this will complicate a code, and I'm not sure it is worth. --

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7797 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34084] possible free statically allocated string in compiler when easter egg on

2018-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 8262 fixes the intended setting of error message for the "Barry as BDFL" easter egg. >>> from __future__ import barry_as_FLUFL >>> 1 != 2 File "", line 1 1 != 2 ^ SyntaxError: with Barry as BDFL, use '<>' instead of '!=' But there is other

[issue34084] possible free statically allocated string in compiler when easter egg on

2018-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem is that 'from __future__ import' is parsed after converting the sources to the AST. But this flag affects the behavior of the tokenizer, before an AST is created. -- ___ Python tracker

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: What is the time spent in marshal.dumps() at Python startup when Python has to create all .pyc files? For example "./python -c pass" in the master branch with no external dependency? My question is if the PR makes Python startup 5% slower or less than 1%

[issue34100] Same integers in a tuple of constant literals are not merged

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Honestly, I don't think that it's a bug. We might enhance Python 3.8 to reduce constants duplication, but there is no need to "fix" Python 3.7. -- ___ Python tracker

[issue34093] Reproducible pyc: FLAG_REF is not stable.

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: > STINNER Victor added the comment: > > According to Serhiy Storchaka, currently marshal.dumps() writes frozenset in > arbitrary order, and so frozenset serialization is not reproducible: > https://mail.python.org/pipermail/python-dev/2018-July/154604.html

[issue34037] test_asyncio: test_run_in_executor_cancel() leaked a dangling thread on AMD64 FreeBSD 10.x Shared 3.7

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: It's easy to reproduce the issue on Linux: diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 11cd950df1..df4c2b9849 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@

[issue34037] asyncio: BaseEventLoop.close() shutdowns the executor without waiting causing leak of dangling threads

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- title: test_asyncio: test_run_in_executor_cancel() leaked a dangling thread on AMD64 FreeBSD 10.x Shared 3.7 -> asyncio: BaseEventLoop.close() shutdowns the executor without waiting causing leak of dangling threads

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: The following test failed: # thread_time() should include CPU time spent in current thread... start = time.thread_time() busy_wait(0.100) stop = time.thread_time() self.assertGreaterEqual(stop - start, 0.020) # machine

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +7798, 7799 stage: -> patch review ___ Python tracker ___ ___

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7799 stage: -> patch review ___ Python tracker ___ ___

[issue33965] [Windows WSL] Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time, after year 2038

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Ok, no problem, I close the issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32560] inherit the py launcher's STARTUPINFO

2018-07-12 Thread Steve Dower
Steve Dower added the comment: The "for example" line is the fix, it really is very simple. That said, we have no automatic validation for the launcher, and coming up with a good set of manual tests to check it is certainly not easy. -- ___

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset d6345def68d3a0227253da26213dadb247f786db by Victor Stinner in branch 'master': bpo-33723: Fix test_time.test_thread_time() (GH-8267) https://github.com/python/cpython/commit/d6345def68d3a0227253da26213dadb247f786db --

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +7803 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: I removed the easy keyword from this issue: it's open since 2005, it has 12 patches and 1 PR attached, and a lot of discussion. -- nosy: +vstinner ___ Python tracker

[issue32560] [EASY C] inherit the py launcher's STARTUPINFO

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Ah, so the task is just open PC/launcher.c and replaced "si.cb = sizeof(si)" with "GetStartupInfoW()". Ok, I agree, that's easy and I would be happy to review such PR ;-) I add the "[EASY C]" tag to the issue title in this case. -- title: inherit

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> third party stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread Sagi (Sergey) Shnaidman
Sagi (Sergey) Shnaidman added the comment: @xtreak , sorry, you're right, I pasted a wrong traceback. This is original traceback: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args)

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-07-12 Thread Poul-Henning Kamp
Poul-Henning Kamp added the comment: Please note that the mode is not just a parameter, it is also a data field inside the encoded input. See: https://en.wikipedia.org/wiki/Uuencoding (search for "mode") -- ___ Python tracker

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @sshnaidm. The patch makes sense. Can you add a test case for this that fails without the patch? I have tried `pip install ansible-lint` and it works fine for me in Python 2.7. I think a NEWS entry will help too :

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread miss-islington
miss-islington added the comment: New changeset 4ada0cff5315627eae8208adf0209b479f497b8d by Miss Islington (bot) in branch '3.7': bpo-33723: Fix test_time.test_thread_time() (GH-8267) https://github.com/python/cpython/commit/4ada0cff5315627eae8208adf0209b479f497b8d -- nosy:

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Hi, I couldn't see the print statement in Lib/email/feedparser.py with latest 2.7 branch and also `git log -p Lib/email/feedparser.py | grep print` doesn't return me anything. `pip install ansible-lint` also works fine with Python 2.7. I think

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Is this issue a regression of Python 3? red/256 gave an integer on Python 2? -- nosy: +vstinner ___ Python tracker ___

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Is there really an use case which requires to set the permission of the file created by uu.decode()? It is already possible to call uu.decode() with an open file which has been created with the expected permission. Moreover, it's also possible to explicitly

[issue33965] [Windows WSL] Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time, after year 2038

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Petter S: If you don't provide further information, I will close the issue in one week. I tried all possible ways to compile Python on Windows and I failed to reproduce the bug. I'm not saying that there is no bug, just that the bug cannot fixed it if I

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread Sagi (Sergey) Shnaidman
Change by Sagi (Sergey) Shnaidman : -- keywords: +patch pull_requests: +7800 stage: -> patch review ___ Python tracker ___ ___

[issue33965] [Windows WSL] Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time, after year 2038

2018-07-12 Thread Petter S
Petter S added the comment: Makes sense. I fail to reproduce it myself. :-( -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Honestly, the ssl module is complex, and the conversion to PEP 3121 and PEP 384 are not straighforward, so I removed the "easy (C)" keyword. -- keywords: -easy (C) nosy: +vstinner ___ Python tracker

[issue33073] Add as_integer_ratio() to int() objects

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: I remove the "easy (C)" keyword since the feature seems to be controversal (at least, not so easy). -- nosy: +vstinner ___ Python tracker

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: If someone writes a PR, I can review it ;-) -- ___ Python tracker ___ ___ Python-bugs-list

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7802 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: Would you provide list of extension modules? What happens when removing some of them? -- ___ Python tracker ___

[issue33911] [EASY] test_docxmlrpc fails when run with -Werror

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: > Slightly off topic but while trying to look at the code I can see a space > between function name and parenthesis as below. (...) Usually we don't accept changes which only changes the coding style. One reason is to keep a simple history in Git.

[issue32560] inherit the py launcher's STARTUPINFO

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: "inherit the py launcher's STARTUPINFO" I read the issue twice, and honestly I have no idea how to implement that. So I removed the "easy (C)" keyword. If you still consider that it's an "easy (C)" issue, please describe step by step how to implement it:

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-12 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Will you make a PR or shall I try to fix this? -- nosy: +lys.nikolaou ___ Python tracker ___

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread Sagi (Sergey) Shnaidman
New submission from Sagi (Sergey) Shnaidman : sudo pip install ansible-lint Requirement already satisfied: ansible-lint in /usr/lib/python2.7/site-packages (3.4.21) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228,

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-07-12 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker ___

[issue34090] Python function call optimization: avoid temporary tuple to pass **kwargs

2018-07-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issues with similar discussion in the past : https://bugs.python.org/issue27840 https://bugs.python.org/issue29318 - Similar discussion where PyDict_Copy was proposed Thanks -- nosy: +xtreak

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread Jonas H.
Jonas H. added the comment: I also have a segfault that goes away with malloc debugging. Not sure if it's the same issue. My extension modules are venv/lib/python3.7/site-packages//_yaml.cpython-37m-darwin.so venv/lib/python3.7/site-packages//netifaces.cpython-37m-darwin.so

[issue34102] local variable 'parts' referenced before assignment in feedparser in email module

2018-07-12 Thread R. David Murray
R. David Murray added the comment: This appears to be a bug in pip or the ansible-lint package, similar, and possibly identical, to issue 31361. I believe None is being passed in as the argument to feed_parser.feed, which is an invalid use of that API and so correctly results in an error.

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread AndreasPK
New submission from AndreasPK : Andi@Horzube MINGW64 ~/tmp $ python3.7 ../pyTest.py ['', 'C:/ghc/msys64/mingw64/lib/python37.zip', 'C:/ghc/msys64/home/Andi/tmp', 'C:/ghc/msys64/mingw64/lib/python3.7', 'C:/ghc/msys64/mingw64/bin', 'C:/ghc/msys64/mingw64/lib/python3.7/lib-dynload',

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: Hmm, all segfault are happend on macOS? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: > Please note that the mode is not just a parameter, it is also a data field > inside the encoded input. Oh... right... " is the file's Unix file permissions as three octal digits (e.g. 644, 744). This is typically only significant to unix-like operating

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2018-07-12 Thread Bryan Oakley
Bryan Oakley added the comment: yes, this is a well known backwards incompatibility. In python 2, the division operator returns an integer if both operands are integers. In python 3 it returns a float. https://www.python.org/dev/peps/pep-0238/ On Thu, Jul 12, 2018 at 8:48 AM STINNER Victor

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2018-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It appears so. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread Jonas H.
Jonas H. added the comment: Btw my segfault is from Django too, but that may just be a coincidence -- ___ Python tracker ___ ___

[issue34008] Do we support calling Py_Main() after Py_Initialize()?

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: I tested fontforge. It became clear to me that the fontforge must be able to call Py_Initialize() and only later call Py_Main(). fontforge calls Py_Initialize() and then uses the Python API: /* This is called to start up the embedded python interpreter */

[issue34087] django: segmentation fault on garbage collection in visit_decref()

2018-07-12 Thread Rodrigo Pinheiro Marques de Araújo
Rodrigo Pinheiro Marques de Araújo added the comment: Extensions: ./_cffi_backend.cpython-37m-darwin.so ./_mssql.cpython-37m-darwin.so ./_yaml.cpython-37m-darwin.so ./Crypto/Cipher/_AES.cpython-37m-darwin.so ./Crypto/Cipher/_ARC2.cpython-37m-darwin.so

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-07-12 Thread Neil Schemenauer
Neil Schemenauer added the comment: I removed the "makesetup_fallback_dist.txt". PR-8260 is a more polished implementation of the same idea. -- ___ Python tracker ___

[issue34090] Python function call optimization: avoid temporary tuple to pass **kwargs

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: Yeah, I recall these issues since I wrote them :-D The fix for bpo-29318 was to document that we must copy the kwargs dict ;-) But this issue is not about the copy of the kwargs dict, but about two useless conversions: kwargs dict -> kwnames tuple -> kwargs

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-07-12 Thread Neil Schemenauer
Change by Neil Schemenauer : Removed file: https://bugs.python.org/file47685/makesetup_fallback_dist.txt ___ Python tracker ___ ___

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread INADA Naoki
INADA Naoki added the comment: inada-n@rinrin:~/t$ ../pyenv/versions/3.7.0/bin/python ../fset.py ['/home/inada-n', '/home/inada-n/pyenv/versions/3.7.0/lib/python37.zip', '/home/inada-n/pyenv/versions/3.7.0/lib/python3.7', '/home/inada-n/pyenv/versions/3.7.0/lib/python3.7/lib-dynload',

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread AndreasPK
AndreasPK added the comment: Thank you for the fast response! Both versions are distributed via msys I did not build them myself and installed 3.7 via pacman (today). $ python3.7 Python 3.7.0 (default, Jul 12 2018, 11:44:33) [GCC 7.3.0 64 bit (AMD64)] on win32 I only found out about this