[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset c2870b699eb899f358b843c2d706ce8ca89b2bf4 by Victor Stinner in branch '3.6': bpo-33532: Fix multiprocessing test_ignore() (GH-7262) (#7266) https://github.com/python/cpython/commit/c2870b699eb899f358b843c2d706ce8ca89b2bf4 --

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 82c456fa37d4b87da0d64e574bd8adc665abc4c8 by Victor Stinner in branch '2.7': bpo-33532: Fix multiprocessing test_ignore() (GH-7265) https://github.com/python/cpython/commit/82c456fa37d4b87da0d64e574bd8adc665abc4c8 --

[issue33641] Add links to RFCs

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 0f1a18326902ad3d0a30fdecbe40513cc5d85879 by Miss Islington (bot) in branch '3.7': bpo-33641: Convert RFC references into links. (GH-7103) https://github.com/python/cpython/commit/0f1a18326902ad3d0a30fdecbe40513cc5d85879 -- nosy:

[issue33677] Fix signatures of tp_clear handlers

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset a4dd46a47fe1d4fe1f1738c2f5b3712de41056b9 by Miss Islington (bot) in branch '3.7': bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) https://github.com/python/cpython/commit/a4dd46a47fe1d4fe1f1738c2f5b3712de41056b9

[issue33641] Add links to RFCs

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6901 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33705] Unicode is normalised after keywords are checked for

2018-05-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: Possibly the correct term is canonicalisation rather than normalisation, although I think the two are interchangeable. -- ___ Python tracker

[issue33705] Unicode is normalised after keywords are checked for

2018-05-30 Thread Steven D'Aprano
New submission from Steven D'Aprano : There is a loophole in the Unicode normalisation which allows the creation of names matching keywords. class Spam: locals()['if'] = 1 Spam.퐢퐟# U+1D422 U+1D41F # returns 1 Those two characters are 'MATHEMATICAL BOLD SMALL I' and 'MATHEMATICAL BOLD

[issue32911] Doc strings no longer stored in body of AST

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6900 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32911] Doc strings no longer stored in body of AST

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6899 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33704] python 3.7 and python 3.8 stable release

2018-05-30 Thread Ned Deily
Ned Deily added the comment: We have just updated the release schedule for Python 3.7 to include 3.7.0b5, now available. The 3.7.0 release candidate is now planned for 2018-06-11 with 3.7.0 final to follow on 2018-06-27. We expect 3.7.0 to be adopted quickly but 3.6.x will be still

[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that this will fix your case (there may be other bug in BeautifulSoup4 or other changes in your environment), but it fixed a bug in Python. Thank you for your report. -- resolution: -> fixed stage: patch review -> resolved status:

[issue33641] Add links to RFCs

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0a36ac1a09587735237c5978ebd046313922869c by Serhiy Storchaka in branch 'master': bpo-33641: Convert RFC references into links. (GH-7103) https://github.com/python/cpython/commit/0a36ac1a09587735237c5978ebd046313922869c --

[issue33641] Add links to RFCs

2018-05-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6898 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33677] Fix signatures of tp_clear handlers

2018-05-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6897 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33677] Fix signatures of tp_clear handlers

2018-05-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6896 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33703] Object deletion and re-creation points to same attribute if attribute is a dictionary.

2018-05-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please see https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects -- nosy: +benjamin.peterson resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d5e7556e522f4662ad34b35924b6c76895df340e by Serhiy Storchaka in branch '2.7': bpo-33645: Fix an "unknown parsing error" in the parser. (GH-7119) https://github.com/python/cpython/commit/d5e7556e522f4662ad34b35924b6c76895df340e --

[issue33677] Fix signatures of tp_clear handlers

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a5c42284e69fb309bdd17ee8c1c120d1be383012 by Serhiy Storchaka in branch 'master': bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) https://github.com/python/cpython/commit/a5c42284e69fb309bdd17ee8c1c120d1be383012

[RELEASE] Python 3.7.0b5 bonus beta!

2018-05-30 Thread Ned Deily
A 3.7 update: Python 3.7.0b5 is now the final beta preview of Python 3.7, the next feature release of Python. 3.7.0b4 was intended to be the final beta but, due to some unexpected compatibility issues discovered during beta testing of third-party packages, we decided to revert some changes in how

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 7267 is based on PR 2689, but adds two tests that cover both cases of using webbrowser._synthesize(). -- versions: +Python 2.7, Python 3.6, Python 3.8 ___ Python tracker

[issue33704] python 3.7 and python 3.8 stable release

2018-05-30 Thread Saba Kauser
New submission from Saba Kauser : Hi, I am planning to make new release of python ibm_db driver and I wanted to know the stable versions of python beyond python 3.6. I can see python 3.8 marked as "in development" and I do read that python 3.7.0b4 is the final planned beta release preview.

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6895 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33703] Object deletion and re-creation points to same attribute if attribute is a dictionary.

2018-05-30 Thread Nitin Bhojwani
New submission from Nitin Bhojwani : I observed a strange behaviour while working on a module. This bug is present in multiple python version so seems it is related to core-interpreter. Behaviour can be reproduced by: 1. Create an object and in __init__ of class, we define a dictionary

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-30 Thread R. David Murray
Change by R. David Murray : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 9d273344238330d634acb4a7d427a8fb732ae62e by Miss Islington (bot) in branch '3.7': bpo-33532: Fix multiprocessing test_ignore() (GH-7262) https://github.com/python/cpython/commit/9d273344238330d634acb4a7d427a8fb732ae62e -- nosy:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6894 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6893 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6892 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5d6c7ed5e340b2311a15f34e968d4bef09c71922 by Victor Stinner in branch 'master': bpo-33532: Fix multiprocessing test_ignore() (#7262) https://github.com/python/cpython/commit/5d6c7ed5e340b2311a15f34e968d4bef09c71922 --

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Ben Bacarisse
Steven D'Aprano writes: > On Wed, 30 May 2018 21:53:05 +0100, Ben Bacarisse wrote: > >> Rob Gaddi writes: >> >>> On 05/30/2018 09:34 AM, Paul Rubin wrote: I think Usenet posts are no longer getting forwarded to the mailing list, but now I wonder if this is getting out at all, even to

[issue33640] [EASY DOC] uuid: endian of the bytes argument is not documented

2018-05-30 Thread Farhaan Bukhsh
Change by Farhaan Bukhsh : -- keywords: +patch pull_requests: +6890 stage: -> patch review ___ Python tracker ___ ___

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6889 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: I added more traces to PR 7261 and the bug still occurred on Travis CI. https://travis-ci.org/python/cpython/jobs/385990848 0:05:04 load avg: 42.62 [342/415/1] test_multiprocessing_forkserver failed -- running: test_concurrent_futures (69 sec) child:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > test_multiprocessing_forkserver.test_ignore() failed on Travis CI using PR > 7261: --randseed=7474929. The method failed once when run in parallel, and > then failed again when re-reun in verbose mode. https://travis-ci.org/python/cpython/jobs/385986803

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: test_multiprocessing_forkserver.test_ignore() failed on Travis CI using PR 7261: --randseed=7474929. The method failed once when run in parallel, and then failed again when re-reun in verbose mode. -- ___ Python

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Valentin Zhao
Valentin Zhao added the comment: Hello everyone, do we have a walkaround for this issue now? I barely read your discussion. -- ___ Python tracker ___

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6888 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Notes: * test_ignore() creates a daemonic process (it cannot spawn new processes) * the fork server process is shared between test methods of test_forkserver * multiprocessing.util._exit_function() terminates all daemon processes --

leetv 1.12 released

2018-05-30 Thread Jim Lee
Hello, python-list members! This is my first post.  I have created 'leetv', a Python application.  You can find it at: https://github.com/oregonjim/leetv There are several 'firsts' here (besides my first post...).  This is my first time using Github.  This is my first major Python

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > I added debug traces in PR 7260. test_ignore() failed, but it may be related > to my debug traces, since the failure is different. https://travis-ci.org/python/cpython/jobs/385958924 -- ___ Python tracker

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: I added debug traces in PR 7260. test_ignore() failed, but it may be related to my debug traces, since the failure is different. test_multiprocessing_fork.test_ignore() failure: test_ignore (test.test_multiprocessing_fork.TestIgnoreEINTR) ... parent:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6887 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Chris Angelico
On Thu, May 31, 2018 at 9:34 AM, Cameron Simpson wrote: > On 30May2018 21:29, MRAB wrote: >> >> On 2018-05-30 21:01, Paul St George wrote: >>> >>> Is this equivalent? >>> p = subprocess.Popen('display', + imagepath) >>> >> p = subprocess.Popen(['display', imagepath]) >> >>> so >>> >>> p =

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Steven D'Aprano
On Wed, 30 May 2018 21:53:05 +0100, Ben Bacarisse wrote: > Rob Gaddi writes: > >> On 05/30/2018 09:34 AM, Paul Rubin wrote: >>> I think Usenet posts are no longer getting forwarded to the mailing >>> list, but now I wonder if this is getting out at all, even to usenet. >>> >>> Does anyone see

[issue33702] Add some missings links in production lists and a little polish

2018-05-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6886 stage: -> patch review ___ Python tracker ___ ___

[issue33702] Add some missings links in production lists and a little polish

2018-05-30 Thread Andrés Delfino
New submission from Andrés Delfino : There are some missing links in production lists (try, with, from __future__ import), and function and coroutines definitions production lists have too long lines. PR fixes this and does some polish on whitespace. -- assignee: docs@python

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero
Michael Romero added the comment: * What version of macOS are you using? "Is fully patched" the latest High Sierra? - I've tried the version bundled with MacOS fully patched high sierra, as well as versions downloaded from python.org, Intel, and ActiveState. They all demonstrate the

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero
Michael Romero added the comment: I don't have a minimal failing example as is being requested. What I do have is the smallest version of the code published by Berkeley's AI course that I could find that allows easy demonstration of the issue. "python pacman.py" is enough to demonstrate

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7: https://travis-ci.org/python/cpython/jobs/385458840 Re-running test 'test_multiprocessing_forkserver' in verbose mode == ERROR: test_ignore

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7: https://travis-ci.org/python/cpython/jobs/385474104 Re-running test 'test_multiprocessing_forkserver' in verbose mode == ERROR: test_ignore

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: https://travis-ci.org/python/cpython/jobs/379560387 Re-running test 'test_multiprocessing_forkserver' in verbose mode (...) == ERROR: test_ignore

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: test_ignore() starts to fail more and more often on Travis CI for an unknown reason. https://travis-ci.org/python/cpython/jobs/385562187 == CPU count: 48 (...) Run tests in parallel using 4 child processes (...) 0:07:38 load avg: 128.04 [415/416/1]

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Cameron Simpson
On 30May2018 21:29, MRAB wrote: On 2018-05-30 21:01, Paul St George wrote: Is this equivalent? p = subprocess.Popen('display',  + imagepath) p = subprocess.Popen(['display', imagepath]) so p = subprocess.Popen('display',  'test.png') p = subprocess.Popen(['display', 'test.png'])

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-30 Thread Abhilash Raj
Change by Abhilash Raj : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: Ah! But blank lists aren't. That makes sense! Thank you! -- ___ Python tracker ___ ___

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Pablo Galindo for the new better documentation! (And thanks myself since I wrote the original documentation PR ;-)) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: Davin, Antoine: any idea on this bug? I ran the full test suite and test_multiprocessing_forkserver in parallel in a Trust VM, but I failed to reproduce the bug. I did a similar test in a Ubuntu Trusty docker container: again, I'm unable to reproduce the

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 0e823c6efa4729f3cd19f96af82c673b10cd3ee2 by Miss Islington (bot) in branch '3.7': bpo-31368: Enhance os.preadv() documentation (GH-7254) https://github.com/python/cpython/commit/0e823c6efa4729f3cd19f96af82c673b10cd3ee2 -- nosy:

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-30 Thread R. David Murray
R. David Murray added the comment: It would be odd to do that, since blank values are kept by default. -- ___ Python tracker ___

[issue33690] urlib.parse.urlencode with empty list and doseq=True drops the parameter

2018-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: Would it then make sense to add a similar flag, keep_blank_values, in urlencode to achieve similar behavior as parse_qas? -- ___ Python tracker

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6885 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 02e2a085dc1740b1cbf4ba2ed77335c84ce8a367 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-31368: Enhance os.preadv() documentation (GH-7254) https://github.com/python/cpython/commit/02e2a085dc1740b1cbf4ba2ed77335c84ce8a367 --

Re: Indented multi-line strings (was: "Data blocks" syntax specification draft)

2018-05-30 Thread Peter J. Holzer
On 2018-05-29 07:57:18 -0600, Ian Kelly wrote: > On Tue, May 29, 2018 at 3:19 AM, Peter J. Holzer wrote: > > On 2018-05-23 11:08:48 -0600, Ian Kelly wrote: > >> [...] > > What if I want all lines to start with some white space? [...] > > Fair points. [...] > >> Also, how about using a string

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-33701. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-30 Thread STINNER Victor
New submission from STINNER Victor : https://travis-ci.org/python/cpython/jobs/385458840 0:00:11 load avg: 22.29 [ 23/415/1] test_datetime crashed (Exit code -11) Fatal Python error: Segmentation fault Current thread 0x2b52f7326400 (most recent call first): File

[issue26826] Expose new copy_file_range() syscall in os module.

2018-05-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +6884 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > https://travis-ci.org/python/cpython/jobs/379560387 More info about this failure: == Linux-4.4.0-112-generic-x86_64-with-debian-jessie-sid little-endian == CPU count: 48 Run tests in parallel using 4 child processes (...) 0:07:06 load avg: 24.76

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-05-30 Thread Peter J. Holzer
On 2018-05-29 16:20:36 +, Steven D'Aprano wrote: > On Tue, 29 May 2018 14:04:19 +0200, Peter J. Holzer wrote: > > > The OP has one file. > > We don't know that. All we know is that he had one file which he was > unable to read. For all we know, he has a million files, and this was >

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Ned Deily
Ned Deily added the comment: > Fix in the 3.5 branch which is not allowed as the branch is in "security > only" mode. I think you could appeal to the 3.5 Release Manager that this should go in. Since the 3.5 docs are only rebuilt manually these days (I think), in the worst case the

[issue33590] sched.enter priority has no impact on execution

2018-05-30 Thread Matthew Fisher
Matthew Fisher added the comment: > I did look at the code :-) I also looked at the code. I had to do so to understand why the example output was not "as expected." ;) > I don't agree about the example in the documentation, it is a clear > demonstration about how to use the API in general

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Julien Palard
Julien Palard added the comment: 3rd possibility, docsbuild-scripts could also apply a patch during the doc compilation. -- ___ Python tracker ___

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-30 Thread Steve Dower
Steve Dower added the comment: If your ._pth includes `import site`, then including a blank line in a `anything.pth` file should add the entry. Alternatively, if you can add "import sys; sys.path.insert(0, '')" to the start of your code that depends on it you should be fine. --

[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-30 Thread Julien Palard
New submission from Julien Palard : In the old version picker used back in 3.5 [1], the function patch_url was patching using the following regex: var url_re = /\.org\/(\d|py3k|dev|((release\/)?\d\.\d[\w\d\.]*))\//, which does not expects a language tag. This means, for example, that

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9994eff17f943fb2c190708b12c96fef9838a425 by Victor Stinner in branch '2.7': bpo-33692: pythoninfo detect libedit on Python 2.7 (#7246) https://github.com/python/cpython/commit/9994eff17f943fb2c190708b12c96fef9838a425 --

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: > I used SNDBUF to enforce send buffer overloading. What is that? Would you mind to elaborate? I'm curious :-) -- ___ Python tracker ___

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Peter J. Holzer
On 2018-05-30 10:02:06 -0700, Rob Gaddi wrote: > On 05/30/2018 09:34 AM, Paul Rubin wrote: > > I think Usenet posts are no longer getting forwarded to the mailing > > list, but now I wonder if this is getting out at all, even to usenet. > > > > Does anyone see it? > > > > Can't speak for the

Re: a Python bug report

2018-05-30 Thread Peter J. Holzer
On 2018-05-29 21:34:21 -0400, José María Mateos wrote: > On Wed, May 30, 2018 at 01:07:38AM +, Ruifeng Guo wrote: > > We encountered a bug in Python recently, we checked the behavior for Python > > version 2.7.12, and 3.1.1, both version show the same behavior. Please see > > below the

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Karsten Hilbert
On Wed, May 30, 2018 at 11:01:17PM +0200, Peter J. Holzer wrote: > On 2018-05-30 22:08:45 +0200, Paul St George wrote: > > Ha! No, my question was clumsy. > > > > If I know the name of the viewer that I want to use (say for example: > > ‘ImageMagick’), where do I find the argument that should be

Re: cProfile, timed call tree

2018-05-30 Thread Peter J. Holzer
On 2018-05-30 07:45:07 +0200, dieter wrote: > "Peter J. Holzer" writes: > > On 2018-05-26 07:38:09 +0200, dieter wrote: > >> But, in general, you are right: you cannot reconstruct complete > >> call trees. The reason is quite simple: maintaining information > >> for the complete caller ancestry

[issue31368] Add os.preadv() and os.pwritev()

2018-05-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +6883 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Peter J. Holzer
On 2018-05-30 22:08:45 +0200, Paul St George wrote: > Ha! No, my question was clumsy. > > If I know the name of the viewer that I want to use (say for example: > ‘ImageMagick’), where do I find the argument that should be used in a line > of code such as this: > >

[issue33479] Document tkinter and threads

2018-05-30 Thread Mark Roseman
Mark Roseman added the comment: I've made some changes to what Ivan started, which you can find here: https://github.com/roseman/cpython/tree/tkinter_docs The first two commits are minor updates/improvements not really related to threading, and I suspect are uncontroversial. The last

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Ben Bacarisse
Rob Gaddi writes: > On 05/30/2018 09:34 AM, Paul Rubin wrote: >> I think Usenet posts are no longer getting forwarded to the mailing >> list, but now I wonder if this is getting out at all, even to usenet. >> >> Does anyone see it? > > Can't speak for the mailing list, but this came out to

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread MRAB
On 2018-05-30 21:01, Paul St George wrote: True, but I wanted to have some control over the image window, fullscreen, colour depth, etc. I am also exploring pygame. I will try your suggestion as it is so much simpler. Being a novice, I had been frightened off using shell=True. See

[issue2504] Add gettext.pgettext() and variants support

2018-05-30 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've created a pull request for this based on Éric's patch in 2010. I attempted to incorporate the changes from #29755 into the new functions and tests. I believe these changes take care of items 1 and 2 from msg122439. I haven't tried to address item 3 in

[issue2504] Add gettext.pgettext() and variants support

2018-05-30 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +6882 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Paul St George
Ha! No, my question was clumsy. If I know the name of the viewer that I want to use (say for example: ‘ImageMagick’), where do I find the argument that should be used in a line of code such as this: ImageShow.register(MyViewer("gwenview"), -1) I want to replace ‘gwenview’ with the name of

Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Paul St George
True, but I wanted to have some control over the image window, fullscreen, colour depth, etc. I am also exploring pygame. I will try your suggestion as it is so much simpler. Being a novice, I had been frightened off using shell=True. See

[issue33699] Don't describe try's else clause in a footnote

2018-05-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6881 stage: -> patch review ___ Python tracker ___ ___

[issue33699] Don't describe try's else clause in a footnote

2018-05-30 Thread Andrés Delfino
New submission from Andrés Delfino : This behavior has not changed in 11 years so I think it's safe to describe the "else" clause along the rest of the "try" clause. Attached PR fixes this. -- assignee: docs@python components: Documentation messages: 318205 nosy: adelfino, docs@python

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Peter Otten
Rob Gaddi wrote: > On 05/30/2018 09:34 AM, Paul Rubin wrote: >> I think Usenet posts are no longer getting forwarded to the mailing >> list, but now I wonder if this is getting out at all, even to usenet. >> >> Does anyone see it? >> > > Can't speak for the mailing list, but this came out to

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-30 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29326] Blank lines in ._pth file are not ignored

2018-05-30 Thread Vladimir Chebotarev
Change by Vladimir Chebotarev : -- pull_requests: -6869 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset 7301dd91e8326e9b74932e81f400aaee76d3cda1 by Miss Islington (bot) in branch '3.6': bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) https://github.com/python/cpython/commit/7301dd91e8326e9b74932e81f400aaee76d3cda1

Re: Pink Floyd: is there anybody in here?

2018-05-30 Thread Paul
I see it on the mailing list. Paul C On Wed, May 30, 2018, 10:07 AM Rob Gaddi wrote: > On 05/30/2018 09:34 AM, Paul Rubin wrote: > > I think Usenet posts are no longer getting forwarded to the mailing > > list, but now I wonder if this is getting out at all, even to usenet. > > > > Does anyone

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-30 Thread Vladimir Chebotarev
Change by Vladimir Chebotarev : -- title: `._pth` does not allow to populate `sys.path` empty entry -> `._pth` does not allow to populate `sys.path` with empty entry ___ Python tracker

[issue33696] Install python-docs-theme even if SPHINXBUILD is defined

2018-05-30 Thread miss-islington
miss-islington added the comment: New changeset ea1982a475a619500c93bc3d60c6cb63a202b7ed by Miss Islington (bot) in branch '3.7': bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) https://github.com/python/cpython/commit/ea1982a475a619500c93bc3d60c6cb63a202b7ed

[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2018-05-30 Thread Ammar Askar
Ammar Askar added the comment: If this is actually an issue, and not just a documentation lapse I can create a pull request from my original patch. -- nosy: +ammar2 ___ Python tracker

  1   2   >