Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread justin walters
I for one don't want to see politics involved in PL development. However, inclusivity isn't a political issue, it's a human rights issue. Do I agree with the PR, not exactly. However, I do think we as a community should be accommodating to people Whose use of the English language differs from the

Re: Error

2020-08-17 Thread Igor Korot
On Tue, Aug 18, 2020 at 12:00 AM Igor Korot wrote: > > Hi, > > On Mon, Aug 17, 2020 at 11:05 PM Thiên Nguyễn Thanh > wrote: > > > > Thank you for your response. > > it's in this file. > > Please don't send any attachments to the list. > > There are very knowledgeable people here who will be able

Re: Error

2020-08-17 Thread Igor Korot
Hi, On Mon, Aug 17, 2020 at 11:05 PM Thiên Nguyễn Thanh wrote: > > Thank you for your response. > it's in this file. Please don't send any attachments to the list. There are very knowledgeable people here who will be able to help. Unfortunately they have vision problems. So, what is the

[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows

2020-08-17 Thread song super
song super <2262720...@qq.com> added the comment: I mean,os.path.join('3', '{:3') return '{:3' in windows,However,os.path.join('3', '{:3') return '3/{:3'in linux,output result not '3'in windows,why? for example: >>> from os.path import join >>> join('3', '{:3') output:'{:3' >>> join('3',

[issue41513] Scale by power of two in math.hypot()

2020-08-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's a much cheaper way to get correctly rounded results almost all of the time. It uses Serhiy's idea for scaling by a power of two, Tim's idea for Veltkamp-Dekker splitting, my variant of Neumaier summation, and the paper's differential correction.

[issue41560] pathlib.Path.glob fails on empty string

2020-08-17 Thread Alexander Heger
Alexander Heger added the comment: In my code, having been translated form use of `os.path` to `pathlib.Path` the change in behaviour caused errors and required significant refactoring. Why not just return the empty list if there is no match, as is done in other cases when there is no

Re: Error

2020-08-17 Thread Thiên Nguyễn Thanh
Thank you for your response. it's in this file. Vào Th 3, 18 thg 8, 2020 vào lúc 10:59 Igor Korot đã viết: > Hi, > > > > On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh < > thien.nguyen0...@hcmut.edu.vn> wrote: > >> Hi, >> I'm just starting to learn python. >> I try to install a socketio

Re: Error

2020-08-17 Thread Igor Korot
Hi, On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh < thien.nguyen0...@hcmut.edu.vn> wrote: > Hi, > I'm just starting to learn python. > I try to install a socketio library. > I got the following error > [image: image.png] > Please answer me with a detailed guide on how to solve the above

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread thronobulax
On Monday, August 17, 2020 at 1:26:33 PM UTC-5, Chris Angelico wrote: > For context, see this commit: > > https://github.com/python/peps/commit/0c6427dcec1e98ca0bd46a876a7219ee4a9347f4 > > The commit message is highly politically charged and is now a > permanent part of the Python commit

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread thronobulax
On Monday, August 17, 2020 at 1:26:33 PM UTC-5, Chris Angelico wrote: > For context, see this commit: > > https://github.com/python/peps/commit/0c6427dcec1e98ca0bd46a876a7219ee4a9347f4 > > The commit message is highly politically charged and is now a > permanent part of the Python commit

Error

2020-08-17 Thread Thiên Nguyễn Thanh
Hi, I'm just starting to learn python. I try to install a socketio library. I got the following error [image: image.png] Please answer me with a detailed guide on how to solve the above problem!! Thanks. -- https://mail.python.org/mailman/listinfo/python-list

[issue41523] functools.cached_property does not satisfy the property check

2020-08-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Another possibility would be accept the reality of the switching delay (so all the other commands work without extra changes) and working to minimize it by setting sys.setswitchinterval() to something ridiculously low and then switching it back to

[issue41523] functools.cached_property does not satisfy the property check

2020-08-17 Thread William Pickard
William Pickard added the comment: Another thing to note Raymond, as I stated before, example C is, from an external context, is a plain property object who's "fget" attribute is an instance of whatever "lru_cache" returns. isinstance won't be able to differentiate between example "a" and

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We may need to think as well how some commands interest when you are in a different thread context. For instance, stepping into something when you are in a different thread is equivalent to setting a breakpoints in the next thread instruction, so

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: * Displaying all threads is trivial. * Stopping all threads is trivial because of the GIL. When pdb runs in a thread all other threads cannot execute python code. They can execute native code bit there is not much we can do about it. * Switching

[issue41523] functools.cached_property does not satisfy the property check

2020-08-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend closing this. As Serhiy pointed out, they are profoundly different. Currently, a user can rely on the isinstance() check to differentiate them. So, changing the behavior would be a regression. AFAICT, a user would not be able to deduce

Re:Re: why the connection set with “keep live” in urllib.request always set to be“closed, thanks

2020-08-17 Thread xuanwu348
This means I want to structure my request header with "Connection: keep alive" for the server which support connect alive, But I checked the requeset header send by myself, the connection still closed, no affect by set And I also found this in python document: ==

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
wyz23x2 added the comment: GH-21915 submitted. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +21031 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21915 ___ Python tracker ___

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
New submission from wyz23x2 : Release candidate is "rc" not "c"; Python 2.x is not supported anymore. -- assignee: docs@python components: Documentation messages: 375583 nosy: docs@python, wyz23x2 priority: normal severity: normal status: open title: Correct wrong sentences in General

[issue41541] [PATCH] Make pty.spawn set window size

2020-08-17 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Further note: login_tty will also enable us to set slave termios from the parent process in pty.spawn. Due to the fact that reviewing patches can be overwhelming, v0.5 removes a lot of stuff and instead simply performs window resize by calling ioctl

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-17 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +21030 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21914 ___ Python tracker

[issue30493] Increase coverage of base64

2020-08-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +21029 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21913 ___ Python tracker

[issue41572] Documentation wording fix on Lib/asyncio/transports.py

2020-08-17 Thread Cleber Rosa
New submission from Cleber Rosa : The docstring on asyncio.transports.BaseTransport.close() is missing a verb. -- assignee: docs@python components: Documentation messages: 375581 nosy: cleber.gnu, docs@python priority: normal severity: normal status: open title: Documentation wording

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg375580 ___ Python tracker ___ ___ Python-bugs-list

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: Allow pdb to switch to a different thread -> Implement thread-related commands in pdb ___ Python tracker ___

[issue41571] Allow pdb to switch to a different thread

2020-08-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Unfortunately, the thread experience with pdb is not as good as it could be due to the lack of thread-related commands. In other debuggers like gdb, is common to be able to do some of the following operations: * list all threads * switch the

[issue41571] Implement thread-related commands in pdb

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will start preparing some pull requests unless someone has any concerns about this -- ___ Python tracker ___

[issue41571] Allow pdb to switch to a different thread

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41555] re.sub replaces twice

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue41560] pathlib.Path.glob fails on empty string

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > This is not the desired or expected behaviour, which would be to just return > `path` if it exists. That's the expected behaviour if the call is successful (it does not violate any pre-condition. > This behaviour is also inconsistent with the

[issue1524081] logging using the SysLog handler fails if locale is set

2020-08-17 Thread Greg Price
Greg Price added the comment: For the record because this issue is mentioned in a comment in logging/handlers.py and people are sometimes confused by it today: > This happens because in that particular locale, > "INFO".lower() != "info" Since Python 3, this no longer happens: str.lower()

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread miss-islington
miss-islington added the comment: New changeset e3cafebb5cb2bc4df03afb03fa206a37d076d7ee by Miss Islington (bot) in branch '3.9': bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907) https://github.com/python/cpython/commit/e3cafebb5cb2bc4df03afb03fa206a37d076d7ee --

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-08-17 Thread Arturo Escaip
Arturo Escaip added the comment: Done. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-08-17 Thread Arturo Escaip
Change by Arturo Escaip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21027 pull_request: https://github.com/python/cpython/pull/21912 ___ Python tracker

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c3dd7e45cc5d36bbe2295c2840faabb5c75d83e4 by Paul Ganssle in branch 'master': bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907) https://github.com/python/cpython/commit/c3dd7e45cc5d36bbe2295c2840faabb5c75d83e4 --

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-17 Thread Stefan Krah
Stefan Krah added the comment: Well, I misunderstood this sentence then, so it's just for testing. :) > Our customers should use it or use ulimit -d. One will hit this issue also when following the MAX_PREC section in the FAQ, but that is a rare case:

[issue41100] Build failure on macOS 11 (beta)

2020-08-17 Thread Ned Deily
Ned Deily added the comment: New changeset a0ad82959652ff64c99231f457fd740b17330514 by Ned Deily in branch '3.7': bpo-41100: additional fixes for testing on macOS 11 Big Sur Intel https://github.com/python/cpython/commit/a0ad82959652ff64c99231f457fd740b17330514 --

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-17 Thread David Edelsohn
David Edelsohn added the comment: > About PSALLOC=early , I confirm that it perfectly fixes the issue. > I'm surprised, because it is unspeakably slow on this machine, These statements are not contradictory. No one is suggesting that Python always should run with PSALLOC=early. --

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-17 Thread Stefan Krah
Stefan Krah added the comment: > That's probably due to a very small size of the Paging Space of the AIX > machine you used for testing. That is the case, the machine has 160GB of memory and 1GB of paging space. I guess it is configured specifically for not freezing. > About PSALLOC=early

[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2020-08-17 Thread Irit Katriel
Irit Katriel added the comment: This seems resolved, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

Re: why the connection set with “keep live” in urllib.request always set to be“closed, thanks

2020-08-17 Thread Barry
> On 17 Aug 2020, at 18:23, xuanwu348 wrote: > > hi everyone > > > Good day, the code as below, I try to make a long connection by set the > connection to "keep-alive", but actually it's not as expected. Why? Thanks What this means is. Please web server keep the connect alive if you can.

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-17 Thread Yonatan Goldschmidt
Yonatan Goldschmidt added the comment: Hmm... I didn't think of overlapping lock periods. You are right, Dennis, a counter must be managed. -- ___ Python tracker ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-08-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8aa163eea6b0fb4693f6c0a314d4f2ccada51d70 by Hai Shi in branch 'master': bpo-1635741: Explict GC collect after PyInterpreterState_Clear() (GH-21902) https://github.com/python/cpython/commit/8aa163eea6b0fb4693f6c0a314d4f2ccada51d70 --

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-17 Thread R. David Murray
R. David Murray added the comment: Yes for the registry changes. I thought we had fixed the bug that was causing message-id to get encoded, but maybe it still exists in 3.7? I don't remember when we fixed it (and I may be remembering wrong!) As for X- "unstructured headers" getting

[issue41570] Add DearPyGui to faq/gui.rst

2020-08-17 Thread Jonathan Hoffstadt
Change by Jonathan Hoffstadt : -- keywords: +patch pull_requests: +21026 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21911 ___ Python tracker

[issue41570] Add DearPyGui to faq/gui.rst

2020-08-17 Thread Jonathan Hoffstadt
Change by Jonathan Hoffstadt : -- assignee: docs@python components: Documentation nosy: docs@python, jhoffstadt priority: normal severity: normal status: open title: Add DearPyGui to faq/gui.rst type: enhancement versions: Python 3.9 ___ Python

[issue41546] pprint() gives exception when ran from pythonw

2020-08-17 Thread Steve Dower
Steve Dower added the comment: I'm inclined to agree that it should pass silently in this case, as if it were printing with print() rather than .write(). What better meaning is there for sys.stdout == None than "no output"? -- versions: +Python 3.10 -Python 3.8

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread gia
Math should stop being standardized, as it could alienate people of other colors to it. Commit should be rewritten as "Remove book advert from comments". On Mon, Aug 17, 2020 at 1:39 PM Chris Angelico wrote: > On Tue, Aug 18, 2020 at 4:34 AM Dylan Distasio > wrote: > > > > That's quite an

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-08-17 Thread Irit Katriel
Irit Katriel added the comment: looks like this can be closed now? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2020-08-17 Thread Matt Prahl
Change by Matt Prahl : -- nosy: +mprahl nosy_count: 7.0 -> 8.0 pull_requests: +21025 pull_request: https://github.com/python/cpython/pull/21909 ___ Python tracker ___

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2020-08-17 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 6.0 -> 7.0 pull_requests: +21024 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/21908 ___ Python tracker

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread Chris Angelico
On Tue, Aug 18, 2020 at 4:34 AM Dylan Distasio wrote: > > That's quite an interesting ruling by the SC. I'm not surprised to see them > bend the knee to PC, but it is disheartening to see they're fine opening a > can of political worms in a programming language. I suspect they will > deplore

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread Dylan Distasio
That's quite an interesting ruling by the SC. I'm not surprised to see them bend the knee to PC, but it is disheartening to see they're fine opening a can of political worms in a programming language. I suspect they will deplore messages outside of their bubble though. On Mon, Aug 17, 2020 at

[issue40994] Very confusing documenation for abc.Collections

2020-08-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40815] Multiprocessing docs don't describe thread-safety

2020-08-17 Thread Irit Katriel
Irit Katriel added the comment: Probably another example: issue41567 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

Final statement from Steering Council on politically-charged commit messages

2020-08-17 Thread Chris Angelico
For context, see this commit: https://github.com/python/peps/commit/0c6427dcec1e98ca0bd46a876a7219ee4a9347f4 The commit message is highly politically charged and is now a permanent part of the Python commit history. The Python Steering Council has this to say:

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +21023 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21907 ___ Python tracker ___

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-17 Thread Peter Lovett
Peter Lovett added the comment: :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41569] json.JSONEncoder.default should be called for dict keys as well

2020-08-17 Thread David Byrne
New submission from David Byrne : Sub-classing and overriding json.JSONEncoder.default allows users to create custom serialisation for objects that can’t otherwise be serialized. However, this method is only called for dictionary values such that dictionary supported keys (i.e. hashable

why the connection set with “keep live” in urllib.request always set to be“closed, thanks

2020-08-17 Thread xuanwu348
hi everyone Good day, the code as below, I try to make a long connection by set the connection to "keep-alive", but actually it's not as expected. Why? Thanks import urllib.request as req headers = {"authorization": "Bearer {}".format(self.token), "Content-Type":

[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures

2020-08-17 Thread Larry Hastings
Larry Hastings added the comment: > Does testing with the environment variable OPENSSL_CONF=/non-existing-file > workaround the remaining issues? Sadly, no. I get the same failures whether or not that environment variable is set. And I confirmed that the environment variable survives

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-17 Thread Paul Ganssle
Paul Ganssle added the comment: There are two refleaks here. One is a reference leaking to the weak cache in `__init_subclass__` (one leak every time a subclass is created), and the other is that when `subclass.clear_cache()` is called, it sets `ZONEINFO_STRONG_CACHE = NULL`, thus causing a

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-17 Thread Dennis Sweeney
Dennis Sweeney added the comment: FWIW I forgot the gc.disable() line in the contextmanager, but what I said still applies. -- ___ Python tracker ___

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-17 Thread Dennis Sweeney
Dennis Sweeney added the comment: The save-a-boolean-for-each-context-manager approach has an issue if used with concurrent generators, where the lifetimes of two generator objects might be overlapping but not completely nested, as shown below. The same issue should arise when using

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2020-08-17 Thread Irit Katriel
Irit Katriel added the comment: I think this is no a bug, on the basis that multiprocessing.Pool is not thread-safe. -- ___ Python tracker ___

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-17 Thread Steve Dower
Steve Dower added the comment: Thanks for the report! This should be in the next 3.9 RC. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-17 Thread Eric V. Smith
Eric V. Smith added the comment: We need to know how to trigger the problem you're seeing. You need to provide code we can run that shows the error you're seeing. -- ___ Python tracker

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread jack1142
Change by jack1142 : -- nosy: +jack1142 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-17 Thread Matt Joiner
Matt Joiner added the comment: https://github.com/python/cpython/blob/48b069a003ba6c684a9ba78493fbbec5e89f10b8/Lib/_collections_abc.py#L953 https://github.com/python/cpython/blob/0e95bbf08571e98f4b688524efc2dcf20d315d91/Lib/typing.py#L1612 -- status: pending -> open

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-08-17 Thread hai shi
Change by hai shi : -- pull_requests: +21022 pull_request: https://github.com/python/cpython/pull/21902 ___ Python tracker ___

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread miss-islington
miss-islington added the comment: New changeset d6bdf6d52f0400df1bd1dce24aaad9514015c755 by Miss Islington (bot) in branch '3.9': bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852)

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread miss-islington
miss-islington added the comment: New changeset 1baa8b14ee23ef3040923f53565c8d1bafd28117 by Miss Islington (bot) in branch '3.8': bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852)

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> p-ganssle priority: normal -> release blocker versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue41568] test_zoneinfo leaked [84, 84, 84] references

2020-08-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : OK (skipped=26) .. test_zoneinfo leaked [84, 84, 84] references, sum=252 test_zoneinfo leaked [41, 41, 41] memory blocks, sum=123 1 test failed again: test_zoneinfo == Tests result: FAILURE then FAILURE == Example failure:

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread Stefan Behnel
Stefan Behnel added the comment: > libdeflate and isa-l use different compression ratio's for the levels. I don't see why these would need to translate 1:1. The zlib module is a Python API wrapper, it can do its own mapping here, or use the libraries selectively only for some compression

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +21020 pull_request: https://github.com/python/cpython/pull/21903 ___ Python tracker ___

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +21021 pull_request: https://github.com/python/cpython/pull/21904 ___ Python tracker ___

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-17 Thread miss-islington
miss-islington added the comment: New changeset 29f84294d88ec493c2de9d6e8dbc12fae3778771 by James Weaver in branch 'master': bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852)

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread Ruben Vorderman
Ruben Vorderman added the comment: nasm or yasm will work. I only have experience building it with nasm. But yes that is indeed a dependency. Personally I do not see the problem with adding nasm as a build dependency, as it opens up possibilities for even more performance optimizations in

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread Stefan Behnel
Stefan Behnel added the comment: What about building the library? The readme says it needs nasm? That's not a standard dependency for the CPython build currently, which relies solely on a C compiler. -- ___ Python tracker

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread Stefan Behnel
Stefan Behnel added the comment: > This has to be in a PEP No, the bug tracker seems fine for this. -- nosy: +scoder resolution: not a bug -> stage: resolved -> needs patch status: closed -> open type: -> performance ___ Python tracker

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2020-08-17 Thread Irit Katriel
Irit Katriel added the comment: I see the same in Python 3.10 on windows 10. If I change the relative imports to absolute imports in a couple of functions in multiprocessing.context as below, the attached (pool_error_on_3.9.py) script not longer raises the exception. def

[issue41292] Dead link in Windows FAQ

2020-08-17 Thread Nathaniel Manista
Change by Nathaniel Manista : -- nosy: +Nathaniel Manista ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2020-08-17 Thread Nathaniel Manista
Change by Nathaniel Manista : -- nosy: +Nathaniel Manista ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[Release] Pyo 1.0.2 (Python dsp library)

2020-08-17 Thread Olivier Bélanger
Hello all, I'm very happy to announce the release of pyo 1.0.1, available for python 3.6, 3.7 and 3.8. Pyo is a Python module written in C to help real-time digital signal processing script creation. It provides a complete set of classes to build audio softwares, compose algorithmic musics or

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-17 Thread Yonatan Goldschmidt
Yonatan Goldschmidt added the comment: > This is exactly the motivation for context managers, no? I attached no_gc.py, > which works when nested and should additionally be thread-safe. My solution was roughly the same (also a context manager, but a bit simplified because I didn't need

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2020-08-17 Thread Carl Drougge
New submission from Carl Drougge : If several threads try to start a multiprocessing.Pool at the same time when no pool has been started before this often fails with an exception like this (the exact import varies): Exception in thread Thread-2: Traceback (most recent call last): File

[issue41032] locale.setlocale example incorrect

2020-08-17 Thread MarcoBakera
MarcoBakera added the comment: I have only reported the bug and do not know exactly how to proceed. I don't think there's anything wrong with taking over the bug. -- ___ Python tracker

[issue41563] .python_history file causes considerable slowdown

2020-08-17 Thread bytecookie
bytecookie added the comment: > it is your responsibility to set a maximum history length. No, sorry. The problem is not the history file, is the massive slow down it causes. And if you have to utilize a process monitoring tool to find out that the history file is the cause, its not a

[issue41563] .python_history file causes considerable slowdown

2020-08-17 Thread Steven D'Aprano
Steven D'Aprano added the comment: > My history file is only 500 lines. *slaps forehead* Of course it is, I'm running a customer history hook that has a limit of 500 lines in the history file. It looks to me that by default the history feature is set to unlimited lines, so I guess that

[issue41563] .python_history file causes considerable slowdown

2020-08-17 Thread Steven D'Aprano
Steven D'Aprano added the comment: How very odd. I use the Python interactive interpreter extensively, and have done so for years. My history file is only 500 lines. Did you happen to inspect the file before deleting it to see if it contained something odd? What does this print for you?

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-17 Thread Tony Reix
Tony Reix added the comment: Hi Stefan, In your message https://bugs.python.org/issue41540#msg375462 , you said: "However, instead of freezing the machine, the process gets a proper SIGKILL almost instantly." That's probably due to a very small size of the Paging Space of the AIX machine

[issue41566] Include much faster DEFLATE implementations in Python's gzip and zlib libraries. (isa-l)

2020-08-17 Thread Ruben Vorderman
Ruben Vorderman added the comment: This has to be in a PEP. I am sorry I missplaced it on the bugtracker. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows

2020-08-17 Thread Eryk Sun
Eryk Sun added the comment: > I'm not sure if "}" could ever be valid drive letter The Windows file API is designed in a way to support almost any Unicode BMP character in a DOS drive designation. For example, the following creates "{:" as a substitute drive for "C:\\Temp": >>>

[issue41546] pprint() gives exception when ran from pythonw

2020-08-17 Thread Vedran Čačić
Vedran Čačić added the comment: The big part of the justification for making print a function in Py3 is that it can be painlessly replaced with other functions, such as (example given by BDFL) pprint.pprint. I think we should do what we can to make the replacement as painless as possible.

  1   2   >