[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset 8899b11b95f08e2e03478f2acad336ad5933a2d1 by Miss Islington (bot) in branch '3.8': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [streams] (GH-13671)

[issue37159] Use copy_file_range() in shutil.copyfile() (server-side copy)

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: Oh, I already created https://bugs.python.org/issue37157 Can we move the discussion there? -- ___ Python tracker ___

[issue36827] Overriding __new__ method with itself changes behaviour of the class

2019-06-05 Thread orlnub123
orlnub123 added the comment: The comments in object's source explain the rationale behind this: /* You may wonder why object.__new__() only complains about arguments when object.__init__() is not overridden, and vice versa. Consider the use cases: 1. When neither is overridden, we

[issue37120] Provide knobs to disable session ticket generation on TLS 1.3

2019-06-05 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Regarding your comment on client_context.num_ticket getter: IMHO it's not a > good idea to raise an exception on attribute access. It may break > introspection. Hmm, I see what you mean. Basically my intuition is: it's a bit weird to make the

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mark, I think you can reopen the PR and merge it in 3.9 now. As for my proposition to use the FutureWarning first, I think it is not necessary. The behavior change is very subtle and will affects only int subclasses with overridden __index__. Similar

[issue37160] thread native id netbsd support

2019-06-05 Thread David Carlier
Change by David Carlier : -- components: Interpreter Core nosy: David Carlier priority: normal pull_requests: 13714 severity: normal status: open title: thread native id netbsd support versions: Python 3.9 ___ Python tracker

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-06-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please keep it until new streams will be documented. -- ___ Python tracker ___ ___

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You need to use the PEP 570 syntax if your function/method have a var-keyword parameter, takes arbitrary keyword arguments, and has other parameters beside the var-keyword parameter ("self" counts). And of course the minimal supported Python version

[issue37159] Use copy_file_range() in shutil.copyfile() (server-side copy)

2019-06-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: issue37157 is for reflink / CoW copy, this one is not. -- ___ Python tracker ___ ___

[issue36894] test_multiprocessing_spawn regression on Windows

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. -- nosy: +vstinner resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37138] PEP 590 method_vectorcall calls memcpy with NULL src

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34037] asyncio: BaseEventLoop.close() shutdowns the executor without waiting causing leak of dangling threads

2019-06-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: I prefer postponing to think about it until all required 3.8 tasks are done :) -- ___ Python tracker ___

[issue37159] Use copy_file_range() in shutil.copyfile() (server-side copy)

2019-06-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Nope, it doesn't (see man page). We can simply use FICLONE (cp does the same). -- ___ Python tracker ___

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: > This initial patch provides a callback=None parameter in case the CoW > operation fails because not supported by the underlying filesystems but this > is debatable because we can get different errors depending on the platform > (which is not good). As

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2019-06-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > I'm not sure that attempt to call unlink() if FICLONE fails is a good idea Agreed. > I dislike the *fallback* parameter of reflink(). Me too. A specific exception is better. > Why not exposing clonefile() as os.clonefile() but os._clonefile()?

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a bug. I intentionally committed the simpler code, but forgot to fix it later. -- type: -> behavior versions: +Python 3.9 ___ Python tracker

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Matthias Klose
New submission from Matthias Klose : compared to 3.8 alpha4, beta1's importlib has three new dependencies csv, email and zipfile. Is this intended, or should the toplevel imports in importlib.metadata be moved into the functions where these are once used? -- components: Library

[issue35537] use os.posix_spawn in subprocess

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: Python 3.8 beta 1 is released with this feature. I documented the change. Thnaks everybody who was involved to make this possible. I close the issue. Open new issues for follow-up. -- resolution: -> fixed stage: patch review -> resolved status:

[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: It seems like this issue can now be closed, no? -- nosy: +vstinner ___ Python tracker ___ ___

[issue37098] test_memfd_create() test failure

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37154] test_utf8_mode: test_env_var() fails on AMD64 Fedora Rawhide Clang Installed 3.7

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: The locales disappeared from this buildbot because of a recent glibc change and it's a glibc bug (it's being fixed). https://bugzilla.redhat.com/show_bug.cgi?id=1716710 -- ___ Python tracker

[issue37011] pdb: restore original tracing function instead of sys.settrace(None)

2019-06-05 Thread daniel hahler
daniel hahler added the comment: Just for reference: I've just spent quite some time debugging missing coverage with pytest, and it turned out that part of it is because of this issue. Most of the pdb related tests run in a subprocess (via pexpect), but not all of them. I am using a

[issue37154] test_utf8_mode: test_env_var() fails on AMD64 Fedora Rawhide Clang Installed 3.7

2019-06-05 Thread Florian Weimer
Florian Weimer added the comment: Just to be clear: glibc-all-langpacks normally contains the data from glibc-langpack-en, but a packaging bug caused removal of the /usr/lib/locale/locale-archive file during upgrades. This only applies to upgrades. New installations are fine. Details

[issue37005] bz2 module doesn't write end-of-stream marker

2019-06-05 Thread Dobatymo
Change by Dobatymo : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34767] Optimize asyncio.Lock

2019-06-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Zackery! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13716 pull_request: https://github.com/python/cpython/pull/13838 ___ Python tracker ___

[issue26836] Add memfd_create to os module

2019-06-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +13717 pull_request: https://github.com/python/cpython/pull/13839 ___ Python tracker ___

[issue26836] Add memfd_create to os module

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset ccf0efbb21f6bbf6efd5f8cb560fed11079ce1a2 by Miss Islington (bot) (Victor Stinner) in branch 'master': bpo-26836: Document os.memfd_create() name parameter (GH-13838)

[issue37161] Pre-populate user editable text in input()

2019-06-05 Thread Steven D'Aprano
New submission from Steven D'Aprano : When asking for user input, it is often very helpful to be able to pre-populate the user's input string and allow them to edit it, rather than expecting them to re-type the input from scratch. I propose that the input() built-in take a second optional

[issue26836] Add memfd_create to os module

2019-06-05 Thread Christian Heimes
Christian Heimes added the comment: Yes, the feature is implemented and buildbots are green. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34767] Optimize asyncio.Lock

2019-06-05 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2019-06-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Adding a new patch (still a PoC, will create a PR when I have something more solid). -- Added file: https://bugs.python.org/file48393/cow2.diff ___ Python tracker

[issue34767] Optimize asyncio.Lock

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset 9aa78566fbeeb8cdaa669ad22f92cf63765f4135 by Miss Islington (bot) (Zackery Spytz) in branch 'master': bpo-34767: Do not always create a collections.deque() in asyncio.Lock() (GH-13834)

[issue34767] Optimize asyncio.Lock

2019-06-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +13715 pull_request: https://github.com/python/cpython/pull/13837 ___ Python tracker ___

[issue37159] Use copy_file_range() in shutil.copyfile() (server-side copy)

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: > issue37157 is for reflink / CoW copy, this one is not. Oh sorry, it seems like I misunderstood copy_file_range(). So it doesn't use/support CoW? -- ___ Python tracker

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: cow.diff: I'm not sure that attempt to call unlink() if FICLONE fails is a good idea. unlink() can raise a new exception which can be confusing. IMHO it's up to the caller to deal with that. Said differently, I dislike the *fallback* parameter of reflink().

[issue34767] Optimize asyncio.Lock

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset 87a865ec15fa899a1f12be81f41a4c5e649a2833 by Miss Islington (bot) in branch '3.8': bpo-34767: Do not always create a collections.deque() in asyncio.Lock() (GH-13834)

[issue30835] AttributeError when parsing multipart email with invalid non-decodable Content-Transfer-Encoding

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset f62a372928fbf6a2ba722f12f069b75ca6ad16fb by Miss Islington (bot) in branch '3.7': bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598) https://github.com/python/cpython/commit/f62a372928fbf6a2ba722f12f069b75ca6ad16fb

[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> from dataclasses import * >>> @dataclass ... class D: ... obj: object ... >>> replace(D(123), obj='abc') Traceback (most recent call last): File "", line 1, in TypeError: replace() got multiple values for argument 'obj' -- components:

[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset b496c2672131ea51a55b5a414aeda271562f18d3 by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-26836: Document os.memfd_create() name parameter (GH-13838) (GH-13839)

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to make FD_SETSIZE configurable at runtime, at least on Windows? IMHO it would be a better approach. -- ___ Python tracker

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-06-05 Thread Michael Felt
Michael Felt added the comment: On 05/06/2019 07:07, Tal Einat wrote: > Tal Einat added the comment: > > Michael, your willingness to help, and the work on this issue and PR, are > greatly appreciated! > > Reading through the discussion here again, and the one referenced by Ned, I > tend to

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37157] shutil: add reflink=False to file copy functions to control clone/CoW copies (use copy_file_range)

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: I'm curious: is it possible to query the filesystem to check if a copied is copied using CoW? I guess that it's possible, it will be non portable. So I guess that it's better to avoid checking that in unit tests. vstinner@apu$ dd if=/dev/urandom of=urandom

[issue33725] Python crashes on macOS after fork with no exec

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: > Thanks Victor. I don’t think “reliable” is strong enough, since this will > definitely lead to core dumps under certain conditions. What about: (...) That sounds better: I wrote PR 13841. -- ___ Python tracker

[issue33725] Python crashes on macOS after fork with no exec

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13718 pull_request: https://github.com/python/cpython/pull/13841 ___ Python tracker ___

[issue36935] bpo-35813 introduced usage of the deprecated PyErr_SetFromWindowsErrWithUnicodeFilename() function

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue22117] Rewrite pytime.h to work on nanoseconds

2019-06-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Commenting closed issues is not the most efficient way to get an answer ;-) Serious question: why is that? I got an email from bugs.python.org with your comment, so why should commenting on closed issues be any worse than commenting on open issues?

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Andrei Zene
Andrei Zene added the comment: We would also need this limit to be raised. We are using a server that was implemented using tornado, and tornado uses select.select. > It looks like Modules/selectmodule.c already has the handling for when this > gets large (and we really want to stop

[issue36675] Doctest directives and comments missing from code samples

2019-06-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: ;tldr; There is a global configuration flag to show all the doctest directives for all the docs that are built. The default is to suppress the doctest directives. If a global setting isn't desired, then each doctest example will have to be changed

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Andrei Zene
Change by Andrei Zene : -- keywords: +patch pull_requests: +13719 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13842 ___ Python tracker ___

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Andrei Zene
Andrei Zene added the comment: > Would it be possible to make FD_SETSIZE configurable at runtime, at least on > Windows? IMHO it would be a better approach. That would be awesome, but it doesn't look like it would be possible. As I have already pointed out in my previous comment: > I'm not

[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-05 Thread Eric V. Smith
Eric V. Smith added the comment: Possibly a use for positional-only parameters. Backward compatibility is the question, of course. -- ___ Python tracker ___

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: > This is a bug. I intentionally committed the simpler code, but forgot to fix > it later. I suggest to also apply the fix to 3.8 in that case. -- ___ Python tracker

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22117] Rewrite pytime.h to work on nanoseconds

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: @Jeroen Demeyer: Both mentionned PRs are merged, so I understand that you found your answer. Commenting closed issues is not the most efficient way to get an answer ;-) -- ___ Python tracker

[issue37164] dict creation with converted zip objects produces inconsistent behavior

2019-06-05 Thread Dane Howard
Dane Howard added the comment: Yes, that seems to be it - in every case I was checking the value of c with `list(c)` and assuming that wouldn't change anything. thanks! -- stage: -> resolved status: open -> closed ___ Python tracker

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have not found zipfile here. email is used for parsing METADATA and PKG-INFO. It replaces the rfc822 module. cvs is used for parsing RECORD and SOURCES.txt. Actually using it for for parsing SOURCES.txt is improper as it might contain double quotes or

[issue37158] Speed-up statistics.fmean()

2019-06-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: Nice! On my computer, I get about 30% speed up. Thanks Raymond. The two PRs are status "merged". Does this mean we can close this ticket or is there more to do? (The git workflow is still a mystery to me.) --

[issue21315] email._header_value_parser does not recognise in-line encoding changes

2019-06-05 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 66c4f3f38b867d8329b28c032bb907fd1a2f22d2 by Barry Warsaw (Abhilash Raj) in branch 'master': bpo-21315: Fix parsing of encoded words with missing leading ws. (#13425)

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-06-05 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +13724 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13847 ___ Python tracker

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: The imports are on purpose but they are not required for import to run, just like importlib.resources isn't necessary. -- ___ Python tracker

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Separate issues should be open for remaining cases. For example issue37163 is open for dataclasses.replace(). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-06-05 Thread Steve Dower
Steve Dower added the comment: There are certainly people relying on sys.prefix being in sys.path (for .pth files and embedding), but probably not so many that we couldn't remove it in a major release. It is a bit strange in a venv, where there's typically nothing in the root of the

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: To help short-circuit this discussion and focus on the desired solution, the steering council came to a decision that can be seen at https://github.com/python/steering-council/issues/12#issuecomment-498874939 : - for Python 3.8 specifically, we think it makes

[issue33725] Python crashes on macOS after fork with no exec

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1e77ab0a35cf95318bb4893f7253a30f73201163 by Victor Stinner in branch 'master': bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841) https://github.com/python/cpython/commit/1e77ab0a35cf95318bb4893f7253a30f73201163

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-05 Thread carlo
carlo added the comment: > I'm -1 to add the alias. It just adds to the confusion. It's also against the > Zen of Python: "There should be one-- and preferably only one --obvious way > to do it." Agreed with the zen of python. This is my first PR / issue, thanks for the fast reply. You

[issue36974] Implement PEP 590

2019-06-05 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13721 pull_request: https://github.com/python/cpython/pull/13844 ___ Python tracker ___

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread Brian Skinn
Brian Skinn added the comment: First, for anyone interested, there are screenshots and links to docs versions at the SC GH issue (https://github.com/python/steering-council/issues/12#issuecomment-498856524, and following) where we're exploring what the tabbed approach to the PEP570 docs

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-06-05 Thread hai shi
hai shi added the comment: >it's a pain to extend the API (I don't want to use yet another __xxx custom >keyword) Adding __xxx in run_python_until_end function would increase the complexity but it looks like a unified function. -- nosy: +shihai1991

[issue36839] Support the buffer protocol in code objects

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: "I'm sorry, I thought "fantasy" was good metaphor." No problem! Saying something is "fantasy" like "it's based on fantasy" -- in North America at least -- is like saying "you're fooling yourself" or "you're delusional". --

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The actual number of descriptors is passed in Yes, but: """The nfds parameter is included only for compatibility with Berkeley sockets.""" ... according to https://docs.microsoft.com/en-us/windows/desktop/api/Winsock2/nf-winsock2-select So it's really

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37165] Convert _collections._count_elements() to the Argument Clinic

2019-06-05 Thread Raymond Hettinger
New submission from Raymond Hettinger : This lets _count_elements use METH_FASTCALL. -- components: Library (Lib) messages: 344759 nosy: rhettinger priority: normal severity: normal status: open type: performance versions: Python 3.8, Python 3.9 ___

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Steve Dower
Steve Dower added the comment: > So it's really FD_SETSIZE that matters, and it's a compile-time constant. The only way this constant can matter is if the array has to end with an empty slot, which doesn't appear to be the case. The pre-compiled function can't tell how you compiled the code

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: I wrote a proof-of-concept: PR 13845. ... but now I'm confused. How does select() know the FD_SETSIZE? Is it hardcoded in select() ABI? Does this PR work? Or does it make no sense? -- ___ Python tracker

[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I propose to add a deprecation warning in 3.8 and use the PEP 570 syntax in 3.9 (which means a TypeError if obj is passed by keyword argument). -- ___ Python tracker

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Steve Dower
Steve Dower added the comment: > How does select() know the FD_SETSIZE? It doesn't have to. The actual number of descriptors is passed in, and the API presumably assumes that FD_SETSIZE is bigger than that (or else the caller would have crashed writing to invalid memory). I don't see why

[issue37158] Speed-up statistics.fmean()

2019-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: I can close it now :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37068] Emit SyntaxWarning for f-strings without expressions ?

2019-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Adding my agreement that this is a feature, not a bug. -- nosy: +rhettinger ___ Python tracker ___

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: >From my understanding Steve is right. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37158] Speed-up statistics.fmean()

2019-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 9ddb77741e041966d64739353393bcba33cc3bdd by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832) (GH-13843)

[issue21315] email._header_value_parser does not recognise in-line encoding changes

2019-06-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +13723 pull_request: https://github.com/python/cpython/pull/13846 ___ Python tracker ___

[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: +1 for Serhiy's suggestion -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list

[issue33725] Python crashes on macOS after fork with no exec

2019-06-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +13726 pull_request: https://github.com/python/cpython/pull/13849 ___ Python tracker ___

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Anthony Sottile
Anthony Sottile added the comment: at least for debian, the motivation is to provide a `pythonX.X-minimal` and a `pythonX.X` package -- the former ~mostly just contains the interpreter and the latter includes the stdlib (I'm interested as well, hit this packaging 3.8 for deadsnakes)

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 142566c028720934325f0b7fe28680afd046e00f by Serhiy Storchaka in branch 'master': [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) https://github.com/python/cpython/commit/142566c028720934325f0b7fe28680afd046e00f

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-05 Thread Christian Heimes
Christian Heimes added the comment: You are welcome! :) -- resolution: -> rejected stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker

[issue22117] Rewrite pytime.h to work on nanoseconds

2019-06-05 Thread STINNER Victor
STINNER Victor added the comment: > Right, but my question was very specifically about a test added for this > issue. This issue is about nanoseconds. I looked again and I found the commit https://hg.python.org/cpython/rev/b0b4c4d365b1 related to this issue. So to reply to your question,

[issue34222] Email message serialization enters an infinite loop when folding non-ASCII headers with long words

2019-06-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for the report, @maxking. -- nosy: +cheryl.sabella ___ Python tracker ___ ___

[issue37166] inspect.findsource doesn't handle shortened files gracefully

2019-06-05 Thread Tim Hatch
New submission from Tim Hatch : inspect.findsource() can trigger IndexError when co_firstlineno is larger than len(linecache.getlines()). If you have a situation where the file that linecache finds doesn't match the imported module, then you're not guaranteed that co_firstlineno on the code

[issue37166] inspect.findsource doesn't handle shortened files gracefully

2019-06-05 Thread Tim Hatch
Change by Tim Hatch : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33725] Python crashes on macOS after fork with no exec

2019-06-05 Thread miss-islington
miss-islington added the comment: New changeset d74438b633184bbd8d775d7118d6f12f6f825a96 by Miss Islington (bot) in branch '3.8': bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841) https://github.com/python/cpython/commit/d74438b633184bbd8d775d7118d6f12f6f825a96

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13722 pull_request: https://github.com/python/cpython/pull/13845 ___ Python tracker ___

[issue35551] Encoding and alias issues

2019-06-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: 1. Background for "tactis": https://github.com/python/cpython/commit/4fd73f0465ba11c22f0986d04cf91b387ed22c47 # The codecs for these encodings are not distributed with the # Python core, but are included here for reference, since the # locale

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Eryk Sun
Eryk Sun added the comment: > It doesn't have to. The actual number of descriptors is passed in, and To clarify, this is the fd_count in each fd_set, i.e. Winsock uses a counted SOCKET array instead of the bitmask that's found on other platforms. Winsock select() ignores nfds [1]. If

[issue37165] Convert _collections._count_elements() to the Argument Clinic

2019-06-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +13725 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13848 ___ Python tracker

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thank you very much, everyone, for sharing your comments, views and concerns and thanks to the steering council for helping to reach a conclusion. I have updated PR13743 to only modify the functions that fall into the second point of Brett's message

  1   2   >