[issue32722] Mislabeling of a dict comprehension as a generator expression in the tutorial

2018-01-31 Thread Xiang Zhang
Xiang Zhang added the comment: I treat it as an enhancement so only merge it into 3.8. Thanks Soothsayer for the report and Stéphane for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.4,

[issue32722] Mislabeling of a dict comprehension as a generator expression in the tutorial

2018-01-31 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset ab328756d7fd969ee4882458b07892dff135013c by Xiang Zhang (Stéphane Wirtel) in branch 'master': bpo-32722: Remove useless example in the Classes tutorial (#5446)

[issue32739] collections.deque rotate(n=1) default value not documented

2018-01-31 Thread Yang Yu
New submission from Yang Yu : https://docs.python.org/3/library/collections.html#collections.deque rotate() works the same as rotate(1). The documentation did not mention the default for n. -- assignee: docs@python components: Documentation messages: 311403 nosy:

[issue32738] CDLL : Can't find module

2018-01-31 Thread twinkim2
Change by twinkim2 : -- title: CDLL : Can't fine module -> CDLL : Can't find module ___ Python tracker ___

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Nick Coghlan
Nick Coghlan added the comment: A useful heuristic is that if something is named with CapWords, then class-like *usage* is explicitly supported (inheritance, isinstance checks, etc). If it's named with snake_case or wordsruntogether, then calling it is OK, but you may run

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

2018-01-31 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +5293 ___ Python tracker ___ ___

[issue32394] socket lib beahavior change in 3.6.4

2018-01-31 Thread Steve Dower
Steve Dower added the comment: Nice. Think you can turn that into a pull request on GitHub? -- ___ Python tracker ___

[issue32394] socket lib beahavior change in 3.6.4

2018-01-31 Thread Ma Lin
Ma Lin added the comment: Base on Kamil's code, a little improvements. if hasattr(sys, 'getwindowsversion'): WIN_MAJOR, _, WIN_BUILD, *_ = sys.getwindowsversion() if WIN_MAJOR == 10: if WIN_BUILD >= 15063:# Windows 10 1703 pass elif

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-31 Thread Ned Deily
Ned Deily added the comment: Sorry, I think this qualifies as a new feature and thus needs to go in 3.8. Plus it should get a wider review from those with ET experience. Perhaps @scoder would be willing go take a look. -- nosy: +scoder versions: -Python 3.7

[issue32738] CDLL : Can't fine module

2018-01-31 Thread twinkim2
New submission from twinkim2 : I just try to import ./so created by c language. However , if some c function library is added in c souce code such as "fopen" and "sscanf" related with stdio , runtime error is happend like as below.

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread YoSTEALTH
YoSTEALTH added the comment: Actually i don't remember the last time where i saw anyone call a function using a "with" statement. This is very sloppy, sure PEP8 isn't ironclad but this is going to lead to confusion and we might have another case of datetime model

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Josh Rosenberg
Josh Rosenberg added the comment: YoSTEALTH: I think this is one of those cases where the fact of it being a class is incidental; it's used the same as if it were a function, and just happens to be implemented as a class (the docs actually describe it in terms

[issue32737] str.format not producing strings for nan argument in accordance with documentation

2018-01-31 Thread D. Michael Parrish
D. Michael Parrish added the comment: Thank you so much for that reply. Maybe with that I can push for an upgrade. -- ___ Python tracker

[issue32737] str.format not producing strings for nan argument in accordance with documentation

2018-01-31 Thread Zachary Ware
Zachary Ware added the comment: I think you need to clarify with whoever is restricting your Python version which version you can actually use: Python 3.0.1 has been out of support for the better part of 10 years now and hardly anybody ever actually used that

[issue32737] str.format not producing strings for nan argument in accordance with documentation

2018-01-31 Thread D. Michael Parrish
New submission from D. Michael Parrish : >>> version_info (3, 0, 1, 'final', 0) # I know this is an older version---stuck with it at work. # I did not see this issue in the tracker (380 results for nan). # Perhaps there is better documentation for how to use the issue #

[issue32734] Asyncio Lock safety issue (unlimited acquire)

2018-01-31 Thread Bar Harel
Bar Harel added the comment: Alright. Fixed, added tests, news and acks. Besides PR5466, we'll need another one for the 3.6 branch. -- ___ Python tracker

[issue32736] random.triangular yields unexpected distribution when args mixed

2018-01-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, while appreciate the sentiment and how well you articulated it, I'm going to decline this one for the reasons listed in the original discussion at https://bugs.python.org/issue13355 and because it is important to keep

[issue32734] Asyncio Lock safety issue (unlimited acquire)

2018-01-31 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +5292 stage: needs patch -> patch review ___ Python tracker ___

[issue32726] macOS installer and framework enhancements and changes for 3.7.0

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 7fdefac8e8fdca29b329b27e6e50f3b265bd8900 by Ned Deily in branch '3.7': bpo-32726: Build macOS 10.9+ installer with private copy of Tcl/Tk 8.6 https://github.com/python/cpython/commit/7fdefac8e8fdca29b329b27e6e50f3b265bd8900

[issue32726] macOS installer and framework enhancements and changes for 3.7.0

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 1ca2ffdc532622ef001418585c146e6b0f31027f by Ned Deily in branch 'master': bpo-32726: Build macOS 10.9+ installer with private copy of Tcl/Tk 8.6 https://github.com/python/cpython/commit/1ca2ffdc532622ef001418585c146e6b0f31027f

[issue30693] tarfile add uses random order

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 57750be4ad3fa2cfd3473b5be1f1e1a5d0fa9f50 by Ned Deily (Bernhard M. Wiedemann) in branch '3.7': bpo-30693: zip+tarfile: sort directory listing (#2263) https://github.com/python/cpython/commit/57750be4ad3fa2cfd3473b5be1f1e1a5d0fa9f50

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 86fdad093b863db7ef6a3a00c9cff724c09442e7 by Ned Deily (Xiang Zhang) in branch '3.7': bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325)

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 70e304252af34dfde3d89c9a1aa48c0c4af17dd3 by Ned Deily (Cheryl Sabella) in branch '3.7': bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464)

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-31 Thread Ned Deily
Ned Deily added the comment: New changeset 209108bd6997258948d13f48f2b5a2f1220c1a35 by Ned Deily (Stéphane Wirtel) in branch '3.7': bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (#5451)

[issue27428] Document WindowsRegistryFinder inherits from MetaPathFinder

2018-01-31 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch type: -> enhancement ___ Python tracker ___

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2018-01-31 Thread INADA Naoki
INADA Naoki added the comment: ML meant mailing list. There is guide for it. http://devguide.python.org/communication/ If you really want this new API, you can search previous discussion and post new mail with summary of the previous discussion. --

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2018-01-31 Thread Elias Zamaria
Elias Zamaria added the comment: INADA, what is ML? How do I restart the discussion? -- ___ Python tracker ___

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2018-01-31 Thread INADA Naoki
INADA Naoki added the comment: PEP should be accepted before review and merge. So what you can do is restart discussion on ML again. -- nosy: +inada.naoki ___ Python tracker

[issue32735] Typo in f-string example in docs

2018-01-31 Thread STINNER Victor
STINNER Victor added the comment: @Cheryl: I concur with Mariatta, good catch, thanks! -- nosy: +vstinner ___ Python tracker

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- ___ Python tracker ___ ___

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 581ce25e1ffa374e62547ef266b6326bee0c54e5 by Mariatta (Miss Islington (bot)) in branch '3.6': bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464) (GH-5465)

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2018-01-31 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue32730] Allow py launcher to launch other registered Pythons

2018-01-31 Thread Steve Dower
Steve Dower added the comment: Yep, this was part of the plan. Just hasn't happened yet (it probably requires a significant rewrite of the launcher which nobody has volunteered to do or found the time for). I thought I had another open bug on this too... if someone

[issue32736] random.triangular yields unexpected distribution when args mixed

2018-01-31 Thread Edward Preble
New submission from Edward Preble : The random.triangular function produces an unexpected distribution result (instead of an error or warning message) when the order of the 3 arguments are mixed up. Python notebook with demo of issue here:

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset b299393cc372f3ecbef4304f8eaa4c7838e975ca by Mariatta (Cheryl Sabella) in branch 'master': bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464)

[issue32735] Typo in f-string example in docs

2018-01-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +5291 ___ Python tracker ___

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Good catch! I checked my presentation slides (where this example comes from). It appeared that I meant it as %b, so the output should have been `Jan` instead of `January`. But no strong preference, the idea is to demonstrate how

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-31 Thread R. David Murray
R. David Murray added the comment: Thanks, Stéphane. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4, Python 3.5 ___ Python tracker

[issue32689] shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory

2018-01-31 Thread Emily Morehouse
Emily Morehouse added the comment: Ah, you're right. That was a typo when I was redacting my full path. The path object remains unchanged even though the directory has moved. Should have been: >>> import os, pathlib, shutil >>> os.mkdir('test1') >>>

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread YoSTEALTH
YoSTEALTH added the comment: ps, maybe a better name "DisabledZone" ? -- ___ Python tracker ___

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5290 stage: -> patch review ___ Python tracker ___

[issue32735] Typo in f-string example in docs

2018-01-31 Thread Cheryl Sabella
New submission from Cheryl Sabella : On the lexical analysis doc page, in f-strings example, the following example isn't quite right: >>> f"{today:%b %d, %Y}" # using date format specifier 'January 27, 2017' Submitting a patch shortly to use %B instead of %b. --

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-31 Thread R. David Murray
R. David Murray added the comment: New changeset 85a92d00bd278022cc00fda6b124c06f614c5ebb by R. David Murray (Miss Islington (bot)) in branch '3.6': bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (GH-5451) (#5455)

[issue32733] test_coroutines is failed when run with -We

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: Or to use assertWarnsRegex -- ___ Python tracker ___

[issue32733] test_coroutines is failed when run with -We

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: I think assertWarns just handles it. Maybe the test should be converted to use it? -- ___ Python tracker

[issue32733] test_coroutines is failed when run with -We

2018-01-31 Thread Nathaniel Smith
Nathaniel Smith added the comment: Ok, yeah, that's a test that a warning is emitted, which fails when the warning is converted into an error instead. Need to normalize the warnings filter settings inside that test, I guess. How does this not cause the same problem for every

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread YoSTEALTH
YoSTEALTH added the comment: Since "ensure_disabled" is a class https://docs.python.org/3.7/library/gc.html#gc.ensure_disabled it should be "EnsureDisabled" according to https://www.python.org/dev/peps/pep-0008/#class-names -- nosy: +YoSTEALTH

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2018-01-31 Thread Elias Zamaria
Elias Zamaria added the comment: What else needs to be done with this issue? Can someone merge my pull request? -- ___ Python tracker

[issue18876] Problems with files opened in append mode with io module

2018-01-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe Erik opened #20082 for the BufferedWriter bug, so I think this issue can be closed as Resolved? -- nosy: +csabella ___ Python tracker

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Ned Deily added the comment: > Agree that this is invisible enough that no release note is warranted. OK > Can I go ahead and do a reversion on the master branch or I should I wait a > day or so? Please hold off for the moment until the 3.7 branch is announced. It will

[issue32734] Asyncio Lock safety issue (unlimited acquire)

2018-01-31 Thread Yury Selivanov
Change by Yury Selivanov : -- priority: normal -> high stage: -> needs patch type: security -> behavior versions: -Python 3.4, Python 3.5 ___ Python tracker

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Agree that this is invisible enough that no release note is warranted. Can I go ahead and do a reversion on the master branch or I should I wait a day or so? -- assignee: lisroach -> rhettinger

[issue32734] Asyncio Lock safety issue (unlimited acquire)

2018-01-31 Thread Bar Harel
New submission from Bar Harel : Hey guys, I found a pretty dangerous bug that allows acquiring locks in asyncio without them being free. This happens due to double release (calling _wake_up_first) from both release and acquire in case of cancellation. The example I've

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg311359 ___ Python tracker ___

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Ned Deily added the comment: (If anyone downstream is having problems with test aborts, a workaround until b2 is to simply skip test_gc by adding -x test_gc, like: python3.7 -m test -We -x test_gc ) -- ___ Python tracker

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Ned Deily added the comment: (If anyone downstream is having problems with test aborts, a workaround until b2 is to simply skip test_gc by adding -x test_gc, like: python3.7 -m test -We -x test_gc". ) -- ___ Python tracker

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2018-01-31 Thread Yaron de Leeuw
Yaron de Leeuw added the comment: What kind of exception did you have in mind? As the 'someone' you mentioned, I can contribute this. btw, os.getuid() on windows raises an attribute error, so we need to check that too. -- ___

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Ned Deily added the comment: OK, it sounds like we have enough of a consensus to remove it for 3.7.0b2. Unfortunately, 3.7.0b1 is already finished. We are not going to do an emergency brown bag b2 just for this. We could add a warning note to the release notice that is

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I also think this should be reverted if that is still possible. I didn't put in sufficient review effort at the outset. No need to publish embarrassing code, especially for such a minor feature. --

[issue32733] test_coroutines is failed when run with -We

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: Nathaniel, this seems to be related to coro-origin-tracking. -- nosy: +njs ___ Python tracker

[issue32732] LoggingAdapter ignores extra kwargs of Logger#log()

2018-01-31 Thread Cyril Martin
New submission from Cyril Martin : - LoggerAdapter processes only extra kwargs given during its __init__ So extra kwargs, given to Logger#log are ignored when we configure a LoggerAdapter (same for: debug, info, warning etc). - I expect extras are merged. More precisely, I

[issue32733] test_coroutines is failed when run with -We

2018-01-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -We -m test test_coroutines Run tests sequentially 0:00:00 load avg: 0.29 [1/1] test_coroutines Exception ignored in: .corofn at 0x7fc5fc692cb8> Traceback (most recent call last): File

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: > But, more importantly, this is a new feature so it doesn't break any existing > code. I imagine you're almost done with the beta-1 release, Ned, so I'd hate to create more work for you here. Let's release beta-1 as is. > and in that

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Ned Deily
Ned Deily added the comment: > 2. The merged PR crashes on debug build of CPython. Actually, for me, it only crashes on a debug build when using -We with tests, an option I don't normally use, otherwise, I would have noticed it before. And, as noted, few downstream users

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2018-01-31 Thread Yaron de Leeuw
Change by Yaron de Leeuw : -- nosy: +jarondl ___ Python tracker ___ ___ Python-bugs-list

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Yury. -- ___ Python tracker ___

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2018-01-31 Thread Gregory P. Smith
New submission from Gregory P. Smith : This has been true since Python 1.x. getpass.getuser() is documented as "raising an exception" but doesn't specify what exception. On Windows when the environment variables it looks at are not set, an ImportError (!) escapes due to

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: A few thoughts: 1. The merged PR releases GIL for any Python code run in `with gc.ensure_disabled()`. This is just plain wrong. 2. The merged PR crashes on debug build of CPython. 3. I don't actually understand this feature. Our GC

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't understand why PyGILState_Ensure() and PyGILState_Release() are used at all. I think it is better to revert PR 4224 until we understood this code. Currently the code contains a bug which leads to a crash in some

[issue32689] shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory

2018-01-31 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___

[issue25988] collections.abc.Indexable

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c66f9f8d3909f588c251957d499599a1680e2320 by Serhiy Storchaka in branch 'master': bpo-25988: Emit a warning when use or import ABCs from 'collections'. (#5460)

[issue29780] Interpreter hang on self._epoll.poll(timeout, max_ev)

2018-01-31 Thread Niko Fink
Niko Fink added the comment: I recently had a similar issue, a MWE can be found here (and also attached): https://gist.github.com/N-Coder/89b1be8e5cfb83b1b03ade8485676982 As soon as `loop.stop` in loop_stop_problem.py:44 is called in a non-threadsafe way from another

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: > The style issues and missing error checks are easy to address. We're at > 3.7beta1 stage, it is normal to have issues to be cleaned up in a beta > release. I don't understand the code. Please take a look in my PR. --

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-31 Thread Xavier G. Domingo
Change by Xavier G. Domingo : -- nosy: +xgdomingo ___ Python tracker ___ ___

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Gregory P. Smith
Gregory P. Smith added the comment: I would not remove this. It is a new feature, leave it in for 3.7. The style issues and missing error checks are easy to address. We're at 3.7beta1 stage, it is normal to have issues to be cleaned up in a beta release. --

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: IMO this needs to be pulled from 3.7. Ned? -- ___ Python tracker ___

[issue25988] collections.abc.Indexable

2018-01-31 Thread Guido van Rossum
Guido van Rossum added the comment: Good idea, Victor, and thanks for the PR, Serhiy! -- ___ Python tracker ___

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: Just noting here: the original PR was a little bit under-reviewed: return values of C functions were not checked, and the code style was very far from PEP 7. -- ___ Python tracker

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5288 ___ Python tracker ___ ___

[issue32072] Issues with binary plists

2018-01-31 Thread Larry Hastings
Larry Hastings added the comment: Thank you for the fix! I just wish I knew what plists were ;-) -- ___ Python tracker ___

[issue32730] Allow py launcher to launch other registered Pythons

2018-01-31 Thread Peter Suter
New submission from Peter Suter : For example Anaconda Python is registered under HKEY_LOCAL_MACHINE\Software\Python\ContinuumAnalytics\Anaconda36-64\ as described in PEP 514 "Python registration in the Windows registry" . The py launcher from PEP 397 however ignores that

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually raising an exception in PyErr_WarnEx() is not an error, but a standard behavior with corresponding configuration. For now running tests with -We in debug build crashes. $ ./python -We -m test test_gc Run tests

[issue32072] Issues with binary plists

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Larry. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25988] collections.abc.Indexable

2018-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Can't we use the new shiny PEP 562 here to actually emit a warning when > collections.Iterable is used instead of collections.abc.Iterable? PR 5460 implements this. It exposes issues in third-party packages. urllib3 and

[issue25988] collections.abc.Indexable

2018-01-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5287 ___ Python tracker ___ ___

[issue32723] codecs.open silently ignores argument errors

2018-01-31 Thread Xiang Zhang
Xiang Zhang added the comment: Honestly speaking I am not interested in Python3. I think codecs.open will be deprecated one day in Python3 and Victor has raised it long ago. See #8796. And in Python2, codecs.open is still in use. errors could still function when you are

[issue32729] socket error handling needed

2018-01-31 Thread yang
yang added the comment: In the lib/socket.py Inside of readinto function, 576 line needed None type check or something -- ___ Python tracker

[issue32729] socket error handling needed

2018-01-31 Thread yang
Change by yang : -- keywords: +patch pull_requests: +5286 stage: -> patch review ___ Python tracker ___

[issue32729] socket error handling needed

2018-01-31 Thread yang
yang added the comment: If socket error occurred I think it is a timeout error or something. but It's not error raising correctly but IndexError which is not correct error MSG. It will be fixed or None type check needed. -- resolution: -> fixed

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @lisroach A possible test for this is repeat `test_ensure_disabled_thread` with warnings as errors: ```python warnings.filterwarnings('error') ``` and then checking for a `RuntimeWarning` exception instead of the warning. I think

[issue29209] Remove old-deprecated ElementTree features

2018-01-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Serhiy, Did you want to revive this for 3.8? -- nosy: +csabella ___ Python tracker ___

[issue15795] Zipfile.extractall does not preserve file permissions

2018-01-31 Thread ABR
Change by ABR : -- nosy: -arobert ___ Python tracker ___ ___ Python-bugs-list

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-31 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-31 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset ea94fce6960d90fffeeda131e31024617912d231 by Xiang Zhang in branch '3.6': [3.6] bpo-32583: Fix possible crashing in builtin Unicode decoders (GH-5325) (#5459)

[issue15795] Zipfile.extractall does not preserve file permissions

2018-01-31 Thread Étienne Dupuis
Étienne Dupuis added the comment: A workaround is provided here: https://stackoverflow.com/questions/39296101/python-zipfile-removes-execute-permissions-from-binaries -- nosy: +Étienne Dupuis ___ Python tracker

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-31 Thread Xiang Zhang
Change by Xiang Zhang : -- pull_requests: +5285 ___ Python tracker ___ ___

[issue32583] Crash during decoding using UTF-16/32 and custom error handler

2018-01-31 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 2c7fd46e11333ef5e5cce34212f7d087694f3658 by Xiang Zhang in branch 'master': bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325) https://github.com/python/cpython/commit/2c7fd46e11333ef5e5cce34212f7d087694f3658

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2018-01-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Based on Steve's last comment on this issue, should this be closed as 'Out of Date'? -- nosy: +csabella ___ Python tracker

[issue30693] tarfile add uses random order

2018-01-31 Thread Bernhard M. Wiedemann
Bernhard M. Wiedemann added the comment: @Serhiy IMHO, just because we fix one problem, we do not have to fix all other problems at the same time. You can still open a pull-request for the others, but I know too little about those to test them. And having commits pending

  1   2   >