[issue32801] Lib/_strptime.py: utilize all()

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just if not any(to_convert): return '' -- nosy: +serhiy.storchaka ___ Python tracker

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-02-09 Thread Cecile Tonglet
Cecile Tonglet added the comment: I see that the patch hasn't been applied to master on GitHub. Is there anything else expected from me on this ticket? -- ___ Python tracker

[issue32813] SSL shared_ciphers implementation wrong - returns configured but not shared ciphers

2018-02-09 Thread Steffen Ullrich
New submission from Steffen Ullrich : The current implementation of shared_ciphers uses the SSL_get_ciphers method. This method returns the list of configured ciphers (i.e. from the context) and not the list of ciphers shared between client and server. To get this list

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Fangyi Zhou for your report and fix. Changes are trivial and didn't require to sign CLA. -- ___ Python tracker

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: critical -> normal ___ Python tracker ___

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5df5286abda57a0b3865d4fc3e25aaf1a820ef49 by Serhiy Storchaka (Zhou Fangyi) in branch 'master': bpo-30688: Import unicodedata only when needed. (GH-5606)

[issue32779] urljoining an empty query string doesn't clear query string

2018-02-09 Thread Paul Fisher
Paul Fisher added the comment: I'm working on a patch for this and can have one up in the next week or so, once I get the CLA signed and other boxes ticked. I'm new to the Github process but hopefully it will be a good start for the discussion. --

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Arka added the comment: @Serhiy No, I wasn't aware of that. @R. David Murray Thank you, David. What you said, makes sense and I agree with you. -- ___ Python tracker

[issue32804] urllib.retrieve documentation doesn't mention context parameter

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list

[issue32801] Lib/_strptime.py: utilize all()

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks straightforward. I believe we normally do not backport this type of change. The tests for _strptime.py are in test_strptime.py, not test__strptime.py. -- nosy: +terry.reedy stage: -> patch review type: -> performance

[issue32800] Replace deprecated link to new page on w3c site

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ah, yes, the 'big red message' nicely gives the replacement. Please submit a PR against master. Include a news blurb if you can (explained in the devguide). If you cannot set the backport labels (I don't know of non-committer author's

[issue32793] smtplib: duplicated debug message

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +giampaolo.rodola versions: -Python 3.4, Python 3.5 ___ Python tracker ___

[issue32786] Didnot work strftime() when hangeul in format sting

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are hundreds of bug fixes in 3.6 that are not in 3.4. If there is a Django version that works with 3.6 and you can otherwise upgrade, think about doing so. -- nosy: +terry.reedy resolution: -> out of date stage: -> resolved

[issue32755] Several cookies with the same name get intermixed

2018-02-09 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list

[issue32782] ctypes: memoryview gives incorrect PEP3118 itemsize for array of length zero

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___

[issue32780] ctypes: memoryview gives incorrect PEP3118 format strings for both packed and unpacked structs

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge versions: -Python 3.4, Python 3.5 ___ Python tracker

[issue32779] urljoining an empty query string doesn't clear query string

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list

[issue32767] Mutating a list while iterating: clarify the docs

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replace 'sequence' with 'collection' and I agree. The for loop code just calls iter() and it.next() until an exception. The behavior of it.next for builtins should be documented with the builtins. (I think there is something already

[issue32812] edited code only runs after closing and re-opening Python.

2018-02-09 Thread Ned Deily
Ned Deily added the comment: OK, since you are using Spyder, you should ask for help with it. On the Spyder project page (https://pythonhosted.org/spyder/index.html), it looks like there is a Spyder forum here: https://groups.google.com/forum/#!forum/spyderlib Trying

[issue32811] test_os.py fails when run in docker container on OSX host

2018-02-09 Thread Ned Deily
Ned Deily added the comment: The test runs fins running natively on the various macOS systems I have access to. I don't have access to a Docker configuration for macOS so I am unable to reproduce and it's not a configuration we explicitly support. Perhaps you can try

[issue32812] edited code only runs after closing and re-opening Python.

2018-02-09 Thread john
john added the comment: I apologize, I'm very new to coding so I'm not very familiar with all the terminologies. I'm user Spyder (Python 3.6) on Windows 10. I run my code in Console via highlighting and Shift + Enter. The steps resulting in the error are very

[issue32812] edited code only runs after closing and re-opening Python.

2018-02-09 Thread Ned Deily
Ned Deily added the comment: You are going to need to be much more specific about exactly what steps you are taking to see the results you are concerned about. Please document what you are typing in, on what platform (OS), and in what context (using IDLE, using an OS shell,

[issue32812] edited code only runs after closing and re-opening Python.

2018-02-09 Thread john
New submission from john : For some reason, whenever I make a change to my code in Python, I have to restart Python for the change to take effect. Otherwise Python just runs whatever the code was when I opened the .py file. Worth noting is that this has not always been

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Ned Deily
Ned Deily added the comment: The buidbots are broken by this. Please fix or revert. -- nosy: +ned.deily priority: normal -> critical ___ Python tracker

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Fangyi Zhou
Change by Fangyi Zhou : -- pull_requests: +5417 ___ Python tracker ___ ___

[issue32766] 4.7.7. Function Annotations

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5 and its docs are frozen except for security patches. The 3.7 doc is identical. The sentence refers to the def statement and perhaps should say so. It should end with 'a required argument, an optional argument, and the return value

[issue32811] test_os.py fails when run in docker container on OSX host

2018-02-09 Thread Alexander Mohr
Alexander Mohr added the comment: btw there are some other tests that fail too after removing that test like: test test_tokenize failed -- Traceback (most recent call last): File "/build/Python-3.6.3/Lib/test/test_tokenize.py", line 1557, in test_random_files

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-02-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +asyncio ___ Python tracker ___ ___

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread fangyizhou
fangyizhou added the comment: Hello This leads to build failures due to circular dependency At generate-posix-vars stage, unicodedata is imported (due to import pprint)but it has not been built due to it being a C module. However, building C modules happen after

[issue32758] Stack overflow when parse long expression to AST

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ditto as to the limit for ast.parse. >>> import ast; ast.parse('+chr(33)'*32000) RESTART: Shell = >>> import ast; ast.parse('+chr(33)'*31000) <_ast.Module object

[issue32811] test_os.py fails when run in docker container on OSX host

2018-02-09 Thread Alexander Mohr
New submission from Alexander Mohr : This test fails when run in a debian docker container from a OSX host with the following error: test test_os failed -- Traceback (most recent call last): File "/build/Python-3.6.3/Lib/test/test_os.py", line 3273, in test_attributes

[issue32758] Stack overflow when parse long expression to AST

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Experimenting on Windows with IDLE's current 3.7 Shell, where a user process crash restarts Shell, compile('+a'*31365, '?', 'eval') consistently gives RecursionError, values a bit larger sometimes crash, and values much larger (32000, at

[issue32769] Add 'annotations' to the glossary

2018-02-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: -> needs patch ___ Python tracker ___ ___

[issue32757] Python 2.7 : Buffer Overflow vulnerability in exec() function

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: #32758 is about situations where stackoverflow *can* occur in 3.x. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32757] Python 2.7 : Buffer Overflow vulnerability in exec() function

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am pretty sure that if one deletes the prefix 'exec(' and suffic ')' and just executes argument expression that has something on the order of 1 chr(nn) calls added together, one would get the same result. In other words, I believe

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-02-09 Thread Anthony Sottile
Anthony Sottile added the comment: Applying this patch makes the tests pass for me, but I don't think the patch is appropriate (just hides the bug): ``` $ git diff diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py index

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-02-09 Thread Anthony Sottile
Anthony Sottile added the comment: Actually, my issue seems to be something more strange. The host being passed in is `localhost` which resolves to: ``` >>> pprint.pprint(socket.getaddrinfo('localhost', 80)) [(, , 6, '', ('127.0.0.1', 80)), (, , 17, '',

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-02-09 Thread Anthony Sottile
Anthony Sottile added the comment: Seeing this as well when running the cpython test suite in docker: ``` $ ./python -m test.test_asyncio ... [18 similar traces omitted] == ERROR:

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list

[issue32755] Several cookies with the same name get intermixed

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for modifying the cpython distribution -- the interpreter, stdlib, doc, and other associated files. Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere. So, the relevant question

[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

2018-02-09 Thread buhtz
Change by buhtz : -- nosy: +buhtz ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Jonathan! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30688] support named Unicode escapes (\N{name}) in re

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a445feb72902e4a3c5ae712f0c289309e1580d52 by Serhiy Storchaka in branch 'master': bpo-30688: Support \N{name} escapes in re patterns. (GH-5588)

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Jake! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 504f19145ca5738162d6a720fa45b364ac8c0384 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5603)

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e7197936c987bdf31b6b7b1dab275d1a762e03b3 by Serhiy Storchaka in branch '2.7': [2.7] bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5604)

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2ef69a1d45de8aa41c45d32d9ee1ff227bb1a566 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5602)

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-02-09 Thread Nathaniel Smith
Change by Nathaniel Smith : -- nosy: +asvetlov, giampaolo.rodola, njs, yselivanov ___ Python tracker ___

[issue32769] Add 'annotations' to the glossary

2018-02-09 Thread Guido van Rossum
Guido van Rossum added the comment: I'm all for adding a bunch of terms related to type hints/annotations to the Glossary. -- ___ Python tracker

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-02-09 Thread Yarko Tymciurak
Change by Yarko Tymciurak : -- nosy: +yarkot ___ Python tracker ___ ___ Python-bugs-list

[issue32750] lib2to3 log_error method behavior is inconsitent with documentation

2018-02-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson versions: -Python 3.4, Python 3.5 ___ Python tracker ___

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-02-09 Thread David Beazley
New submission from David Beazley : Libraries such as Curio and asyncio provide a debugging facility that allows someone to view the call stack of generators/coroutines. For example, the _task_get_stack() function in asyncio/base_tasks.py. This works by manually walking up

[issue32769] Add 'annotations' to the glossary

2018-02-09 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I wanted to say implicitly that I like the idea, and that we should figure out details in a PR. But of course if someone is against this, then we should wait with a PR. -- nosy: +gvanrossum

[issue32769] Add 'annotations' to the glossary

2018-02-09 Thread R. David Murray
R. David Murray added the comment: PRs are for discussing proposed text/code. Discussion of whether or not to do this belongs here. (I have no opinion on this issue myself.) -- nosy: +r.david.murray ___ Python tracker

[issue32158] Suppress (and other contextlib context managers) should work as decorators (where appropriate)

2018-02-09 Thread R. David Murray
R. David Murray added the comment: The designed use case of suppress is to cover a *single line* of python code. It should *not* be a decorator. -- nosy: +r.david.murray ___ Python tracker

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5416 ___ Python tracker ___ ___

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5415 ___ Python tracker ___ ___

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +5414 ___ Python tracker ___

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2411292ba8155327125d8a1da8a4c9fa003d5909 by Serhiy Storchaka in branch 'master': bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601)

[issue32752] no information about accessing typing.Generic type arguments

2018-02-09 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: There is a third party library on PyPI called typing_inspect that provides thin wrappers around internal APIs to get lots of useful information about generics and other special types in typing. If there will be more requests like this,

[issue32769] Add 'annotations' to the glossary

2018-02-09 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: This is a rather small change, so probably it would be easier to discuss it in a PR. -- nosy: +levkivskyi ___ Python tracker

[issue32158] Suppress (and other contextlib context managers) should work as decorators (where appropriate)

2018-02-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: In [this question](https://stackoverflow.com/a/48710609/70170), I encounter another case where a decorator would be useful. Without the decorator: def is_docker(): path = '/proc/self/cgroup' return (

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5413 stage: -> patch review ___ Python tracker ___

[issue30157] csv.Sniffer.sniff() regex error

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since the original author didn't respond for long time I have recreated PR 1273 as PR 5601. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32797] Tracebacks from Cython modules no longer work

2018-02-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I don't think there's a bug in Python here, and that this is a problem that > needs to be solved on the Cython end. I'm not necessarily disagreeing here. It all depends on how ExtensionFileLoader is meant to be used. Should it try

[issue32797] Tracebacks from Cython modules no longer work

2018-02-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Why? What would that help with? PEP 302 says get_source() can return None > [if] no sources are found. Returning None implies that it's absolutely impossible that there are sources to be found. But in certain cases (in the case of

[issue32642] add support for path-like objects in sys.path

2018-02-09 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: > what file(s) is/are the sys.path code located in? If I understand it correctly, sys.path is handled in importlib._bootstrap_external.PathFinder.find_spec(). I can patch PathFinder for handling path-like objects:

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Christian Heigele
Christian Heigele added the comment: @Erik: That looks exactly like my setup, too bad that it's not reproducible:(. I'll try to find other machines in my company that also have the 1709 update already installed, and try to reproduce it there. --

[issue32809] Python 3.6 on Windows problem with source encoding header

2018-02-09 Thread Eryk Sun
Eryk Sun added the comment: zz2_err.py uses LF line endings instead of CRLF line endings. This is incompatible with text mode I/O in Microsoft C, which leads to undefined behavior. See issue 20844 and issue 27797. -- nosy: +eryksun resolution: -> duplicate stage:

[issue32797] Tracebacks from Cython modules no longer work

2018-02-09 Thread Erik Bray
Erik Bray added the comment: On Feb 8, 2018 12:55, "Jeroen Demeyer" wrote: New submission from Jeroen Demeyer : Displaying the source code in tracebacks for Cython-compiled extension modules in IPython no longer works due

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Eryk Sun
Eryk Sun added the comment: Setting CREATE_NEW_CONSOLE in Python isn't the same since Popen explicitly sets the standard handles via STARTUPINFO. I installed TortoiseSVN-1.9.7.27907-x64-svn-1.9.7.msi in Windows 10 release 1709, but I can't reproduce your issue. Does it

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Christian Heigele
Christian Heigele added the comment: @Steve: It's the command line variant delivered with tortoiseSvn, and it happens both in 1.9.7 and 1.9.5 Also it occurs not only with --help but also with the other svn arguments, e.g. up --

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Steve Dower
Steve Dower added the comment: More likely it's set to use the WINDOWS subsystem and the allocates the console when it detects you've passed --help. Is this the regular build of SVN or from one of the GUI tools? -- ___

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Christian Heigele
Christian Heigele added the comment: Fiy: If I explicitly parse the creationflag CREATE_NEW_CONSOLE I see the window popping up on both machines, but only on one I get the correctly filled output. process = subprocess.Popen(['svn.exe', '--help'], stdout=subprocess.PIPE,

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Christian Heigele
Christian Heigele added the comment: That sounds like a hint in the right direction, for tasklist and also other non-windows tools, e.g. git the check_output works fine. Starting it in an administrator prompt however didn't change the behaviour. --

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Eryk Sun
Eryk Sun added the comment: Is it just for this particular svn.exe application, or is it for any application (e.g. tasklist.exe)? The symptoms sound like svn.exe is spawning a new instance of itself with the `CREATE_NEW_CONSOLE` creation flag, which allocates a new

[issue24255] Replace debuglevel-related logic with logging

2018-02-09 Thread Simon Lipp
Change by Simon Lipp : -- nosy: +sloonz ___ Python tracker ___ ___ Python-bugs-list

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread R. David Murray
R. David Murray added the comment: That was kind of an abrupt message, let me be more verbose: thank you for wanting to improve python, but as Serhiy pointed out we already solved the problem you are considering via PEP 519. In addition to that we consider str(x) to

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread R. David Murray
R. David Murray added the comment: This would not be a pythonic API. -- nosy: +r.david.murray resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32809] Python 3.6 on Windows problem with source encoding header

2018-02-09 Thread Michal Niklas
New submission from Michal Niklas : I have strange error with source encoding header. I usually use it from template which looks like: #!/usr/bin/env python # -*- coding: utf8 -*- This works well on Linux machines with Python 2.x and 3.x, but on Windows

[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-02-09 Thread Марк Коренберг
Марк Коренберг added the comment: Actually documented: http://man7.org/linux/man-pages/man2/msync.2.html EINVAL: addr is not a multiple of PAGESIZE; -- nosy: +socketpair ___ Python tracker

[issue32775] fnmatch.translate() can produce a pattern which emits a nested set warning

2018-02-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32775] fnmatch.translate() can produce a pattern which emits a nested set warning

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0e361730b0954f7560640dd932f00f507e328c45 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-32775: Fix regular expression warnings in fnmatch. (GH-5583) (GH-5596)

[issue32585] Add ttk::spinbox to tkinter.ttk

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Alan! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32585] Add ttk::spinbox to tkinter.ttk

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 105fcbfd6a91abea0ecd71e53651f39ad6f6039b by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-32585: Add tkinter.ttk.Spinbox. (GH-5221) (GH-5592)

[issue32775] fnmatch.translate() can produce a pattern which emits a nested set warning

2018-02-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +5412 ___ Python tracker ___

[issue32775] fnmatch.translate() can produce a pattern which emits a nested set warning

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 23cdbfa744f0ec0e9e7575d378df4cb758691cd3 by Serhiy Storchaka in branch 'master': bpo-32775: Fix regular expression warnings in fnmatch. (#5583)

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Arka added the comment: @matrixise Because the bots were saying, 'skip news', 'skip issue' labels are not found. -- ___ Python tracker

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Change by Arka : -- keywords: +patch pull_requests: +5411 stage: -> patch review ___ Python tracker ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are you aware of PEP 519? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue32808] subprocess.check_output opens an unwanted command line window after fall creator update

2018-02-09 Thread Christian Heigele
New submission from Christian Heigele : Hi, I have two machines, both Windows 10, both with python 2.7.12 (bug is also reproducible with 2.7.14), one of them has the Fall creator update (-> version 1709) and one doesn't (->version 1607). When I execute the checkout on

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and currently for the feature, the PR should be based on master and not 3.5 or 3.6. because these branch are only for the security and bugfix modes. Read the devguide at this url: https://devguide.python.org/#status-of-python-branches

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have seen your PR, why did you close it? -- nosy: +matrixise ___ Python tracker ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
New submission from Arka : Add 'str' property to PurePath in PathLib that calls __str__ function and returns the string representation of the path. It is easier to use than str(Path). Many existing methods accept only strings as a path. -- components: +Library

[issue32807] Add

2018-02-09 Thread Arka
Change by Arka : -- nosy: Arka priority: normal severity: normal status: open title: Add ___ Python tracker ___

[issue32806] locally imported modules are unaccessible in lambdas in pdb

2018-02-09 Thread Yuri Kanivetsky
New submission from Yuri Kanivetsky : Consider the following script: # import pdb; pdb.set_trace() # import re def f(): import re print((lambda: re.findall('a', 'aaa'))()) import pdb; pdb.set_trace() print('test') f()

[issue32805] Possible integer overflow when call PyDTrace_GC_DONE()

2018-02-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : PyDTrace_GC_DONE() accepts the argument of type int. But it is called with the sum of collected and uncollectable objects which has type Py_ssize_t and can be larger that maximal int. This produces a compiler warning on

[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2018-02-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: documents that this attribute contains the name of the DNS name that could be used to query for PTR record. That functionality is not well

[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2018-02-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: I different question w.r.t. detection of the clang/llvm version on Apple's system compiler: Is it worthwhile to do so? If the compiler included in the Xcode 9.3 beta (and hence likely the one in Xcode 9.3 final) fixes the

  1   2   >