[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This may be more complicated that it seems as these two statements are true at the same time: l in gc.get_objects(generation=0) True p l in gc.get_objects(generation=2) True -- ___ Python tracker

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: But this only happens when running the test suite as ./python.exe -m test -m test_gc -- ___ Python tracker ___ __

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, this is happening because there is a unittest.mock._ANY in the second generation. -- ___ Python tracker ___ _

[issue36154] Python quit unexpectedly error

2019-03-01 Thread Inada Naoki
Inada Naoki added the comment: How do you execute Python? If you don't use terminal, please try executing Python from terminal. And see what is output from Python in terminal. -- nosy: +inada.naoki ___ Python tracker

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12122 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand this correctly any combination that imports mock._ANY affects test_gc like below combination that uses mock._ANY causes test_gc to fail ? ./python.exe -m unittest unittest.test.testmock test.test_gc [snip output]

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yup, I was actually using: ./python.exe -m test test_asyncio test_gc -m test_gc when I found out thst the core cause was mock._ANY :) -- ___ Python tracker __

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d60a79a1015aa26ff7ee3166820ec43558911b60 by Pablo Galindo in branch 'master': bpo-36155: Check for identity on test_gc.test_get_objects (GH-12116) https://github.com/python/cpython/commit/d60a79a1015aa26ff7ee3166820ec43558911b60 ---

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, this one has been fun :) Thanks for finding this one @xtreak! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem. Thanks for fix :) I stumbled upon it due to a typo where I used -m instead of -v in python -m test -m test_gc instead of python -m test -v test_gc . Any suggestion on how you debugged it was mock ? -- _

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Well, unless there was a bug on the gc, the only way the list l could be on both lists is if in one of them there was something that was saying that is equal to it. To confirm I checked what was equal to l in the second generation and I saw it was moc

[issue36155] ./python -m test -m test_gc fails

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the explanation :) -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue36156] different method, but id function return same value.

2019-03-01 Thread lgj
New submission from lgj <929102...@qq.com>: >>> class A: ... def a(self): ... return 0 ... def a1(self): ... return 1 ... >>> a =A() >>> id(a.a) 4316559496 >>> id(a.a1) 4316559496 >>> id(a) 4318155272 It' seems oops , according to the id function source code. here is the

[issue31904] Python should support VxWorks RTOS

2019-03-01 Thread Peixing Xin
Change by Peixing Xin : -- pull_requests: +12123 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36152] IDLE: Remove close_when_done from colorizer close()

2019-03-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset b9f0354efce95b7557bc43ea193c4b652cd28392 by Cheryl Sabella in branch 'master': bpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109) https://github.com/python/cpython/commit/b9f0354efce95b7557bc43ea193c4b652cd28392 -- ___

[issue36152] IDLE: Remove close_when_done from colorizer close()

2019-03-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +12124 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue26752] Mock(2.0.0).assert_has_calls() raise AssertionError in two same calls

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @guboi72 is right that signature for class constructor is used also for methods. Another possible solution would be that mock stores it's children in _mock_children dictionary so when a method is called then name can be used to get the relevant chi

[issue36156] different method, but id function return same value.

2019-03-01 Thread Inada Naoki
Inada Naoki added the comment: a.a creates temporal method object. After id(a.a), it is removed. So a.a and a.a1 are not "simultaneously existing objects" in your case. Try this: x = a.a y = a.a1 id(x), id(y) x and y are "simultaneously existing objects" now. -- nosy: +inada.naoki

[issue36152] IDLE: Remove close_when_done from colorizer close()

2019-03-01 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36156] different method, but id function return same value.

2019-03-01 Thread Steven D'Aprano
Steven D'Aprano added the comment: bugs.python.org seems to be down at the moment, so please forgive me if this ticket has already been closed and I'm repeating what has already been said. > This is guaranteed to be unique among simultaneously existing objects. Note the *simultaneously exis

[issue35859] Capture behavior depends on the order of an alternation

2019-03-01 Thread Ma Lin
Ma Lin added the comment: The PR11756 is prepared. I force-pushed the patch in four steps, hope you can review it easier: https://github.com/python/cpython/pull/11756/commits 🔴 Step 1, test-cases Show the wrong behaviors before this fix, the corresponding test-case will be updated in next ste

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: TODO: check if _Py_ClearFileSystemEncoding() uses the right memory allocator. _Py_SetFileSystemEncoding() doesn't change temporarily the memory allocator. -- ___ Python tracker

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8058bdae3e5e1f77a202d9dc907b4189409c9b03 by Victor Stinner in branch 'master': bpo-36146: Refactor setup.py: PyBuildExt.add() method (GH-12097) https://github.com/python/cpython/commit/8058bdae3e5e1f77a202d9dc907b4189409c9b03 -- _

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12126 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset dfe884759d1f4441c889695f8985bc9feb9f37eb by Victor Stinner in branch 'master': bpo-36142: Rework error reporting in pymain_main() (GH-12113) https://github.com/python/cpython/commit/dfe884759d1f4441c889695f8985bc9feb9f37eb --

[issue36152] IDLE: Remove close_when_done from colorizer close()

2019-03-01 Thread miss-islington
miss-islington added the comment: New changeset 70852b1eb6fbcc41fe9cad042e9ca61c5148fbda by Miss Islington (bot) in branch '3.7': bpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109) https://github.com/python/cpython/commit/70852b1eb6fbcc41fe9cad042e9ca61c5148fbda -- n

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12127 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36154] Python quit unexpectedly error

2019-03-01 Thread kellena
kellena added the comment: When I run python3 in a terminal window, I get the same pop-up window with "Python quit unexpectedly error." In the terminal, I get: Fatal Python error: initfsencoding: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' Current

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 625dbf2567533e6001d57e5969fba75c1b6ece43 by Victor Stinner in branch 'master': bpo-36146: Refactor setup.py: Add PyBuildExt.srcdir (GH-12124) https://github.com/python/cpython/commit/625dbf2567533e6001d57e5969fba75c1b6ece43 -- ___

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12128 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 95e2cbf32f8156c239b27dae558ba058d0f2d496 by Victor Stinner in branch 'master': bpo-36142: Move command line parsing to coreconfig.c (GH-12123) https://github.com/python/cpython/commit/95e2cbf32f8156c239b27dae558ba058d0f2d496 -- __

[issue36154] Python quit unexpectedly error

2019-03-01 Thread Inada Naoki
Inada Naoki added the comment: > Fatal Python error: initfsencoding: unable to load the file system codec > > ModuleNotFoundError: No module named 'encodings' OK, this is the important part which describes what Python failed. In this case, Python can't find it's very important standard librar

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue13055] Distutils tries to handle null versions but fails

2019-03-01 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12129 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5ec33a1c25a586552751ca35c85ab7ecb6b06ec3 by Victor Stinner in branch 'master': bpo-36146: Split setup.py into subfunctions (GH-12125) https://github.com/python/cpython/commit/5ec33a1c25a586552751ca35c85ab7ecb6b06ec3 -- ___

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12130 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset c991f2415d4eef663039a83125aa6aad81672680 by Victor Stinner in branch 'master': bpo-36146: Don't run code at setup.py top level (GH-12127) https://github.com/python/cpython/commit/c991f2415d4eef663039a83125aa6aad81672680 -- ___

[issue36116] test_multiprocessing_spawn fails on AMD64 Windows8 3.x

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: https://buildbot.python.org/all/#/builders/32/builds/2219 FAIL: test_mymanager_context_prestarted (test.test_multiprocessing_spawn.WithManagerTestMyManager) Re-running failed tests in verbose mode Re-running test 'test_multiprocessing_spawn' in verbose mode F

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12131 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36157] Document PyInterpreterState_Main().

2019-03-01 Thread Eric Snow
New submission from Eric Snow : PyInterpreterState_Main() is a function in the public C-API that returns a pointer to the main interpreter's state. The main interpreter is the first one created by the CPython runtime during startup (e.g. when the "python" command is run). Documentation for

[issue27321] Email parser creates a message object that can't be flattened

2019-03-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: @r.david.murray, it appears that all your requested changes have been addressed on the PR. Please re-review this when you get a chance. Thanks! -- nosy: +cheryl.sabella versions: -Python 3.6 ___ Python tracker

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12132 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 91b9ecf82c3287b45f39158c5134a87414ff26bc by Victor Stinner in branch 'master': bpo-36142: Add preconfig.c (GH-12128) https://github.com/python/cpython/commit/91b9ecf82c3287b45f39158c5134a87414ff26bc --

[issue36153] Freeze support documentation is misleading.

2019-03-01 Thread Sridhar Iyer
Sridhar Iyer added the comment: Please find the attached python file where the issue is seen. The cli to create an executable was: $pyinstaller run_server_min.spec Here are the contents of the file (this doesn't support multiple file uploads): # -*- mode: python ; coding: utf-

[issue31689] random.choices does not work with negative weights

2019-03-01 Thread Ted Whalen
Ted Whalen added the comment: I think this should be reopened, as the behavior doesn't always raise an error, and, in fact, does something very unexpected: Python 3.7.2 (default, Jan 13 2019, 12:50:01) [Clang 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "licen

[issue35178] Typo/trivial mistake in warnings.py (may be related to 2.x to 3.x conversion)

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset be7c460fb50efe3b88a00281025d76acc62ad2fd by Victor Stinner (Xtreak) in branch 'master': bpo-35178: Fix warnings._formatwarnmsg() (GH-12033) https://github.com/python/cpython/commit/be7c460fb50efe3b88a00281025d76acc62ad2fd -- _

[issue35178] Typo/trivial mistake in warnings.py (may be related to 2.x to 3.x conversion)

2019-03-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +12133 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36158] Regex search behaves differently in list comprehension

2019-03-01 Thread Matthew Drago
New submission from Matthew Drago : Say for example i want to apply a regex on a list of strings. Using list comprehension as such results in the group method not being found. ``` name_regex = compile(r'\[\"([a-zA-Z\s]*)\"{1}') named_entities = [name_regex.match(entity.trigger).group(1) for e

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset cfe172dc6bd0a02d36db31ffabcc38f9320a4510 by Victor Stinner in branch 'master': bpo-36146: Add TEST_EXTENSIONS to setup.py (GH-12129) https://github.com/python/cpython/commit/cfe172dc6bd0a02d36db31ffabcc38f9320a4510 --

[issue27640] add the '--disable-test-suite' option to configure

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: I modified setup.py to add a new TEST_EXTENSIONS which allows to not build test extensions: New changeset cfe172dc6bd0a02d36db31ffabcc38f9320a4510 by Victor Stinner in branch 'master': bpo-36146: Add TEST_EXTENSIONS to setup.py (GH-12129) https://github.com/

[issue36146] Refactor setup.py

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: Ok, I splitted my giant PR 12068 into multiple small commits. So they are easier to review and understand ;-) I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ P

[issue33944] Deprecate and remove pth files

2019-03-01 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: On 01.03.2019 3:58, Steve Dower wrote > Import hooks can always be injected by a package __init__.py before the > importer will try and resolve the module, so nothing is needed there. I thought the flaw in this reasoning in https://bugs.python.org/issue33944#m

[issue35478] multiprocessing: ApplyResult.get() hangs if the pool is terminated

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: Pablo: since you worked on multiprocessing recently, did you see this bug? I'm not sure about my PR 11139... If someone else wants to work on a fix, ignore my PR ;-) -- nosy: +davin, pitrou ___ Python tracker

[issue35178] Typo/trivial mistake in warnings.py (may be related to 2.x to 3.x conversion)

2019-03-01 Thread miss-islington
miss-islington added the comment: New changeset b94874f7e27cbc92e0aec8779ee98bcb16efb257 by Miss Islington (bot) in branch '3.7': bpo-35178: Fix warnings._formatwarnmsg() (GH-12033) https://github.com/python/cpython/commit/b94874f7e27cbc92e0aec8779ee98bcb16efb257 -- nosy: +miss-isli

[issue35178] Typo/trivial mistake in warnings.py (may be related to 2.x to 3.x conversion)

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: Thanks Tashrif Billah and Karthikeyan Singaravelan for the fix! Sadly, Python 3.6 now only accept security fixes, and so this bug cannot be fixed in the 3.6 branch anymore. The workaround is the rename the last parameter of your customer formatmsg function

[issue33944] Deprecate and remove pth files

2019-03-01 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: On 01.03.2019 20:27, Ivan Pozdeev wrote: > The fact that this feature is mixed up with and often supplements > "real packages" that a program would explicitly use is actually > incidental: a package with a .pth does not need to have any > functionality intende

[issue36158] Regex search behaves differently in list comprehension

2019-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a short script with data for entities to try reproducing this? >>> from re import compile >>> name_regex = compile(r'\[\"([a-zA-Z\s]*)\"{1}') >>> [name_regex.match(a).group(1) for a in ['["a"a]']] ['a'] >>> list(map(lambda a: name

[issue36159] Modify Formatter Class to handle arbitrary objects

2019-03-01 Thread Ross Biro
New submission from Ross Biro : The only point in the string.Formatter class that really depends on string output is line 245: return ''.join(result), auto_arg_index. I'm currently working on a problem that would be much easier if I could get access to the result list instead of having that

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 62be763348d16ba90f96667aa0240503261393f0 by Victor Stinner in branch 'master': bpo-36142: Remove _PyMain structure (GH-12120) https://github.com/python/cpython/commit/62be763348d16ba90f96667aa0240503261393f0 -- ___

[issue36160] Multiple errors in test_site.py on sysconfig._CONFIG_VARS.clear() if run on its own

2019-03-01 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : Sample failure: > cpython\branches\3.7>python.bat -m test.test_site Running Debug|x64 interpreter... E.s. == ERROR: test_addpackage (__main__.HelperFunctionsTests) ---

[issue36160] Multiple errors in test_site.py on sysconfig._CONFIG_VARS.clear() if run on its own

2019-03-01 Thread Ivan Pozdeev
Change by Ivan Pozdeev : -- keywords: +patch pull_requests: +12134 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-03-01 Thread Eric Snow
Eric Snow added the comment: New changeset b05b711a2cef6c6c381e01069dedac372e0b9fb2 by Eric Snow in branch 'master': bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024) https://github.com/python/cpython/commit/b05b711a2cef6c6c381e01069dedac372e0b9fb2 --

[issue36159] Modify Formatter Class to handle arbitrary objects

2019-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue36154] Python quit unexpectedly error

2019-03-01 Thread kellena
kellena added the comment: There isn't much. I downloaded this and installed it from python.org with the install wizard. Shouldn't all of the necessary environment variables have been added at that time? $ env | grep PYTHON PYTHONHOME=/usr/local/bin/python3 --

[issue36124] Provide convenient C API for storing per-interpreter state

2019-03-01 Thread Eric Snow
Eric Snow added the comment: Thinking about this, what is the key difference with the existing PyModule_GetState() function? Is it just the return type (module-defined void * vs. a regular dict)? Certainly it provides a C-only namespace that all extensions can share (like PyThreadState_Get

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-03-01 Thread Eric Snow
Eric Snow added the comment: New changeset bda918bf65a88560ec453aaba0758a9c0d49b449 by Eric Snow in branch 'master': bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062) https://github.com/python/cpython/commit/bda918bf65a88560ec453aaba0758a9c0d49b449 ---

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-03-01 Thread Eric Snow
Eric Snow added the comment: I've merged the PR for hoisting eval_breaker before the ceval loop starts. @Raymond, see if that addresses the performance regression you've been seeing. I'll close this issue after I've sorted out the buildbot issues David mentioned (on his Windows builders).

[issue36154] Python quit unexpectedly error

2019-03-01 Thread Brett Cannon
Brett Cannon added the comment: Yes, the Mac installer should have installed everything, but software isn't perfect. :) I would try installing again. -- nosy: +brett.cannon, ned.deily, ronaldoussoren ___ Python tracker

[issue36153] Freeze support documentation is misleading.

2019-03-01 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-01 Thread Brett Cannon
Brett Cannon added the comment: Anyone have an opinion about the __getitem__ proposal? I'm fine with it but I wanted to make sure other import + namespace folks don't disagree. -- ___ Python tracker ___

[issue36124] Provide convenient C API for storing per-interpreter state

2019-03-01 Thread Eric Snow
Change by Eric Snow : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36043] FileCookieJar constructor don't accept PathLike

2019-03-01 Thread miss-islington
miss-islington added the comment: New changeset 4b219ce81ed04234648a4ce4f0cb0865818abb38 by Miss Islington (bot) (Stéphane Wirtel) in branch 'master': bpo-36043: FileCookieJar supports os.PathLike (GH-11945) https://github.com/python/cpython/commit/4b219ce81ed04234648a4ce4f0cb0865818abb38 --

[issue36043] FileCookieJar constructor don't accept PathLike

2019-03-01 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue32387] Disallow untagged C extension import on major platforms

2019-03-01 Thread Brett Cannon
Brett Cannon added the comment: It's 3.8 time now. :) Should we try and resolve this? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue36124] Provide convenient C API for storing per-interpreter state

2019-03-01 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +12135 stage: needs patch -> patch review ___ Python tracker ___ ___ Python

[issue36124] Provide convenient C API for storing per-interpreter state

2019-03-01 Thread Eric Snow
Change by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-03-01 Thread Thomas Wouters
New submission from Thomas Wouters : (good first issue, I think.) CPython currently uses a few functions that are thread-unsafe where thread-safe version exist, at least in glibc (crypt() and ttyname(), at least). This isn't an issue when looking at CPython in isolation because these calls ar

[issue36162] error: implicit declaration of function 'sendfile' is invalid in C99

2019-03-01 Thread muhzi
New submission from muhzi : I encountered yet another issue with cross compilation on android, it so happens that these errors occur only when I cross compile for non 64-bit archs. i.e. I could cross compile just fine for arm64 & x86_64 but the 32-bit version of these archs produces the follo

[issue36162] error: implicit declaration of function 'sendfile' is invalid in C99

2019-03-01 Thread muhzi
muhzi added the comment: Using the latest NDK r19. Here is my compilation steps for arm: export PATH="$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH" export CC="armv7a-linux-androideabi16-clang" export CXX="$CC++" export AR="arm-linux-androideabi-ar" export LD="arm-linux-android

[issue29539] [smtplib] collect response data for all recipients

2019-03-01 Thread sls
sls added the comment: I closed my PR. I'd just rename "senderrs" to "mta_status" or so as aforementioned change means not just storing errors. FirefighterBlu3, do you open a PR for this? I'd like to see this moving into 3.8 as we don't compile Python from source but using it from deb repos

[issue33944] Deprecate and remove pth files

2019-03-01 Thread Anthony Sottile
Anthony Sottile added the comment: I don't have time to look through the data today but I wrote a script to collect the usages of `.pth` from pypi. I realized after I ran it that I skipped source distributions with `.zip` extension but otherwise it's pretty complete: https://github.com/aso

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-03-01 Thread Martin Panter
Martin Panter added the comment: In Issue 28503, “crypt_r” was added to Python 3.7 and 3.8+, and it looks like it is still there. Regarding error handling for “crypt”, it is not documented, but the Python function returns None on error. You would have to consider backwards compatibility to u

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-03-01 Thread Thomas Wouters
Thomas Wouters added the comment: Ah, looks like I missed crypt_r getting added in 3.7. Sorry about that. Yes, the error handling would be a behaviour change, a keyword argument may be a good solution. As it is, crypt() returns None, throwing away the *reason* for the failure (which is recor

[issue32129] IDLE app icon is blurry on macOS with Aqua Tk 8.6

2019-03-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2 by Terry Jan Reedy (Ned Deily) in branch 'master': bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031) https://github.com/python/cpython/commit/7eebbbd5b3907447eddadf5cb7cb1cc92

[issue32129] IDLE app icon is blurry on macOS with Aqua Tk 8.6

2019-03-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +12136 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36154] Python quit unexpectedly error

2019-03-01 Thread kellena
kellena added the comment: Sounds good. Maybe I didn't uninstall properly. What is the correct way to uninstall Python 3.7 on a Mac? Should I also uninstall version 2.7, the version that came with the Mac? Installing version 3.7 did not over-write version 2.7. -- ___

[issue32129] IDLE app icon is blurry on macOS with Aqua Tk 8.6

2019-03-01 Thread Ned Deily
Ned Deily added the comment: New changeset 453100f60e3c297226eaf0b0b4eb8c817a73b5ce by Ned Deily in branch '2.7': bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. Original patch by Kevin Walzer. (GH-12034) https://github.com/python/cpython/commit/453100f60e3c297226eaf0b0b4

[issue32129] IDLE app icon is blurry on macOS with Aqua Tk 8.6

2019-03-01 Thread miss-islington
miss-islington added the comment: New changeset 243b2064ce4fb7f90e69f9a4fa9c7e7ec70eba17 by Miss Islington (bot) in branch '3.7': bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031) https://github.com/python/cpython/commit/243b2064ce4fb7f90e69f9a4fa9c7e7ec70eba17

[issue33329] sigaddset() can fail on some signal numbers

2019-03-01 Thread Larry Hastings
Larry Hastings added the comment: These issues also occur on Python 3.4 and 3.5. And I'm now upgraded to Ubuntu 18.10 which I guess has the new version of glibc. The regression test suite for both 3.4 and 3.5 blocks forever on three tests (multiprocessing_fork, multiprocessing_forkserver, a

[issue33329] sigaddset() can fail on some signal numbers

2019-03-01 Thread Miro Hrončok
Miro Hrončok added the comment: I am not able to do PRs right now but here are the Fedora patches: https://src.fedoraproject.org/rpms/python34/blob/master/f/00302-fix-multiprocessing-regression-on-newer-glibcs.patch https://src.fedoraproject.org/rpms/python35/blob/master/f/00302-fix-multiproces

[issue33944] Deprecate and remove pth files

2019-03-01 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Mar 1, 2019, at 09:27, Ivan Pozdeev wrote: > Startup code (custom or not) is not a dependency of anything. It rather > customizes the environment in which the program specified by the user would > run, _before_ any user code could be allowed to get contr

[issue36154] Python quit unexpectedly error

2019-03-01 Thread Inada Naoki
Inada Naoki added the comment: You must not set PYTHON HOME. Python find it's home by itself. But since PYTHONHOME is set, Python can't find it's home. 2019年3月2日(土) 4:45 kellena : > > kellena added the comment: > > There isn't much. I downloaded this and installed it from python.org with > th

[issue35808] Let's retire pgen

2019-03-01 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35808] Let's retire pgen

2019-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1f24a719e7be5e49b876a5dc7daf21d01ee69faa by Pablo Galindo in branch 'master': bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814) https://github.com/python/cpython/commit/1f24a719e7be5e49b876a5dc7daf21d01ee69faa -

[issue36097] Use only public C-API in _xxsubinterpreters module.

2019-03-01 Thread Eric Snow
Eric Snow added the comment: New changeset bcfa450f210074e16feb761ae5b3e966a2532fcf by Eric Snow in branch 'master': bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003) https://github.com/python/cpython/commit/bcfa450f210074e16feb761ae5b3e966a2532

[issue36097] Use only public C-API in _xxsubinterpreters module.

2019-03-01 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue35466] Use a linked list for the ceval pending calls.

2019-03-01 Thread Eric Snow
Eric Snow added the comment: At this point I'm not terribly interested in this. :) -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue35859] Capture behavior depends on the order of an alternation

2019-03-01 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +12137 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-03-01 Thread David Bolen
David Bolen added the comment: If I can help with testing or builder access or anything just let me know. It appears that I can pretty reliably trigger the error through just the individual tests (test_daemon_threads_shutdown_std{out,err}_deadlock) in isolation, which is definitely less ted

  1   2   >