[issue39307] Memory leak in parsetok

2020-01-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39319] ntpath module must not be available on POSIX platforms

2020-01-13 Thread Eryk Sun
Eryk Sun added the comment: No, ntpath and posixpath are cross-platform. They are tested on all platforms, and the os.path documentation lists them and notes that "you can also import and use the individual modules if you want to manipulate a path that is always in one of the different

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Seth Troisi
Change by Seth Troisi : -- nosy: +Seth.Troisi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17387 pull_request: https://github.com/python/cpython/pull/17982 ___ Python tracker ___

[issue39168] Generic type subscription is a huge toll on Python performance

2020-01-13 Thread Wouter De Borger
Change by Wouter De Borger : -- nosy: +Wouter De Borger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Dong-hee Na
Dong-hee Na added the comment: I met this issue during I compile with gcc9 on my local mac machine. This issue should be fixed.. -- ___ Python tracker ___

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39307] Memory leak in parsetok

2020-01-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17384 pull_request: https://github.com/python/cpython/pull/17978 ___ Python tracker ___

[issue39307] Memory leak in parsetok

2020-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7ba6f18de2582755ae31888ba6a4237d96dddc48 by Pablo Galindo (Alex Henrie) in branch 'master': bpo-39307: Fix memory leak on error path in parsetok (GH-17953) https://github.com/python/cpython/commit/7ba6f18de2582755ae31888ba6a4237d96dddc48

[issue39307] Memory leak in parsetok

2020-01-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17385 pull_request: https://github.com/python/cpython/pull/17979 ___ Python tracker ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39307] Memory leak in parsetok

2020-01-13 Thread miss-islington
miss-islington added the comment: New changeset 9671b6b3b3e480fbc4b14aab7008b90b38767f55 by Miss Islington (bot) in branch '3.8': bpo-39307: Fix memory leak on error path in parsetok (GH-17953) https://github.com/python/cpython/commit/9671b6b3b3e480fbc4b14aab7008b90b38767f55 --

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Dong-hee Na
Dong-hee Na added the comment: Any progress? -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Fabio Sangiovanni
Change by Fabio Sangiovanni : -- nosy: +sanjioh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36020] HAVE_SNPRINTF and MSVC std::snprintf support

2020-01-13 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +17386 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17980 ___ Python tracker ___

[issue39319] ntpath module must not be available on POSIX platforms

2020-01-13 Thread Aurora
Change by Aurora : -- components: +Library (Lib) -Interpreter Core type: behavior -> ___ Python tracker ___ ___ Python-bugs-list

[issue39319] ntpath module must not be available on POSIX platforms

2020-01-13 Thread Aurora
New submission from Aurora : According to https://docs.python.org/dev/library/undoc.html the 'ntpath' module is an "Implementation of os.path on Win32 and Win64 platforms". Just like all other Windows-specific modules(like winreg),'ntpath' must not be available for use on a POSIX system like

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closed by https://github.com/python/cpython/pull/17365 -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Ned Batchelder
Change by Ned Batchelder : -- nosy: +nedbat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Albert Zeyer
Albert Zeyer added the comment: Instead of `except:` and `except BaseException:`, I think better use `except Exception:`. For further discussion and reference, also see the discussion here: https://news.ycombinator.com/item?id=22028581 -- nosy: +Albert.Zeyer

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0b2ab21956fbab8eab6d064060d4544499730316 by Victor Stinner in branch 'master': bpo-39310: Add math.ulp(x) (GH-17965) https://github.com/python/cpython/commit/0b2ab21956fbab8eab6d064060d4544499730316 --

[issue38903] #if 0 block on parsetok.c

2020-01-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Ned Deily
Ned Deily added the comment: Thanks, Terry. I'll look at it shortly. -- assignee: -> ned.deily nosy: -vstinner ___ Python tracker ___

[issue39296] Windows register keys

2020-01-13 Thread Steve Dower
Steve Dower added the comment: You should read the version number from the Version or SysVersion values, rather than from the tag. Having -32 in the key name is a compatibility requirement. Without it, if you installed 32-bit and 64-bit versions for the current user (which is now the

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2020-01-13 Thread Mark Shannon
New submission from Mark Shannon : Currently the unpacking of starred values in arguments and the right hand side of assignments is handled in the interpreter without any help from the compiler. The layout of arguments and values is visible to the compiler, so the compiler should do more of

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Ned Batchelder
Change by Ned Batchelder : -- keywords: +patch pull_requests: +17389 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17985 ___ Python tracker ___

[issue39293] Windows 10 64-bit needs reboot

2020-01-13 Thread Steve Dower
Steve Dower added the comment: Can you show some of these errors? Certainly any existing console windows (cmd/PowerShell) will not have their PATH variables updated - that's by design - but there should not be anything else in Python 3.8 that requires a reboot. --

[issue39323] Add test for imghdr cli

2020-01-13 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : imghdr module has a cli that can display the image type for a given filename and also recurse through directories. I would like to propose following changes : * Add tests for the imghdr cli. * The cli uses hardcoded '/' separator in the end for

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The progress was the PR. I just fixed the merge conflicts, I believe correctly. Please test and review. -- nosy: +vstinner ___ Python tracker

[issue39323] Add test for imghdr cli

2020-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +17396 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17993 ___ Python tracker

[issue38644] Pass explicitly tstate to function calls

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b1df4592e1691017414337514c6e378eb639498 by Victor Stinner in branch 'master': bpo-38644: Pass tstate to _Py_FinishPendingCalls() (GH-17990) https://github.com/python/cpython/commit/2b1df4592e1691017414337514c6e378eb639498 --

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: > For Windows, you need to do much more than this: it's not just about handling > NaNs and infinities, it's about reimplementing the entire function from > scratch to give correctly rounded results. Without correctly-rounded results, > there's very little

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +corona10 -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18233] SSLSocket.getpeercertchain()

2020-01-13 Thread Chris Burr
Change by Chris Burr : -- nosy: +chrisburr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39299] Improve test coverage for mimetypes module

2020-01-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17395 pull_request: https://github.com/python/cpython/pull/17992 ___ Python tracker ___

[issue39299] Improve test coverage for mimetypes module

2020-01-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17394 pull_request: https://github.com/python/cpython/pull/17991 ___ Python tracker ___

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: I converted https://hg.python.org/cpython/rev/b33012ef1417 written by Mark Dickinson into a GitHub PR: PR 17987. I still expect tests failures. I plan to use the PR as a starting point to implement math.fma(). If tests continue to fail on some platforms, I

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: It seems like Signal 9 is SIGKILL. -- title: AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by Signal 9 -> AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9) ___ Python

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by Signal 9

2020-01-13 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/214/builds/152 ... 0:08:21 load avg: 3.66 [240/420] test_wait3 passed -- running: test_multiprocessing_forkserver (1 min 51 sec) 0:08:22 load avg: 3.66 [241/420] test_uuid passed -- running:

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2020-01-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +17392 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17989 ___ Python tracker

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread Mark Dickinson
Mark Dickinson added the comment: > If tests continue to fail on some platforms, I plan to manually handle NaN > and INF in the C code, before calling libc fma(). For Windows, you need to do much more than this: it's not just about handling NaNs and infinities, it's about reimplementing the

[issue20443] __code__. co_filename should always be an absolute path

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17390 pull_request: https://github.com/python/cpython/pull/17986 ___ Python tracker ___

[issue39164] Add private _PyErr_GetExcInfo() function which accepts a tstate argument

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: Thanks Julien Danjou. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: PyErr_GetExcInfo does not allow to retrieve for an arbitrary thread -> Add private _PyErr_GetExcInfo() function which accepts a tstate

[issue39048] Change the lookup order of __aenter__ and __aexit__ for async with

2020-01-13 Thread Géry
Change by Géry : -- title: Reorder __aenter__ & __aexit__ checks for async with statement -> Change the lookup order of __aenter__ and __aexit__ for async with ___ Python tracker

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-01-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'd like to spend time by reproducing the issue locally. Please give me a few days. -- ___ Python tracker ___

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread Mark Dickinson
Mark Dickinson added the comment: Okay, looks like Windows is happy in the PR's continuous integration. If the buildbots are also happy, then I'm content to have this pushed through. -- ___ Python tracker

[issue39322] Add gc.is_finalized to check if an object has been finalised by the gc

2020-01-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Right now is not possible to check from the Python layer if an object with gc support has been already finalized by the GC (but has been resurrected). When implementing some callbacks for the gc in order to add advanced statistics, I have greatly

[issue38644] Pass explicitly tstate to function calls

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17393 pull_request: https://github.com/python/cpython/pull/17990 ___ Python tracker ___

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2020-01-13 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +17388 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17984 ___ Python tracker ___

[issue20443] __code__. co_filename should always be an absolute path

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset c1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9 by Victor Stinner in branch 'master': bpo-20443: Update What's New In Python 3.9 (GH-17986) https://github.com/python/cpython/commit/c1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9 --

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17391 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/17987 ___ Python tracker ___

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: Same error https://buildbot.python.org/all/#builders/214/builds/138 -- ___ Python tracker ___

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

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: I continued this work by passing tstate to internal C functions: bpo-38644. I also added PyInterpreterState.runtime field, so it's now possible to retrieve the runtime from tstate: runtime = tstate->interp->runtime; I wrote an article on passing tstate

[issue38644] Pass explicitly tstate to function calls

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: > One further step would be to change the VECTORCALL/FASTCALL calling > convention to pass tstate. But I am not sure what is the risk to do that in > Python 3.9? Cython uses FASTCALL internally for example. I started a thread on python-dev:

[issue39164] PyErr_GetExcInfo does not allow to retrieve for an arbitrary thread

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3430c55417f59078ac397c343894a3ee82a39624 by Victor Stinner (Julien Danjou) in branch 'master': bpo-39164: Add private _PyErr_GetExcInfo() function (GH-17752) https://github.com/python/cpython/commit/3430c55417f59078ac397c343894a3ee82a39624

[issue39238] test_asyncio: test_cancel_make_subprocess_transport_exec() hangs randomly on PPC64LE Fedora 3.x

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: AMD64 RHEL7 LTO + PGO 3.8: https://buildbot.python.org/all/#/builders/83/builds/76 ... test_terminate (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests) ... ok Timeout (0:15:00)! Thread 0x7f070075a740 (most recent call first): File

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: Same error on https://buildbot.python.org/all/#builders/214/builds/148 -- ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: The test still hangs randomly. Can it be disabled or fixed? s390x Debian 3.x: https://buildbot.python.org/all/#builders/105/builds/167 test_close_dont_kill_finished (test.test_asyncio.test_subprocess.SubprocessMultiLoopWatcherTests) ... ok Timeout

[issue39299] Improve test coverage for mimetypes module

2020-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset d8efc1495194228c3a4cd472200275d6491d8e2d by Karthikeyan Singaravelan in branch 'master': bpo-39299: Add more tests for mimetypes and its cli. (GH-17949) https://github.com/python/cpython/commit/d8efc1495194228c3a4cd472200275d6491d8e2d

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread miss-islington
miss-islington added the comment: New changeset dfe159ca552870f801e34cc57e9bb7d6836ce7df by Miss Islington (bot) in branch '3.7': bpo-39310: Update sys.float_info documentation (GH-17982) https://github.com/python/cpython/commit/dfe159ca552870f801e34cc57e9bb7d6836ce7df -- nosy:

[issue39298] add BLAKE3 to hashlib

2020-01-13 Thread Jack O'Connor
Jack O'Connor added the comment: I'm in the middle of adding some Rust bindings to the C implementation in github.com/BLAKE3-team/BLAKE3, so that `cargo test` and `cargo bench` can cover both. Once that's done, I'll follow up with benchmark numbers from my laptop (Kaby Lake i5-8250U, also

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +17397 pull_request: https://github.com/python/cpython/pull/17994 ___ Python tracker ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9362f8526e42157baf27df982b16f23f212c3c3a by Victor Stinner in branch '3.8': bpo-39310: Update sys.float_info documentation (GH-17982) https://github.com/python/cpython/commit/9362f8526e42157baf27df982b16f23f212c3c3a --

[issue28166] WindowsConsoleIO misbehavior when Ctrl+C is ignored

2020-01-13 Thread Eryk Sun
Eryk Sun added the comment: On second thought, I think the fact that the console leaves the previously entered text on the line is ugly and confusing. The text isn't in the input buffer, so it won't be read. Yet there's no way for the user to even clear it -- not by escape or backspace. I

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue is more complex. I am working on it. -- ___ Python tracker ___ ___ Python-bugs-list

[issue29282] Fused multiply-add: proposal to add math.fma()

2020-01-13 Thread Juraj Sukop
Juraj Sukop added the comment: FWIW, there is a new implementation of FMA [1] which is licensed very permissively [2]. Perhaps it could be used here as well..? [1] https://github.com/smasher164/fma [2] https://github.com/smasher164/fma/commit/4e85d2388c7d4d850be12df918f9431ca687f57a

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-01-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: FYI, I'm able to reproduce the hang by running "python -m test -F test_asyncio -m test_close_kill_running". Working on the fix. -- ___ Python tracker

[issue39324] Add mimetype for extension .md (markdown)

2020-01-13 Thread Ryan Batchelder
New submission from Ryan Batchelder : I would like to propose that the mimetype for markdown files ending in .md to text/markdown is included in the mimetypes library. This is registered here: https://www.iana.org/assignments/media-types/text/markdown -- messages: 359931 nosy: Ryan

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Jörn Heissler
Change by Jörn Heissler : -- nosy: +joernheissler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39319] ntpath module must not be available on POSIX platforms

2020-01-13 Thread Aurora
Aurora added the comment: @eryksun So modify the documentation to note that they're operable on both platforms. I've seen that ntpath worked on my Linux system, but the documentation was misleading. -- ___ Python tracker

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread Brett Cannon
Brett Cannon added the comment: And sorry if that last response from me came off as grumpy; it wasn't meant to. I just had no clue what you were adding based on the name. -- ___ Python tracker

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset a190e2ade1a704a6b5a94464a0a19b140c7dd031 by Victor Stinner (Dong-hee Na) in branch 'master': bpo-39259: ftplib.FTP/FTP_TLS now reject timeout = 0 (GH-17959) https://github.com/python/cpython/commit/a190e2ade1a704a6b5a94464a0a19b140c7dd031

[issue39324] Add mimetype for extension .md (markdown)

2020-01-13 Thread Ryan Batchelder
Change by Ryan Batchelder : -- keywords: +patch pull_requests: +17398 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17995 ___ Python tracker ___

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread Brett Cannon
Brett Cannon added the comment: Can I just say that "ulp" is totally non-obvious what that even means unless you have a specific math background? -- nosy: +brett.cannon ___ Python tracker

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: > Can I just say that "ulp" is totally non-obvious what that even means unless > you have a specific math background? The math.ulp() documentation explicitly says: https://docs.python.org/dev/library/math.html#math.ulp ULP stands for “Unit in the Last

[issue39326] Python-3.8.1 "test_importlib" failed

2020-01-13 Thread Divyansh tiwari
New submission from Divyansh tiwari : Python-3.8.1 after "make test" command in Ubuntu terminal report an error saying "test_importlib" failed. = Tests result: FAILURE then FAILURE == 1 test failed: test_importlib 1 re-run test: test_importlib

[issue39310] Add math.ulp(x): unit in the last place

2020-01-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: I hear what you are saying, but "ulp" is the standard term of art. Sure it is non-obvious until you learn it, just like other technical terms like "mro", "abc" or "ast". Mathematics and numeric programming are rife with short names that are non-obvious

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-01-13 Thread Irv Kalb
New submission from Irv Kalb : I have my Mac to open ".py" files with IDLE. If IDLE is not running, and I double click on a Python file, the Shell window opens, then the Python file I clicked on opens in front, but the Shell has keyboard focus. In order to edit or run the source file, I

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread Kubilay Kocak
Kubilay Kocak added the comment: Identified a kernel/userland mismatch which may have caused this. Have restarted the server and worker, and will rebuild https://buildbot.python.org/all/#/builders/214/builds/152 -- ___ Python tracker

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread Kubilay Kocak
Kubilay Kocak added the comment: Rebuilding now -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39298] add BLAKE3 to hashlib

2020-01-13 Thread Larry Hastings
Larry Hastings added the comment: According to my order details it is a "8th Generation Intel Core i7-8650U". -- ___ Python tracker ___

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-13 Thread Ned Deily
Change by Ned Deily : -- keywords: +3.7regression, 3.8regression versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue39160] ./configure --help has inconsistencies in style

2020-01-13 Thread Ned Deily
Ned Deily added the comment: New changeset 2de064e6305008d16571a21e5f0c178e62e81f27 by Ned Deily (Anthony Shaw) in branch 'master': bpo-39160 Align the verbs, grammar and defaults for `./configure --help` (GH-17747)

[issue39273] ncurses does not include BUTTON5_* constants

2020-01-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +17400 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17996 ___ Python tracker ___

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 62e3973395fb9fab2eb8f651bcd0fea4e695e1cf by Victor Stinner (Dong-hee Na) in branch 'master': bpo-39259: smtp.SMTP/SMTP_SSL now reject timeout = 0 (GH-17958) https://github.com/python/cpython/commit/62e3973395fb9fab2eb8f651bcd0fea4e695e1cf

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: Can we now close this issue? Or is there still something to do? -- ___ Python tracker ___ ___

[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Carl Harris
Change by Carl Harris : -- nosy: +hitbox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39283] Add ability to inherit unittest arguement parser

2020-01-13 Thread Ajay Tripathi
Ajay Tripathi added the comment: Hi, Thanks for your response, here is a code sample of what I am doing right now: ``` import unittest import sys class MyTest(unittest.TestCase): def __init__(self, testName, extraArg): super(MyTest, self).__init__(testName)

[issue39160] ./configure --help has inconsistencies in style

2020-01-13 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread Kubilay Kocak
Kubilay Kocak added the comment: Looks OK now: https://buildbot.python.org/all/#/builders/214 If it fails again in the same manner, please re-open -- assignee: -> koobs resolution: -> fixed ___ Python tracker

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-01-13 Thread STINNER Victor
STINNER Victor added the comment: > Identified a kernel/userland mismatch which may have caused this. Have > restarted the server and worker, and will rebuild > https://buildbot.python.org/all/#/builders/214/builds/152 Aha, interesting bug. Thanks for fixing it ;-) -- stage: ->

[issue39326] Python-3.8.1 "test_importlib" failed

2020-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach the output log of the test? -- nosy: +xtreak ___ Python tracker ___

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-13 Thread Matthew Newville
Matthew Newville added the comment: So, again, I'm trying to understand what the best workaround for this change is. I asked "can this workaround be improved" twice and got no reply, while getting plenty of responses to questions about the development process. I take this to mean that the

[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all

2020-01-13 Thread Aurora
Change by Aurora : -- versions: -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39273] ncurses does not include BUTTON5_* constants

2020-01-13 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

  1   2   >