[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread Antti Haapala
Antti Haapala added the comment: Victor, as a friendly reminder, (unsigned long)-1 is not necessarily the same number as (unsigned long long)-1. The documentation means the latter. -- ___ Python tracker ___

[issue37075] Error message improvement for AsyncMock

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

[issue36763] Implementation of the PEP 587

2019-06-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13732 pull_request: https://github.com/python/cpython/pull/13857 ___ Python tracker ___ __

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The jira issue in pyside2 is closed as fixed. I am closing this as third party. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue35022] MagicMock should support `__fspath__`

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since this is merged for 3.8. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32644] unittest.mock.call len() error

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: call objects inherit from tuple and here the reported argument is a dict with 3 items returning len of 3. I am closing this as part of triaging since there is no additional information from @snakevil on reproducing this. Feel free to reopen this if

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue36974] Implement PEP 590

2019-06-06 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13733 pull_request: https://github.com/python/cpython/pull/13858 ___ Python tracker ___ __

[issue37171] Documentation mismatch contextvars module vs PEP-567

2019-06-06 Thread Dima Tisnek
New submission from Dima Tisnek : PEP-567 states that user "must call Context.run()" while `contextvars` docs don't mention `.run()` `contextvars.Context().run(arg)` exists, but there's no documentation, for example what the required argument is. -- components: asyncio messages: 344

[issue37171] Documentation mismatch contextvars module vs PEP-567

2019-06-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this different from the docs at https://docs.python.org/3/library/contextvars.html#contextvars.Context.run? -- nosy: +xtreak ___ Python tracker ___

[issue2661] Mapping tests cannot be passed by user implementations

2019-06-06 Thread miss-islington
miss-islington added the comment: New changeset 6af230359e57122708247dac970e05e05529cde6 by Miss Islington (bot) (Walter Dörwald) in branch 'master': bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157) https://github.com/python/cpython/commit/6af230359e5712270824

[issue2661] Mapping tests cannot be passed by user implementations

2019-06-06 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker _

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +13734 pull_request: https://github.com/python/cpython/pull/13860 ___ Python tracker ___ ___

[issue37172] Odd error awating a Future

2019-06-06 Thread Dima Tisnek
New submission from Dima Tisnek : Let's start with correct code: import asyncio async def writer(): await asyncio.sleep(1) g1.set_result(41) async def reader(): await g1 async def test(): global g1 g1 = asyncio.Future() await asyncio.gather(reader(), writer()) asyn

[issue35082] Mock.__dir__ lists deleted attributes

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

[issue35082] Mock.__dir__ lists deleted attributes

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

[issue35082] Mock.__dir__ lists deleted attributes

2019-06-06 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue37173] inspect.getfile error names module instead of passed class

2019-06-06 Thread flying sheep
Change by flying sheep : -- keywords: +patch pull_requests: +13736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13861 ___ Python tracker ___ ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-06 Thread flying sheep
New submission from flying sheep : Currently, inspect.getfile(str) will report nonsense: >>> inspect.getfile(str) TypeError: is a built-in class -- components: Library (Lib) messages: 344799 nosy: flying sheep priority: normal severity: normal status: open title: inspect.getfile error

[issue37172] Odd error awating a Future

2019-06-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Global future objects (and global asyncio objects in general) don't work with asyncio.run(). The lifecycle of these objects should be closer than loop but asyncio.run() creates a loop during execution. I think this is a good design, we have a plan to depreca

[issue37102] Automatically dedent docstring constants by default

2019-06-06 Thread Inada Naoki
Inada Naoki added the comment: How about do `inspect.cleandoc()` instead of just a dedent? Some method has docstring like this: """First line blah blah blah blah example code here ... """ In such docstring, dedent can not strip indent well. There is existing attempt

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread Eric V. Smith
Eric V. Smith added the comment: As ztane says, the issue isn't the -1, it's the type of the cast. This looks like a legitimate issue to me. -- nosy: +eric.smith resolution: not a bug -> stage: resolved -> patch review status: closed -> open ___ P

[issue37171] Documentation mismatch contextvars module vs PEP-567

2019-06-06 Thread Dima Tisnek
Dima Tisnek added the comment: It seems I have been blind. I'll close this. -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue37174] sched.py: run() is caught in delayfunc even if all events are cancelled.

2019-06-06 Thread Maximilian Ernestus
New submission from Maximilian Ernestus : When I remove all events from a scheduler while its run() is being executed (with blocking=True in another thread), run() continues to block for some time because it is caught in its delayfunc which is time.sleep by default. This issue can easily be s

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

2019-06-06 Thread Tal Einat
Tal Einat added the comment: Steve's suggestion sounds reasonable. Should we just add this to the devguide, then? -- ___ Python tracker ___ __

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: > Victor, as a friendly reminder, (unsigned long)-1 is not necessarily the same > number as (unsigned long long)-1. The documentation means the latter. Aaaah, I didn't notice that the function returns unsigned *long long*, sorry :-) Which platform is impacte

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: > When building openSUSE package for Python-3.8.0b1 (on x86_64 build system > with the latest openSUSE/Tumbleweed) How do you build Python? * configure command * C compiler * etc. -- ___ Python tracker

[issue36763] Implementation of the PEP 587

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 013a18a65167725f140c0395211050ae03501b12 by Victor Stinner in branch 'master': bpo-36763, _testembed: enable assert() in release mode (GH-13857) https://github.com/python/cpython/commit/013a18a65167725f140c0395211050ae03501b12 --

[issue36763] Implementation of the PEP 587

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

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread Antti Haapala
Antti Haapala added the comment: Unsigned long long needs to be at least 64 bits wide, so it is probably all 32-bit platforms and 64-bit window at least. These functions are not used only in a few places within the CPython code and when they are they're guarded with `PyLong_Check`s or simila

[issue36763] Implementation of the PEP 587

2019-06-06 Thread miss-islington
miss-islington added the comment: New changeset 406284173a43f5c34643133e2f132ae15a071a23 by Miss Islington (bot) in branch '3.8': bpo-36763, _testembed: enable assert() in release mode (GH-13857) https://github.com/python/cpython/commit/406284173a43f5c34643133e2f132ae15a071a23 -- no

[issue36786] "make install" should run compileall in parallel

2019-06-06 Thread daniel hahler
daniel hahler added the comment: This can be closed as per https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504. -- nosy: +blueyed ___ Python tracker ___

[issue37175] make install: make compileall optional

2019-06-06 Thread daniel hahler
New submission from daniel hahler : I'd like to make running compileall optionally during installation, since it takes quite a while by itself (with lots of output), and gets a bit into the way when installing often (e.g. with git-bisect). AFAIK it should not be required, because the files wo

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-06 Thread Andrei Zene
Andrei Zene added the comment: Awesome work Victor! Thanks! I'll give it a try. One thing I see mising though (if I understand well) is the allocation of three fd_sets (I posted a comment on github regarding that). Those fd_sets are currently allocated on stack and the array they contain is

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36786] "make install" should run compileall in parallel

2019-06-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, I had forgotten to close this issue. Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue37151] Calling code cleanup after PEP 590

2019-06-06 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13740 pull_request: https://github.com/python/cpython/pull/13864 ___ Python tracker ___ __

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-06-06 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13741 pull_request: https://github.com/python/cpython/pull/13865 ___ Python tracker ___ __

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-06 Thread Eryk Sun
Eryk Sun added the comment: > Those fd_sets are currently allocated on stack and the array they > contain is determined currently by FD_SETSIZE. We'll basically need > a similar structure that we can allocate dynamically, and cast it to > fd_set when passing it to the select call. This is po

[issue37032] Add CodeType.replace() method

2019-06-06 Thread daniel hahler
daniel hahler added the comment: Thanks for this great improvement! Was about to suggest having something more futureproof when noticing this with pdbpp, found this, and submitted PRs to use it for ipython and hypothesis also. -- nosy: +blueyed __

[issue37032] Add CodeType.replace() method

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: > submitted PRs to use it for ipython and hypothesis also Cool! Thank you for doing that ;-) -- ___ Python tracker ___ _

[issue37170] Wrong return value from PyLong_AsUnsignedLongLongMask on PyErr_BadInternalCall

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 - 3.9 are affected. Python 3.6 no longer accept bugfixes. -- versions: -Python 3.5 ___ Python tracker ___ ___

[issue37102] Automatically dedent docstring constants by default

2019-06-06 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This is the function I inlined and as far as I can tell, my approach as been similar to the one you linked. I'm still need to fix some issues as doctest was expecting to find the string before dedenting though. -- _

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread Matej Cepl
Matej Cepl added the comment: Complete build log which shows all dependent libraries, compilation options, etc. If you want any other artifacts (config.log, Python.h) just let me know. -- Added file: https://bugs.python.org/file48397/log.txt.gz ___

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

2019-06-06 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +13742 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13866 ___ Python tracker _

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Matej provides me a link to the build logs on IRC: It's GCC 9.1.1 (gcc9-9.1.1+r271393-1.2) The compilation uses PGO and LTO. ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: test_pyobject_is_freed_free() test can be simplified as attached is_freed.py using: $ LD_LIBRARY_PATH=$PWD PYTHONMALLOC=debug ./python is_freed.py; echo $? 0 0 means success: the test pass. 1 means failure: the test fails. (Again, I cannot reproduce this f

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, only PyMemMallocDebugTests fails: class PyMemMallocDebugTests(PyMemDebugTests): PYTHONMALLOC = 'malloc_debug' Logs: [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemDebugTests) ... ok [ 2863s] test_pyobject_is_freed_free (test.test_capi

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: I designed unit tests to be optimistic: expect that freed memory will be untouched during a few Python instructions: # create an object, free its memory obj = _testcapi.pyobject_freed() # check that the object memory is freed error = (_testcapi.pyobject_is_fr

[issue37138] PEP 590 method_vectorcall calls memcpy with NULL src

2019-06-06 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: That's entirely my fault. I was not aware of the fact that calling memcpy() with src=NULL and length 0 was undefined behaviour. I disagree that it should be undefined, but there is not much point in arguing against the C standard. -- nosy: +jdemeyer

[issue37138] PEP 590 method_vectorcall calls memcpy with NULL src

2019-06-06 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13743 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13867 ___ Python tracker __

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

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

[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 _

[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

[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 --

[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 ___ __

[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 ___ ___ Py

[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 nic

[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: https://mail.pyt

[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

[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
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
Tal Einat added the comment: See proposed fix in GH-13869. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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 co

[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 Unsubscri

[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: +miss-

[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 l

[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 under

[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 that

[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 ___ ___ P

[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 itertools.pe

[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 Uns

[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 ___

[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) https://github.com/python/cpython/commit/dc20fc4311dece194882

[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 _

[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? -- _

[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 ___

[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: https://mail.python.o

[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 th

[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: htt

[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} (

[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

[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 __

[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: https://mail.python.

[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 ___ __

[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 an

[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
Change by Ramin Najjarbashi : -- keywords: +patch pull_requests: +13747 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13871 ___ Python tracker __

[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 a

[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 _

[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 ___

[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? -- _

[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. -- __

[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

[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 Ned Deily
Change by Ned Deily : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[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

[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 ___ __

[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 Unsu

  1   2   >