[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: OS and disk interaction is not something I know a lot about. I don't know how long different OSes take to write things out by themselves, and therefore how much real danger there is of loosing data. However, IDLE is used in places where power is less relia

[issue36810] Recursive type annotations do not work in documentation tests

2019-05-06 Thread Lovasoa
New submission from Lovasoa : When using documentations tests to test a function that uses typing.get_type_hints, an error is thrown. The error is thrown when trying to get the type hints for a class that was defined in a documentation test. I was able to reproduce it both on current and PEP

[issue36800] Invalid coding error hidden on Windows

2019-05-06 Thread Yuval Greenfield
Yuval Greenfield added the comment: Replacing `utf8` with `utf-8` is the best workaround in my situation. Using the `utf8` alias is required to reproduce the issue based on my testing and the cited issue (https://bugs.python.org/issue20844). Thank you for the reference. --

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The io doc says for IOBase flush() Flush the write buffers of the stream if applicable. This does nothing for read-only and non-blocking streams. and for BufferedWriter flush() Force bytes held in the buffer into the raw stream. A BlockingIOError sho

[issue36809] Crash for test test_importlib

2019-05-06 Thread SilentGhost
Change by SilentGhost : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: f.flush() was removed because it is redundant if followed by f.close(). f.close() calls f.flush() internally. f.close() is now called implicitly in __exit__() when exit from the with statement. Guido restores f.flush() because he needs to flush the buffer

[issue36790] test_asyncio fails with application verifier!

2019-05-06 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: +asyncio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1054] scriptsinstall target fails in alternate build dir

2019-05-06 Thread top worker
top worker added the comment: Thank you so much guys... it really helped a lot... amazing post -- nosy: +topworker ___ Python tracker ___ __

[issue36809] Crash for test test_importlib

2019-05-06 Thread Eric Snow
Change by Eric Snow : -- nosy: +brett.cannon, eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28002] Some f-strings do not round trip through Tools/parser/test_unparse.py

2019-05-06 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> eric.smith versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Pyth

[issue30793] Parsing error on f-string-expressions containing strings with backslash

2019-05-06 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to close this. Either this problem is going to be addressed independently of this issue, or it's never going to be fixed. Either way, we don't need this issue to be open in order to come to a resolution. -- resolution: -> postponed stage:

[issue36807] IDLE doesn't call os.fsync()

2019-05-06 Thread Guido van Rossum
Guido van Rossum added the comment: That board implements a USB filesystem that you plug into a computer (via a cable). The control software on the board watches this USB filesystem, and when the "code.py" file changes it reloads that file and executes it with CircuitPython (Adafruit's fork

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2019-05-06 Thread Larry Hastings
Larry Hastings added the comment: New changeset e152169da95b52fa41931572bc90857253c4a5dd by larryhastings (Cheryl Sabella) in branch 'master': bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505) https://github.com/python/cpython/commit/e152169da95b52fa41931572bc9085725

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2019-05-06 Thread Larry Hastings
Larry Hastings added the comment: At last! Thanks for reviving it, Cheryl! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36782] Add tests for the datetime C API

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: I have done PyDateTime_FromDateAndTime. I'm moving on to add PyDateTime_FromDateAndTimeAndFold (plus documentation for fold as requested in https://bugs.python.org/issue36783) before making a PR. -- ___ Python t

[issue20906] Issues in Unicode HOWTO

2019-05-06 Thread Filip Bengtsson
Change by Filip Bengtsson : -- pull_requests: +13019 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue36783] No documentation for _FromXandFold C API functions

2019-05-06 Thread Edison Abahurire
Edison Abahurire added the comment: I'm working on this because I think it should be done complementarily with adding the test for PyDateTime_FromDateAndTimeAndFold at https://bugs.python.org/issue36782. #Pycon2019 sprints -- nosy: +edison.abahurire ___

[issue35393] Typo in documentation

2019-05-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: This doc page was re-written as part of bpo-20906, so I am closing this as out of date. -- nosy: +cheryl.sabella resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Issues in Unicode HOWTO

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-05-06 Thread Steve Dower
Steve Dower added the comment: I think Neil is right, though I believe we'll have a clear enough internal boundary that we should only rarely have to maintain TSS for the sake of legacy callers. The build option should just turn off the entire legacy API, which would also make it easier to r

[issue36798] f-strings do not support top-level :=

2019-05-06 Thread Logan Jones
Logan Jones added the comment: I'm going to try to tackle this. I'm not exactly sure how to go about updating the PEP, but the docs should have a PR in the next 15 minutes or so. -- nosy: +Logan Jones ___ Python tracker

[issue28002] Some f-strings do not round trip through Tools/parser/test_unparse.py

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is the same problem with annotations. >>> from __future__ import annotations >>> def f() -> X[f'''{"'"}''']: pass ... >>> print(f.__annotations__['return']) X[f'{"\'"}'] You can look at https://github.com/berkerpeksag/astor. Maybe this problem is so

[issue33039] int() and math.trunc don't accept objects that only define __index__

2019-05-06 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +13020 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: I can confirm the error is caused by time.localtime(time.time()) as indicated by the related bug. I've also found the crash log. It's in C:\ProgramData\Microsoft\Windows\WER\ReportQueue on my machine. Well, at least that's all I can find. -- Added f

[issue36798] f-strings do not support top-level :=

2019-05-06 Thread Logan Jones
Change by Logan Jones : -- keywords: +patch pull_requests: +13021 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue34682] Typo reports on docs@

2019-05-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: This is a good first issue even though there are multiple changes. Some of the changes are no longer needed since the docs have changed, so please check the current comments and the current docs to see what still needs to be applied. -- keywords: +e

[issue33039] int() and math.trunc don't accept objects that only define __index__

2019-05-06 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Cheryl, thanks for the ping. I wasn't sure my patch was correct but reading typeobject.c:add_operators(), it is actually more straight-forward than I thought. Serhiy Storchaka: This is indeed a duplicate of issue20092. I believe the solution proposed by N

[issue33340] Inaccurate docs on `import` behaviour

2019-05-06 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +brett.cannon type: behavior -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___

[issue34682] Typo reports on docs@

2019-05-06 Thread Divya Gorantla
Divya Gorantla added the comment: I'll be working on this issue -- nosy: +divyag ___ Python tracker ___ ___ Python-bugs-list mailin

[issue36811] Warning when compiling _elementree.c

2019-05-06 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi Stefan, When I compile the last master, I get this warning. Could do you try? Thanks /home/stephane/src/github.com/python/cpython/Include -I/home/stephane/src/github.com/python/cpython -c /home/stephane/src/github.com/python/cpython/Modules/_elementt

[issue33039] int() and math.trunc don't accept objects that only define __index__

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then let to continue the discussion on the older issue which has larger discussion. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> type() constructor should bind __int__ to __index__ when __index

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2019-05-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +13022 stage: test needed -> patch review ___ Python tracker ___ ___

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2019-05-06 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- pull_requests: +13023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also the discussion on the duplicated issue33039. Few months ago I wrote the PR that makes constructors of int, float and complex to fall back to __index__ if corresponding special methods __int__, __float__ and __complex__ are not defined. I did not e

[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames

2019-05-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: And another solution, you could use the pathlib.Path class for your project. Have a nice day, -- ___ Python tracker ___

[issue35534] SIGSEGV in stackdepth_walk

2019-05-06 Thread anthony shaw
anthony shaw added the comment: stackdepth_walk no longer exists in Python 3, this is a 2.7 specific issue. opcode_stack_effect in compile.c will have the expected stack effect. If there is a mismatch between the Opcodes compiled with the distribution and the ones in the compile.c opcode_sta

[issue28002] Some f-strings do not round trip through Tools/parser/test_unparse.py

2019-05-06 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: The issue is also present in Astor: Python 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> tree = ast.parse(""" ... f'''{"'"}''' ... "

[issue36811] Warning when compiling _elementree.c

2019-05-06 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +13024 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames

2019-05-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I would like to have the advices of Serhiy. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue29164] make test always fail at 218/405 ( AssertionError: ', ' not found in '1234.5' )

2019-05-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'm going to close this as out of date since the OP didn't provide the requested additional information. Please re-open if it can still be recreated. -- nosy: +cheryl.sabella resolution: -> works for me stage: -> resolved status: open -> closed __

[issue36780] Interpreter exit blocks waiting for futures of shut-down ThreadPoolExecutors

2019-05-06 Thread Brian Quinlan
Brian Quinlan added the comment: >> The current behavior is explicitly documented, so presumably >> it can't be (easily) changed And it isn't clear that it would be desirable to change this even if it were possible - doing structured resource clean-up seems consistent with the rest of Python

[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Stéphane. The boolean option for changing the type of the returned value is considered a bad design. -- ___ Python tracker __

[issue34214] Pylint recusion stack overflow abort

2019-05-06 Thread anthony shaw
anthony shaw added the comment: I agree with Jerome, that handling recursion errors is a part of a 3rd party package and not a bug with CPython. -- nosy: +anthony shaw ___ Python tracker ___

[issue36812] posix_spawnp returns error when used with file_actions

2019-05-06 Thread Matthew Tanous
New submission from Matthew Tanous : Ran into this on macOS while trying to play around with the new posix_spawn bindings. It appears to me that the file_actions path is not what is being used by file_actions here. It may be that I am misunderstanding something, but I thought I would bring i

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13025 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36813] QueueListener not calling task_done upon termination

2019-05-06 Thread Bar Harel
New submission from Bar Harel : QueueListener does not call task_done upon termination, causing an unsuspecting thread to deadlock. Steps to reproduce: >>> import queue >>> q = queue.Queue() >>> from logging.handlers import QueueListener >>> h = QueueListener(q) >>> h.start() >>> h.stop() # G

[issue34214] Pylint recusion stack overflow abort

2019-05-06 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you for the research. I'm closing this as third party. -- nosy: +cheryl.sabella resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: Paul Monson: I'm unable to reproduce exactly your issue, but I tried to reproduce it partially using PYTHONIOENCODING=cp65001. My PR 13110 avoids "import functools" at startup. Can you please try it and check if it fix test_site? -- ___

[issue36813] QueueListener not calling task_done upon termination

2019-05-06 Thread SilentGhost
Change by SilentGhost : -- nosy: +rhettinger stage: -> needs patch versions: -Python 3.6, Python 3.9 ___ Python tracker ___ ___ Py

[issue36717] Allow retrieval of return value from the target of a threading.Thread

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

[issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

2019-05-06 Thread redshiftzero
Change by redshiftzero : -- keywords: +patch pull_requests: +13026 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread Matthew Tanous
New submission from Matthew Tanous : Allowing posix_spawn file_actions to default to None works, but explicitly setting it throws a TypeError: Python 3.8.0a3 (v3.8.0a3:9a448855b5, Mar 25 2019, 17:05:20) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for

[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames

2019-05-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution but as discussed in this issue, we prefer to have a new function and not a new boolean flag. Here is my suggestions. * Create an other PR where you add a new function * Change the title of this issue. Thank you -- _

[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames

2019-05-06 Thread CJ Kucera
CJ Kucera added the comment: Will do, thanks for the input! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue31372] Add SSLSocket.get_verify_result()

2019-05-06 Thread anthony shaw
anthony shaw added the comment: Please review the PR again, some of the code no longer applies as it targets master and the PR is quite old. -- nosy: +anthony shaw ___ Python tracker ___

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: So does that mean that simply doing: import locale, time locale.setlocale(locale.LC_ALL, 'de_DE') time.localtime(time.time()) is enough to trigger the heap corruption? If yes, then what is the output of: import locale, time locale.setlocale(locale.LC_ALL, 'de

[issue36022] [Security] logging.config should not use eval()

2019-05-06 Thread Logan Jones
Logan Jones added the comment: I'd like to work on this during the Pycon sprints -- nosy: +loganasherjones ___ Python tracker ___ _

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: import time, locale locale.setlocale(locale.LC_ALL, 'de_DE') 'de_DE' time.strftime("%Z") aborted (disconnected) -- ___ Python tracker ___

[issue36766] Typos in docs and code comments

2019-05-06 Thread Dustin Mendoza
Dustin Mendoza added the comment: I'd like to work on this for the mentored Sprints -- nosy: +Giant_Robato ___ Python tracker ___ _

[issue36777] unittest discover throws TypeError on empty packages

2019-05-06 Thread Gus Goulart
Gus Goulart added the comment: Confirming that the issue seems to have been introduced on 3.7. Working on this at the PyCon US 2019 sprints. -- nosy: +gus.goulart ___ Python tracker

[issue29075] Remove Windows Vista support

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate of bpo-32592 which has a longer history. -- nosy: +vstinner resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Drop support of Windows Vista in Python 3.8 _

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: Victor: > cp65001 is *not* utf-8: Microsoft decided to handle surrogates differently > for some reasons. Eryk: > Do you mean valid UTF-16 surrogate pairs? (...) Code page 65001 handles lone surrogate differently on Windows XP and older. It changed in Window

[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-29075 as duplicate of this issue. IMHO it's too late to remove code from Python 3.8. We are too close from the feature freeze: removing Vista code is a risk of introducing subtle issue. I prefer to now wait for Python 3.9. It's not like the "dea

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

2019-05-06 Thread anthony shaw
anthony shaw added the comment: PR GH-5062 is still open in GitHub, is this PR still required? -- nosy: +anthony shaw ___ Python tracker ___ __

[issue31841] Several methods of collections.UserString do not return instances of UserString or its subclasses

2019-05-06 Thread anthony shaw
anthony shaw added the comment: This issue has been open for some time and the PR references an upstream branch that no longer exists. Can this request be closed, or has the conversation yet to be resolved? -- nosy: +anthony shaw ___ Python tracker

[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: Before Vista, the code page 65001 behaved differently than official UTF-8 codec. Vista changed that. Maybe it's time to remove Lib/encodings/cp65001.py and make it an alias to utf_8 codec: see https://bugs.python.org/issue36778#msg341531 -- ___

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

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: > PR GH-5062 is still open in GitHub, is this PR still required? It's not. I closed it, thanks. -- ___ Python tracker ___ __

[issue36811] Warning when compiling _elementree.c

2019-05-06 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 6b95149eccac540a911a5ada03fcb7d623a0de37 by Stefan Behnel in branch 'master': bpo-36811: Fix a C compiler warning in _elementtree.c. (GH-13109) https://github.com/python/cpython/commit/6b95149eccac540a911a5ada03fcb7d623a0de37 -- __

[issue36275] DOC: venv.create doesn't include prompt parameter

2019-05-06 Thread Sebastian Koslowski
Sebastian Koslowski added the comment: I would like to work on this. -- nosy: +skoslowski ___ Python tracker ___ ___ Python-bugs-li

[issue36811] Warning when compiling _elementree.c

2019-05-06 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks for the report. In simple cases like this, I think it's fine to comment in the original ticket and/or pull request. There's no real need for a dedicated ticket, at least not before an official release. -- resolution: -> fixed stage: patch revi

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-05-06 Thread anthony shaw
anthony shaw added the comment: This discussion is inconclusive and targets an old version of CPython, can this issue be closed? -- nosy: +anthony shaw ___ Python tracker ___

[issue36815] test_socket test_host_resolution_bad_address test failure

2019-05-06 Thread Pam McA'Nulty
New submission from Pam McA'Nulty : - Cloned a new cpython onto my new MacOS system (Mojave 10.14.4) - built as per https://devguide.python.org/ - test failure: ``` ./python.exe -m test -j3 test_socket Run tests in parallel using 3 child processes 0:00:24 load avg: 0.88 [1/1/1] test_socket fail

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread STINNER Victor
Change by STINNER Victor : -- title: zipfile.writestr causes a Python crash on Windows if the locale is set -> [Windows] time: crash on formatting time with de_DE locale ___ Python tracker __

[issue36813] QueueListener not calling task_done upon termination

2019-05-06 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +13027 stage: needs patch -> patch review ___ Python tracker ___ ___ Python

[issue36815] Test Failure MacOS : test_socket test_host_resolution_bad_address

2019-05-06 Thread Pam McA'Nulty
Change by Pam McA'Nulty : -- title: test_socket test_host_resolution_bad_address test failure -> Test Failure MacOS : test_socket test_host_resolution_bad_address ___ Python tracker _

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-06 Thread Łukasz Langa
Łukasz Langa added the comment: This deadlock is a release blocker for 3.8.0. FTR, I don't consider it blocking alphas and betas. -- ___ Python tracker ___ ___

[issue36809] Crash for test test_importlib

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: Hi Furzoom. Would you mind to provide more info about what you are trying to do? What is your operating system? How did you download Python? How did you compile Python? What is your operating system? Can you show the command that you used to run tests?

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2019-05-06 Thread Brian Quinlan
Brian Quinlan added the comment: If no one has short-term plans to improve multiprocessing.connection.wait, then I'll update the docs to list this limitation, ensure that ProcessPoolExecutor never defaults to >60 processes on windows and raises a ValueError if the user explicitly passes a la

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-05-06 Thread anthony shaw
anthony shaw added the comment: Closing issue, PR branch has since been removed and targets Python 3.4 -- nosy: +anthonypjshaw resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue31841] Several methods of collections.UserString do not return instances of UserString or its subclasses

2019-05-06 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- pull_requests: -4438 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36815] Test Failure MacOS : test_socket test_host_resolution_bad_address

2019-05-06 Thread SilentGhost
SilentGhost added the comment: This could happen depending on you ISP behaviour. In any case this looks like a duplicate of issue 34105. -- nosy: +SilentGhost resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_socket.test_host_resolution_bad_addr

[issue36811] Warning when compiling _elementree.c

2019-05-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Sure, you are right but I was working on an issue with Julien Palard. next time I will fix it myself. Thanks -- ___ Python tracker ___

[issue36813] QueueListener not calling task_done upon termination

2019-05-06 Thread Bar Harel
Bar Harel added the comment: Alright, patch submitted. Shall I add regression tests? -- ___ Python tracker ___ ___ Python-bugs-list

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2019-05-06 Thread Brian Quinlan
Change by Brian Quinlan : -- assignee: -> bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36582] collections.UserString encode method returns a string

2019-05-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is an easy issue. The relevant code is at https://github.com/python/cpython/blob/cec01849f142ea96731b4725975b89d3af757656/Lib/collections/__init__.py#L1210 where the encoded result has to be fixed. Trey, if you haven't started working

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-06 Thread Dmitry Kazakov
Change by Dmitry Kazakov : -- pull_requests: -4870 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36275] DOC: venv.create doesn't include prompt parameter

2019-05-06 Thread Sebastian Koslowski
Change by Sebastian Koslowski : -- keywords: +patch pull_requests: +13028 stage: needs patch -> patch review ___ Python tracker ___

[issue36582] collections.UserString encode method returns a string

2019-05-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue30668] DOC: missing word in license.rst

2019-05-06 Thread Patrick Muehlbauer
Change by Patrick Muehlbauer : -- keywords: +patch pull_requests: +13029 stage: needs patch -> patch review ___ Python tracker ___ _

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Ok, now let's try it using the C runtime directly: import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_string_buffer(1024) tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1) print('count:', libc.strftime(buf, 1024, b'%Z', tm)) print('value:'

[issue36766] Typos in docs and code comments

2019-05-06 Thread Dustin Mendoza
Change by Dustin Mendoza : -- keywords: +patch pull_requests: +13030 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_string_buffer(1024) tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1) print('count:', libc.strftime(buf, 1024, b'%Z', tm)) print('value:', buf.value) count: 28 value: b'Mitteleurop\xe4isc

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy -patch stage: patch review -> needs patch versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ _

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2019-05-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, I have closed the PR because there is no feedback from deliverance and the CLA must be signed for the processing. Once the CLA will be signed, the PR could be re-opened. Thank you so much, -- nosy: +matrixise versions: -Python 3.6 ___

[issue30668] DOC: missing word in license.rst

2019-05-06 Thread Patrick Muehlbauer
Patrick Muehlbauer added the comment: Hi, first time contributor here :) I opened a PR for this as part of the Pycon 2019 sprints. -- nosy: +treebee ___ Python tracker ___ __

[issue28866] Type cache is not correctly invalidated on a class defining mro()

2019-05-06 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +13031 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-05-06 Thread STINNER Victor
STINNER Victor added the comment: Please don't close an issue too fast. The PR 1368 is still open and contains valuable code. Moreover, I don't see anyone here saying that the feature is a bad idea. The feature has not been implemented, so the issue should remain open, even if PR 1368 is ou

[issue27497] csv module: Add return value to DictWriter.writeheader

2019-05-06 Thread MICHAEL BLAHAY
MICHAEL BLAHAY added the comment: I would like to drive this to conclusion since it appears this issue has not had any real activity in a while. First thing that needs to be determined is whether this enhancement is still desirable. Who can answer this? -- nosy: +MICHAEL BLAHAY

[issue36798] f-strings do not support top-level :=

2019-05-06 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ae2c32f32b61f3b141ba4b0b1ad71781d2f9a1a1 by Guido van Rossum (Logan Jones) in branch 'master': bpo-36798: Updating f-string docs for := use case (GH-13107) https://github.com/python/cpython/commit/ae2c32f32b61f3b141ba4b0b1ad71781d2f9a1a1 ---

[issue27497] csv module: Add return value to DictWriter.writeheader

2019-05-06 Thread SilentGhost
SilentGhost added the comment: Michael, there is a up-to-date PR that's waiting for approval. -- nosy: +SilentGhost ___ Python tracker ___

[issue36798] f-strings do not support top-level :=

2019-05-06 Thread Guido van Rossum
Guido van Rossum added the comment: PEP and docs have been amended. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

  1   2   3   4   >