[issue37177] IDLE: Search dialogs can be hidden behind the main window

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

[issue37177] IDLE: Search dialogs can be hidden behind the main window

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

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
Tal Einat added the comment: New changeset 554450fb4e95066e825bdb4a2d544a490daeebdc by Tal Einat in branch 'master': bpo-37177: make IDLE's search dialogs transient (GH-13869) https://github.com/python/cpython/commit/554450fb4e95066e825bdb4a2d544a490daeebdc --

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

2019-06-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +13755 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13877 ___ Python tracker

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: @staticmethod def _switch_path(path): from contextlib import suppress import zipfile from pathlib import Path with suppress(Exception): return zipfile.Path(path) return Path(path) Oh, I did not know

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

2019-06-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: +1 to Serhiy's proposal -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list

[issue37187] CField.size from the ctypes module does not behave as documented on bitfields

2019-06-06 Thread Eric Wieser
New submission from Eric Wieser : This behavior is pretty surprising: ```python import ctypes class Simple(ctypes.Structure): _fields_ = [ ('a', ctypes.c_uint8), ('b', ctypes.c_uint8), ] class Bitfields(ctypes.Structure): _fields_ = [ ('a', ctypes.c_uint8,

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37176] super() docs don't say what super() does

2019-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: > It only says "Return a proxy object that delegates method > calls to a parent or sibling class of type" and then gives > a bunch of use cases and examples." That wording seems very reasonable to me. -- nosy: +rhettinger

[issue37176] super() docs don't say what super() does

2019-06-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: The docs do say what super does: it returns "a proxy object that delegates method calls to a parent or sibling class of type", just as you quoted. That concise description is (almost) completely accurate and precise. (I say *almost* because it's not just

[issue37186] Everyone uses GIL wrong! = DEADLOCK

2019-06-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +eric.snow, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37176] super() docs don't say what super() does

2019-06-06 Thread Steven D'Aprano
Change by Steven D'Aprano : -- Removed message: https://bugs.python.org/msg344892 ___ Python tracker ___ ___ Python-bugs-list

[issue37176] super() docs don't say what super() does

2019-06-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: The docs do say what super does: it returns "a proxy object that delegates method calls to a parent or sibling class of type", just as you quoted. That concise description is (almost) completely accurate and precise. (I say *almost* because it's not just

[issue37186] Everyone uses GIL wrong! = DEADLOCK

2019-06-06 Thread Roffild
New submission from Roffild : Everyone uses GIL wrong! = DEADLOCK I used sub-interpreters in embedded Python: https://github.com/Roffild/RoffildLibrary/blob/35ef39fafc164d260396b39b28ff897d44cf0adb/Libraries/Roffild/PythonDLL/private.h#L44

[issue24039] Idle: some modal dialogs maximize, don't minimize

2019-06-06 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +13754 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13869 ___ Python tracker ___

[issue24139] Use sqlite3 extended error codes

2019-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -13749 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread miss-islington
miss-islington added the comment: New changeset dba4448c63b687204813a5b04c89dd458d5ac45b by Miss Islington (bot) in branch '3.8': bpo-37134: Add PEP570 notation to the signature of byte{array}.translate (GH-13874)

[issue37134] Use PEP570 syntax in the documentation

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

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset de76c07a8cd0216c3dce215e4d542e2f45aa022f by Pablo Galindo in branch 'master': bpo-37134: Add PEP570 notation to the signature of byte{array}.translate (GH-13874)

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13752 pull_request: https://github.com/python/cpython/pull/13874 ___ Python tracker ___

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: On Python 3, you can use tracemalloc.get_object_traceback() to find where an object was allocated ;-) -- ___ Python tracker ___

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: It seems like the translate() method of bytes and bytearray also needs a "/" in their doc. I wrote a quick & dirty script to parse C files: --- import glob def parse(filename): clinic_input = False args = False positional = False func = None

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-06 Thread Eric V. Smith
Eric V. Smith added the comment: I figured as much (but didn't want to lead the witness!). I'm not completely opposed to this. I think the best thing to do is to bring up the proposal on python-ideas, and point here. -- ___ Python tracker

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks Brian for the prototype! I will close this now. We can reopen if something is missing in the future. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Brian! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-06 Thread Noah
Noah added the comment: Yes, I'm piping a large amount of data to/from a fairly long-running subprocess. -- ___ Python tracker ___

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-06 Thread Eric V. Smith
Eric V. Smith added the comment: I think Popen() is just about as complex as anyone wants it to be. Is there something about .run() or .check_call() that keeps you from using them? -- nosy: +eric.smith versions: +Python 3.9 ___ Python tracker

[issue37185] use os.memfd_create in multiprocessing.shared_memory?

2019-06-06 Thread Pierre Glaser
New submission from Pierre Glaser : Hi, Following https://bugs.python.org/issue26836, I started thinking about using memfd_create instead of shm_open for creating shared-memory segments in multiprocessing.shared_memory. The main advantage of memfd_create over shm_open is that the generated

[issue37184] suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):`

2019-06-06 Thread Noah
New submission from Noah : Suggesting option to raise exception if process exits nonzero in `with subprocess.Popen(...):` with subprocess.Popen('/bin/false'): pass I made the mistake of assuming this construct would raise an exception (CalledProcessError). It would be nice if there were

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Brian Skinn
Brian Skinn added the comment: :thumbsup: Glad I happened to be in the right place at the right time to put it together. I'll leave the tabslash repo up for future reference. -- ___ Python tracker

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: Probably too many C extensions to feasibly audit them all. Also we can't rule out something busted in Alpine. So I'm going to set a watchpoint on small_ints[1]->ob_ival with a little gdb script to dump core right when it changes; hopefully inspecting that

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2019-06-06 Thread Carol Willing
Carol Willing added the comment: No problem :D Ping me when you need a review. -- ___ Python tracker ___ ___ Python-bugs-list

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2019-06-06 Thread Ned Deily
Ned Deily added the comment: Please don’t close this. It’s still an issue that needs to be addressed and I intend to do so. Thanks. -- assignee: -> ned.deily versions: +Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue15913] PyBuffer_SizeFromFormat is missing

2019-06-06 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +13751 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13873 ___ Python tracker

[issue37182] ast - handling new line inside a string

2019-06-06 Thread Eric V. Smith
Eric V. Smith added the comment: There was a recent discussion about this on the bug tracker, but of course now I can't find it. But for an earlier discussion, see issue 25885. The decision was that your expectation that the nodes be distinguishable isn't a design goal of the ast. There's

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset dc2476500d91082f0c907772c83a044bf49af279 by Victor Stinner (Zackery Spytz) in branch 'master': bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860)

[issue33048] macOS job broken on Travis CI

2019-06-06 Thread Carol Willing
Carol Willing added the comment: Folks, I'm going to close this as resolved since we are now using Azure Pipelines for MacOS as well. Brew has also since come up with a naming policy for 2 or 3 so hopefully (?) there will be no further renaming. -- resolution: -> fixed stage: patch

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: It is a deliberate change but matbe it is not well documented? Should we update the C API doc? -- ___ Python tracker ___

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2019-06-06 Thread Carol Willing
Carol Willing added the comment: @ned.deily I'm doing some triaging today. As the original submitter of this issue, would you be willing to close it? Thanks. -- ___ Python tracker

[issue23324] Nonblocking serial io using Arduino and Ubuntu 14.10 (Python 3.4.2) performance slowdown

2019-06-06 Thread Carol Willing
Carol Willing added the comment: @MrYsLab Well, I'm glad it resolved itself along the way. Your project looks cool and the docs are very nice too. Thanks for the link. -- ___ Python tracker

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
Christian Heimes added the comment: memo to me: read the **whole** what's new document. https://docs.python.org/3.8/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed

[issue23324] Nonblocking serial io using Arduino and Ubuntu 14.10 (Python 3.4.2) performance slowdown

2019-06-06 Thread Alan Yorinks
Alan Yorinks added the comment: Hi Carol,     Thanks for the update. I retested on Python 3.7 and the problem seems to have been resolved some where along the way. BTW, I am using MicroPython on an ESP8266 remotely controlled from a Python program on a PC. You can read about it here:

[issue37182] ast - handling new line inside a string

2019-06-06 Thread Ilya Kamenshchikov
Ilya Kamenshchikov added the comment: Same problem holds for tabs (\\t vs \t). For \\r vs \r, it is even more fun: txt1 = '"""\\r"""' txt2 = '"""\r"""' >>> b'\r' >>> b'\n' -- ___ Python tracker

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
Christian Heimes added the comment: python-3.8.pc also omits -lpython3.8: $ pkg-config python-3.8 --libs -- ___ Python tracker ___

[issue23324] Nonblocking serial io using Arduino and Ubuntu 14.10 (Python 3.4.2) performance slowdown

2019-06-06 Thread Carol Willing
Change by Carol Willing : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23324] Nonblocking serial io using Arduino and Ubuntu 14.10 (Python 3.4.2) performance slowdown

2019-06-06 Thread Carol Willing
Carol Willing added the comment: @MrYsLab, Sorry that this issue wasn't resolved in the past. I would like to close this since we are currently working on a 3.8 release. I'm going to do that now. You may wish to take a look at MicroPython and CircuitPython if you haven't already seen them.

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
New submission from Christian Heimes : With 3.8 it is no longer possible to compile a custom Python interpreter with linker flags from python-config. The config helper omits the main Python library: $ python3.8-config --ldflags -L/usr/lib64 -lcrypt -lpthread -ldl -lutil -lm -lm $ gcc

[issue36520] Email header folded incorrectly

2019-06-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset f6713e84afc5addcfa8477dbdf2c027787f711c0 by Barry Warsaw (websurfer5) in branch 'master': bpo-36520: Email header folded incorrectly (#13608) https://github.com/python/cpython/commit/f6713e84afc5addcfa8477dbdf2c027787f711c0 --

[issue21106] Updated Mac folder icon

2019-06-06 Thread Carol Willing
Carol Willing added the comment: This was resolved in https://github.com/python/cpython/pull/1780. Thanks @ned.deily. -- keywords: +patch message_count: 15.0 -> 16.0 pull_requests: +13750 resolution: -> fixed stage: resolved -> patch review status: open -> closed pull_request:

[issue37182] ast - handling new line inside a string

2019-06-06 Thread Ilya Kamenshchikov
New submission from Ilya Kamenshchikov : parsing two different strings produces identical ast.Str nodes: import ast txt1 = '"""\\n"""' txt2 = '"""\n"""' tree1 = ast.parse(txt1) tree2 = ast.parse(txt2) print(tree1.body[0].value.s == tree2.body[0].value.s) print(bytes(tree1.body[0].value.s,

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Carol Willing
Carol Willing added the comment: @brian, Just to echo Brett's words, the Steering Council appreciated the tabbed prototype and your effort to create it. While we may not use it in this particular case, it's great to keep in mind for other places. Thanks for contributing :D --

[issue30809] IDLE parenmatch - highlighting options

2019-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. The parenmatch highlighting is so transient that it hardly matters what it is, except that it should not match a syntax color. -- dependencies: -Idle extension configuration: add option-help option resolution: -> rejected stage: patch

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-06 Thread Brett Cannon
Change by Brett Cannon : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Brett Cannon
Brett Cannon added the comment: @Brian: And thanks for the experiment! It was an interesting idea to consider. -- ___ Python tracker ___

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Brett Cannon
Brett Cannon added the comment: @Brian: Probably not. The worry that came up during the steering council meeting was bifurcating the docs could cause confusion as to why it was different, which one was more "right", etc. -- ___ Python tracker

[issue37180] Fix Persian KAF in mac_farsi.py

2019-06-06 Thread Ned Deily
Change by Ned Deily : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24139] Use sqlite3 extended error codes

2019-06-06 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +13749 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13869 ___ Python tracker ___

[issue37180] Fix Persian KAF in mac_farsi.py

2019-06-06 Thread SilentGhost
SilentGhost added the comment: The names of the characters given in comments agree with the unicode database name (they're indeed ARABIC-INDIC DIGITs and ARABIC LETTER). The replacement character that you're proposing is called (according to the same database) 'ARABIC LETTER KEHEH', whereas

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Mark Dickinson
Mark Dickinson added the comment: This smells a bit as though someone's doing something like: myobject = PyInt_FromLong(some_long); and then assuming that they hold the only reference to `myobject`, so that it's safe to mutate in place. --

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Mark Dickinson
Mark Dickinson added the comment: Interesting indeed. What 3rd party extension are installed in your Python environment? Is it possible that one of them is messing with the CPython internals (perhaps in an overeager attempt to optimize)? Any uses of ctypes? --

[issue37181] fix test_regrtest failures on Windows arm64

2019-06-06 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +13748 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13872 ___ Python tracker ___

[issue37181] fix test_regrtest failures on Windows arm64

2019-06-06 Thread Paul Monson
Change by Paul Monson : -- components: Tests, Windows nosy: Paul Monson, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: fix test_regrtest failures on Windows arm64 type: enhancement versions: Python 3.8, Python 3.9

[issue24039] Idle: some modal dialogs maximize, don't minimize

2019-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dialogs attached to a particular window should be 'transient' to that window. https://www.tcl.tk/man/tcl8.6/TkCmd/wm.htm#M64 It is an oversight that the window search and replace windows are not. Modal windows, including the current Find in Files might just

[issue37180] Fix Persian KAF in mac_farsi.py

2019-06-06 Thread Ramin Najjarbashi
Change by Ramin Najjarbashi : -- keywords: +patch pull_requests: +13747 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13871 ___ Python tracker

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-06 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Since having tempfile.TemporaryDirectory() automatically unmount mount points is difficult to implement in a portable way (Windows, BSD/macOS, and Linux are all different), a shorter-term solution could be to add an 'onerror' callback function as a class

[issue37180] Fix Persian KAF in mac_farsi.py

2019-06-06 Thread Ramin Najjarbashi
New submission from Ramin Najjarbashi : Regarding the file named: "Lib/encodings/mac_farsi.py", the numbers are inserted in the wrong way, they are inserted Arabic numbers instead of Persian, they are edited in the comment. The KAF character (ك) which was the Arabic version, has been changed

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-06 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +13746 pull_request: https://github.com/python/cpython/pull/13870 ___ Python tracker ___

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2019-06-06 Thread Fantix King
Change by Fantix King : -- nosy: +fantix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2019-06-06 Thread Yury Selivanov
Yury Selivanov added the comment: Yeah, we have the SSL reimplementation ready to be backported from uvloop to cpython. Fantix, the original author, should be able to do that soon. -- ___ Python tracker

[issue30809] IDLE parenmatch - highlighting options

2019-06-06 Thread Tal Einat
Tal Einat added the comment: FWIW I'm -1 on this change, due to the decision to keep IDLE simple for new users learning Python rather than power users. -- nosy: +taleinat ___ Python tracker

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: So this is uminteresting (gdb) p small_ints[0] $2 = (PyIntObject *) 0x558ce65df528 (gdb) p *small_ints[0] $3 = {ob_refcnt = 18, ob_type = 0x7fe019b694c0 , ob_ival = -5} (gdb) p *small_ints[1] $4 = {ob_refcnt = 65, ob_type = 0x7fe019b694c0 , ob_ival = -3}

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2019-06-06 Thread Cooper Lees
New submission from Cooper Lees : aiohttp would love to be able to support HTTPS Proxy servers. To do this, asyncio itself needs to be able to provide TLS within TLS connections. Can we add this support to asyncio please. (I tried search but could not find a related issue - Please merge if

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
Change by Tal Einat : -- nosy: +IrvKalb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Stefan Krah
Stefan Krah added the comment: Yes, I'd try Debian first, then potential libc issues can also be eliminated in a single experiment. -- ___ Python tracker ___

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: > Alpine Linux apparently uses musl. Is that well supported and tested? Heh. Not really. Switching to a Debian container is probably just about as much work as building Python from source. Would that be preferable? --

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2019-06-06 Thread Rene Dudfield
Rene Dudfield added the comment: This can be closed. $ python3 -m pydoc -p 7464 Then view in browser: http://localhost:7464/pygame.html No error. -- nosy: +illume ___ Python tracker

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

2019-06-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset dc20fc4311dece19488299a7cd11317ffbe4d3c3 by Barry Warsaw (Miss Islington (bot)) in branch '3.7': bpo-21315: Fix parsing of encoded words with missing leading ws. (GH-13425) (#13846)

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

2019-06-06 Thread Steve Dower
Steve Dower added the comment: Changing our policy here (from "no policy" to "here's a recommendation") probably deserves a python-dev discussion first. -- ___ Python tracker

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

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

[issue37178] One argument form of math.perm()

2019-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I never seen a one argument form of P(n, k) in mathematics. itertools.permutations() corresponds two functions: math.perm() and math .factorial(). Unless you a going to add a new function in the itertools module equal to a one argument form of

[issue37156] Fix libssl DLL tag in Tools/msi project

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

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Stefan Krah
Stefan Krah added the comment: There are lots of ideas still. :) As I said, on a Linux other than RedHat or Debian or such I'd first try to blame the shipped Python, then the libc (I had a glibc memmove issue once with similar inexplicable results). Alpine Linux apparently uses musl. Is

[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-06-06 Thread Nathaniel Gaertner
Nathaniel Gaertner added the comment: Hey sorry for the delay in responding. My thought with forcing 'rt' mode is that it would actually reduce the flexibility of the FileInput class. For 5758, I suspect the issue arose out of a confusion about what strings meant in python 2 vs 3. If I

[issue37178] One argument form of math.perm()

2019-06-06 Thread Tim Peters
Tim Peters added the comment: I agree: perm(n) should return factorial(n). -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37156] Fix libssl DLL tag in Tools/msi project

2019-06-06 Thread miss-islington
miss-islington added the comment: New changeset 1c4084f4c13d7ec516abc0439288cbeb2c96489a by Miss Islington (bot) in branch '3.8': bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866) https://github.com/python/cpython/commit/1c4084f4c13d7ec516abc0439288cbeb2c96489a -- nosy:

[issue37178] One argument form of math.perm()

2019-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: perm(n, n) = factorial(n) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-06-06 Thread Phil Frost
Phil Frost added the comment: skrah: Yes, that's correct. Since I can only produce this bug in production it will take me some days to build and validate a source build. But absent any better ideas, I will try. tim.peters: I've observed this bug across hundreds of EC2 hosts, in dozens of

[issue37178] One argument form of math.perm()

2019-06-06 Thread Raymond Hettinger
New submission from Raymond Hettinger : The perm() function should have a one argument form and change its signature to ``perm(n, k=None)``. This matches what itertools: itertools.permutations(iterable, r=None) Return successive r length permutations of elements in the iterable. If

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
Tal Einat added the comment: See proposed fix in GH-13869. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +13745 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13869 ___ Python tracker

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
Change by Tal Einat : -- stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue37177] IDLE: Search dialogs can be hidden behind the main window

2019-06-06 Thread Tal Einat
New submission from Tal Einat : This issue was brought up by Irv Kalb on the idle-dev mailing list. I haven't been able to reproduce it exactly as he described, but I have managed to do so otherwise, and remember it happening on occasion on other computers. This appears to happen because the

[issue34971] add support for tls/ssl sessions in asyncio

2019-06-06 Thread Cooper Lees
Change by Cooper Lees : -- nosy: +cooperlees ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-06-06 Thread Michael Felt
Michael Felt added the comment: On 06/06/2019 14:14, Tal Einat wrote: > Tal Einat added the comment: > > Steve's suggestion sounds reasonable. > > Should we just add this to the devguide, then? Well, as I said before - it was never about THIS being the solution. While that would have been

[issue18355] Merge super() guide into documentation

2019-06-06 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I opened another doc issue about super(): #37176 -- nosy: +jdemeyer ___ Python tracker ___ ___

[issue37156] Fix libssl DLL tag in Tools/msi project

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

[issue37156] Fix libssl DLL tag in Tools/msi project

2019-06-06 Thread Steve Dower
Steve Dower added the comment: New changeset e0c0c7e8c9f8153a54b92e43aa3d09e69a9fd0c0 by Steve Dower in branch 'master': bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866) https://github.com/python/cpython/commit/e0c0c7e8c9f8153a54b92e43aa3d09e69a9fd0c0 --

[issue37176] super() docs don't say what super() does

2019-06-06 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : The documentation for super() at https://docs.python.org/3.8/library/functions.html#super does not actually say what super() does. It only says "Return a proxy object that delegates method calls to a parent or sibling class of type" and then gives a bunch

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Note for myself: Python 2 urllib.urlopen(url) always quotes the URL and so is not vulnerable to HTTP Header Injection (at least, not to this issue ;-)). -- ___ Python tracker

  1   2   >