[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the report. The error line "del mainmenu.menudefs[-2][1][0]" follows this comment. # Remove the 'Configure Idle' entry from the options menu, it is in the # application menu as 'Preferences' However, -2 is the Window menu, while Options is -

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Not sure. IMHO it is not a *notable* change worth to be mentioned in https://docs.python.org/3/whatsnew/3.7.html#notable-changes-in-python-3-7-2 -- ___ Python tracker _

[issue25522] IDLE: warn if save-as name matches stdlib name

2019-01-18 Thread Vedran Čačić
Vedran Čačić added the comment: Many beginners don't write files in order to import them. For them, these name-checking is simply adding noise. If you want to do something in this area, I think a much more useful (and difficult) course of action would be to check on the opposite end. If an At

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, I can confirm that your fix launches idlelib. Not working : del mainmenu.menudefs[-2][1][0] Working : del mainmenu.menudefs[-3][1][0] Options menu listing on master with the fix with "Show code context" disabled. - Show code context - Zoom

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11326 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11326, 11327 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +11326, 11327, 11328 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Dong-hee Na
Dong-hee Na added the comment: I've upload PR 11604 Thanks always -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue33416] Add endline and endcolumn to every AST node

2019-01-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch, patch pull_requests: +11329, 11330 stage: -> patch review ___ Python tracker ___ _

[issue33416] Add endline and endcolumn to every AST node

2019-01-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch pull_requests: +11329 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue33416] Add endline and endcolumn to every AST node

2019-01-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch, patch, patch pull_requests: +11329, 11330, 11331 stage: -> patch review ___ Python tracker ___ ___

[issue33416] Add endline and endcolumn to every AST node

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

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 36d9e9a4d5238d5a2f09679b6c51be66fbfc12c4 by Victor Stinner (Dong-hee Na) in branch 'master': bpo-35283: Update the docstring of threading.Thread.join method (GH-11596) https://github.com/python/cpython/commit/36d9e9a4d5238d5a2f09679b6c51be66fbfc

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
New submission from STINNER Victor : The following test_tarfile tests fail on ppc64 when using tmpfs filesystem (which is the case on RHEL package build server): * test_sparse_file_00 (test.test_tarfile.GNUReadTest) * test_sparse_file_01 (test.test_tarfile.GNUReadTest) * test_sparse_file_10 (t

[issue35762] subprocess.Popen with universal_newlines and nonblocking streams fails with "can't concat NoneType to bytes"

2019-01-18 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- title: subprocess.Popen with universal_newlines and nonblocking streams failes with "can't concat NoneType to bytes" -> subprocess.Popen with universal_newlines and nonblocking streams fails with "can't concat NoneType to bytes" __

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +11332 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +11332, 11333 stage: -> patch review ___ Python tracker ___ __

[issue35755] Remove current directory from posixpath.defpath to enhance security

2019-01-18 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue35773] test_bdb fails on AIX bot (regression)

2019-01-18 Thread Michael Felt
New submission from Michael Felt : I see in the bot history that test_bdb is now failing on AIX https://buildbot.python.org/all/#/builders/161/builds/718/steps/4/logs/stdio == CPython 3.8.0a0 (heads/master:a37f52436f, Jan 15 2019, 22:53:01) [C] == AIX-1-00C291F54C00-powerpc-32bit big-endian ==

[issue35774] ASAN, memory leak

2019-01-18 Thread Dhiraj
New submission from Dhiraj : Hi Team, I have compiled cpython via clang using ASAN and memory leak was observed. After successful build of python, 1. Run python 2. Ctrl + D ==21461==ERROR: LeakSanitizer: detected memory leaks Direct leak of 257790 byte(s) in 93 object(s) allocated from:

[issue35774] ASAN, memory leak

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Cheryl Sabella added the comment: Karthikeyan, Thanks for catching this! Did you want to submit the patch for it or did you want me to make the PR? We're still working on the tests for the menus, so this would just be a code change. -- ___ Pyth

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Cheryl, feel free to submit a patch since I have less exposure to IDLE code. I can manually test the PR on my Mac and report back since this seems to be a Mac specific patch. It would be helpful if someone with access to other Mac OS versions can p

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35537] use os.posix_spawn in subprocess

2019-01-18 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +11334 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35537] use os.posix_spawn in subprocess

2019-01-18 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +11334, 11335 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35537] use os.posix_spawn in subprocess

2019-01-18 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +11334, 11335, 11336 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue35707] time.sleep() should support objects with __float__

2019-01-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: My proposal vastly improves the situation for Decimal. I will write a PR for this and I hope that it won't be rejected just because it's not perfect. -- ___ Python tracker

[issue35761] Allow dataclasses to be updated in place

2019-01-18 Thread Théophile Chevalier
Théophile Chevalier added the comment: I understand your points, I'll give an example with a simplified version of my problem: import dataclasses import othermodule # is an external dependency @dataclass class City: name: str position: othermodule.Point # Point is a dataclass de

[issue35707] time.sleep() should support objects with __float__

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: > Not for Decimal! In fact sleep(Decimal("0.99")) is interpreted as sleep(0) > because __int__ is used to convert. Oh oh. I didn't know that. It should be fixed. -- ___ Python tracker

[issue35775] Add a general selection function to statistics

2019-01-18 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : Like discussed in #30999, the attached PR adds a general selection function to the statistics module. This allows to simply get the element at a given quantile of a collection. https://www.cs.rochester.edu/~gildea/csc282/slides/C09-median.pdf -- comp

[issue35775] Add a general selection function to statistics

2019-01-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +11337 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue35775] Add a general selection function to statistics

2019-01-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +rhettinger, steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35775] Add a general selection function to statistics

2019-01-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch, patch pull_requests: +11337, 11338 stage: -> patch review ___ Python tracker ___ ___ P

[issue30999] statistics module: add "key" keyword argument to median, mode, ...

2019-01-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: I suggest we closed this issue in favor of #35775 to discuss adding a selection function and the attached PR. -- nosy: +remi.lapeyre ___ Python tracker ___

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset c2647f2e45d2741fc44fd621966e05d15f2cd26a by Victor Stinner (Dong-hee Na) in branch '3.7': bpo-35283: Add pending deprecation warning for Thread.isAlive (GH-11604) https://github.com/python/cpython/commit/c2647f2e45d2741fc44fd621966e05d15f2cd26a

[issue35707] time.sleep() should support objects with __float__

2019-01-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I guess I should wait until PR 11507 is merged, to avoid merge conflicts. -- ___ Python tracker ___ _

[issue35761] Allow dataclasses to be updated in place

2019-01-18 Thread Théophile Chevalier
Théophile Chevalier added the comment: I cannot do self.position = obj because I have references on position elsewhere. -- ___ Python tracker ___ __

[issue35707] time.sleep() should support objects with __float__

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: No please don't wait for my PR 11507. I'm not sure that it's correct, and this bug is more important than NaN/inf :-) -- ___ Python tracker

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Oops, I forgot to attached my test script: create_sparse.py -- Added file: https://bugs.python.org/file48067/create_sparse.py ___ Python tracker

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread Florian Weimer
Florian Weimer added the comment: offsets = ( 4096, 12288, 20480, 28672, 36864, 45056, 53248, 61440, 69632, 77824,) These offsets are less than 64 KiB apart. On systems with a 64 KiB page size, this will not result in a sparse file on tmpfs because the effective block size is the pa

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Ah yes, I confirm that ppc64le uses 64 KiB page size: # python3 Python 3.6.8 (default, Jan 11 2019, 01:44:37) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)] on linux >>> import resource >>> resource.getpagesize() 65536 whereas my x86_64 laptop uses 4 KiB page size:

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11339, 11340, 11341 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11339, 11340 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

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

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: I updated PR 11606 to mention the link between tmpfs and the page size. -- ___ Python tracker ___ ___

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 34de2d312b3687994ddbc29adb66e88f672034c7 by Victor Stinner (Christian Heimes) in branch 'master': bpo-35045: Accept TLSv1 default in min max test (GH-11510) https://github.com/python/cpython/commit/34de2d312b3687994ddbc29adb66e88f672034c7

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +11342, 11343 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +11342, 11343, 11344 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

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

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot, OpenSSL 1.1.1a

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- title: test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot -> test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot, OpenSSL 1.1.1a ___ Python tracker

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is not affected: test_ssl doesn't test minimum_version. -- ___ Python tracker ___ ___

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 doesn't support properly OpenSSL 1.1.1 yet, see: * PR 10607 * PR 10608 I would prefer to have _ssl.OP_ENABLE_MIDDLEBOX_COMPAT rather than have an hardcoded constant in test_ssl. In master, test_ssl has been fixed and the constant has been added b

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Oh, this issue looks like bpo-35045 which has been fixed. -- nosy: +vstinner resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and ope

[issue20479] Efficiently support weight/frequency mappings in the statistics module

2019-01-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20479] Efficiently support weight/frequency mappings in the statistics module

2019-01-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Is this proposal still relevant? If so, I would like to work on its implementation. I think the third proposition to change the API to have a new `weights` parameter is the best has it does not blindly suppose that a tuple is a pair (value, weight) which could

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread miss-islington
miss-islington added the comment: New changeset 6ca7183b3549d3eaa8a0c3b73255eeac24d7974d by Miss Islington (bot) in branch '3.7': bpo-35045: Accept TLSv1 default in min max test (GH-11510) https://github.com/python/cpython/commit/6ca7183b3549d3eaa8a0c3b73255eeac24d7974d -- nosy: +mi

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Thanks Christian. I merged your PR. I like the simplicity of your fix ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30212] test_ssl.py is broken in Centos7

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: @david-cpi: Ping? Can you please try comments in my previous comment? Without feedback from your side, I will close the issue as "outdated" in 2 weeks. -- ___ Python tracker _

[issue21257] Document parse_headers function of http.client

2019-01-18 Thread Brian Curtin
Brian Curtin added the comment: New changeset 478f8291327a3e3ab17b5857699565df43a9e952 by Brian Curtin (Ashwin Ramaswami) in branch 'master': bpo-21257: document http.client.parse_headers (GH-11443) https://github.com/python/cpython/commit/478f8291327a3e3ab17b5857699565df43a9e952 --

[issue30212] test_ssl.py is broken in Centos7

2019-01-18 Thread David Antonio Garcia Campos
David Antonio Garcia Campos added the comment: Hello Victor, I just saw your message. I will try to setup my enviorment and will come back to you. BR David Garcia -- nosy: +David Antonio Garcia Campos ___ Python tracker

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread Tasy
Tasy added the comment: Compiler: $ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4 OS: $ uname -a Linux machine 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Home directory is of type nfs in case that is relevant. I'll try to d

[issue20399] Comparison of memoryview

2019-01-18 Thread Josh Rosenberg
Josh Rosenberg added the comment: The lack of support for the rich comparison operators on even the most basic memoryviews (e.g. 'B' format) means that memoryview is still a regression from some of the functionality buffer offered back in Python 2 ( https://stackoverflow.com/a/13574862/36469

[issue20399] Comparison of memoryview

2019-01-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35776] Virtualenv 16.2.0 Error Finding Pip

2019-01-18 Thread Nazar
New submission from Nazar : Issue resolved by downgrading virtualenv from 16.2.0 to 15.1.0. $ virtualenv -p python my_venv Already using interpreter /usr/bin/python New python executable in /home/your_user_name/my_venv/bin/python Cannot find a wheel for setuptools Cannot find a wheel for pip In

[issue20399] Comparison of memoryview

2019-01-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Josh, could you say what your use case is? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35775] Add a general selection function to statistics

2019-01-18 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34782] Pdb crashes when code is executed in a mapping that does not define `__contains__`

2019-01-18 Thread Henry Chen
Henry Chen added the comment: An attempt to clarify the issue in my own mind: def foo(): # import pdb; pdb.set_trace() exec('pass', {}, FakeContainer()) This function runs successfully. But if you uncomment the pdb line and then step thru in the pdb console, there is an Exception. I

[issue32947] Support OpenSSL 1.1.1

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

[issue32947] Support OpenSSL 1.1.1

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11345, 11346 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue32947] Support OpenSSL 1.1.1

2019-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11345, 11346, 11347 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since it is my fix, I will write the PR. But first, please test part 2, changing '0' to '0:1', just to make sure it works. c1b added 'None,' (for separater bar) after the configdialog entry. When the configdialog entry is removed, the None should be also.

[issue32947] Support OpenSSL 1.1.1

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: On Fedora 29 with OpenSSL 1.1.1 FIPS 11 Sep 2018, test_connect_cadata() of test_ssl fails randomly: --- $ ./python -m test -u all -F -m test_connect_cadata test_ssl Run tests sequentially 0:00:00 load avg: 0.43 [ 1] test_ssl test test_ssl failed -- Traceba

[issue35701] [uuid] 3.8 breaks weak references for UUIDs

2019-01-18 Thread David Heiberg
David Heiberg added the comment: Agreed. I will fix the documentation and submit a PR this weekend hopefully. -- ___ Python tracker ___ ___

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread STINNER Victor
STINNER Victor added the comment: Hum. Are you aware that PGO with GCC is broken on such old and unsupported Ubuntu version? My old note about that: "PGO is broken on Ubuntu 14.04 LTS with GCC 4.8.4-2ubuntu1~14.04: Modules/socketmodule.c:7743:1: internal compiler error: in edge_badness, at

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Cheryl Sabella added the comment: Terry, I've started working on a PR to change menudefs to a dictionary. Since dictionaries are in guaranteed order now, it would be easier to reference the menus by their name instead of an index number. -- ___

[issue35537] use os.posix_spawn in subprocess

2019-01-18 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: >> * pass_fds: there is not API to mark a fd as inheritable (clear O_CLOEXEC >> flag) > POSIX has a bug for this [5]. It's marked fixed, but the current POSIX docs > doesn't reflect the changes. The idea is to make > posix_spawn_file_actions_adddup2() clea

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Since it is my fix, I will write the PR. But first, please test part 2, > changing '0' to '0:1', just to make sure it works. Just tested it and it works fine with slice. Please find the respective diff and options menu displayed as below : git

[issue35776] Virtualenv 16.2.0 Error Finding Pip

2019-01-18 Thread Zachary Ware
Zachary Ware added the comment: virtualenv is not part of the Python standard library; please open an issue on the virtualenv bug tracker (https://github.com/pypa/virtualenv/issues). -- nosy: +zach.ware resolution: -> third party stage: -> resolved status: open -> closed __

[issue33944] Deprecate and remove pth files

2019-01-18 Thread Vedran Čačić
Vedran Čačić added the comment: I have a directory inside my home directory, and inside it I have files with various utilities I have written over the years. So far, whenever I have installed a new version of Python, I have simply put a util.pth into site-packages. If you remove that possibil

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, that sort of change needs an issue for discussion before going very far. I am dubious that it will work (but you can try to show otherwise). 1. overrideRootMenu does an insertion that I don't think you can do with a dict. mainmenu.menudefs[0][1].in

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348, 11349 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348, 11349, 11350 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-18 Thread Tasy
Tasy added the comment: compiling without optimizations worked. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +11351 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +11351, 11352 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch, patch pull_requests: +11351, 11352, 11353 stage: needs patch -> patch review ___ Python tracker ___ _

[issue17005] Add a topological sort algorithm

2019-01-18 Thread Gareth Rees
Gareth Rees added the comment: I approve in general with the principle of including a topological sort algorithm in the standard library. However, I have three problems with the approach in PR 11583: 1. The name "topsort" is most naturally parsed as "top sort" which could be misinterpreted

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'll submit a quick PR as a PoC. Tal emailed with additional ideas about menudefs, so I agree that another issue would probably be suitable for more discussion. I haven't looked at the extensions too closely yet, but the insert you're referring to is actua

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +11354, 11355 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +11354 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +11354, 11355, 11356 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue17005] Add a topological sort algorithm

2019-01-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > 1. The name "topsort" is most naturally parsed as "top sort" which could be > misinterpreted (as a sort that puts items on top in some way). If the name > must be abbreviated then "toposort" would be better. I totally agree that `topsort` is a bad

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 39ed289a3511d2e9bf0950a9d5dc53c8194f61b9 by Terry Jan Reedy in branch 'master': bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614) https://github.com/python/cpython/commit/39ed289a3511d2e9bf0950a9d5dc53c8194f61b9 --

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +11357, 11358, 11359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

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

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +11357, 11358 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

  1   2   >