[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-12-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 00ada2c1d57c5b8b468bad32ff24fa14113ae5c7 by Victor Stinner (xdegaye) in branch 'master': bpo-38852: Set thread stack size to 8 Mb for debug builds on android platforms (GH-17337)

[issue38991] Remove test.support.strip_python_stderr()

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

[issue38991] Remove test.support.strip_python_stderr()

2019-12-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6cac1136665b70f72db291b95876d7affcf1d2db by Victor Stinner in branch 'master': bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) https://github.com/python/cpython/commit/6cac1136665b70f72db291b95876d7affcf1d2db --

[issue38708] parse_message_id in email module is very buggy / crashy

2019-12-07 Thread Abhilash Raj
Change by Abhilash Raj : -- keywords: +patch pull_requests: +16981 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17504 ___ Python tracker ___

[issue38698] While parsing email message id: UnboundLocalError

2019-12-07 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +16980 pull_request: https://github.com/python/cpython/pull/17503 ___ Python tracker ___

Re: stuck on time

2019-12-07 Thread Terry Reedy
On 12/7/2019 1:56 PM, RobH wrote:     current_time = time.strftime("%I:%M")<<< stays at this line in an interactive Python interpreter ? In IDLE on Windows with 3.7 and 3.9, time.strftime runs fine. >>> import time >>> time.strftime("%I:%M") '11:48' >>> current_time =

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-07 Thread Ned Deily
Change by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38995] reverse search (ctrl-r) doest not work

2019-12-07 Thread Ned Deily
Ned Deily added the comment: Most likely what is happening is that the two Python instances you are using are linked to different versions of the external readline library. From the version information, it's clear that you are using the Python 3.8.0 from the python.org macOS installer.

[issue38995] reverse search (ctrl-r) doest not work

2019-12-07 Thread sush
New submission from sush : On my MacOS Mojave 10.14.6 (18G103), after upgrading python to python 3.8, the ctrl-r on the python interpreter does not work. Here is the working python 3.7 version: ``` $ python3.7 --version Python 3.7.3 $ python3.7 Python 3.7.3 (default, Mar 27 2019,

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-07 Thread Kyle Stanley
Kyle Stanley added the comment: > Where are we with this? The deadline for 3.8.1 and 3.7.6 is coming up in a > few days. I believe we're just waiting on review and additional feedback on GH-17311, which implements Antoine's proposal. The only remaining component I can think of is the

Re: IOError: cannot open resource

2019-12-07 Thread Python
RobH wrote: On 07/12/2019 16:04, Peter Otten wrote: RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ I get this error: pi@raspberrypi:~/Downloads $ python interdisplay.py

Re: stuck on time

2019-12-07 Thread RobH
On 07/12/2019 21:22, Karsten Hilbert wrote: On Sat, Dec 07, 2019 at 08:38:20PM +, RobH wrote: I have tried the code in Thonny and ran it Notice how I said "line", not "code". If you hope to debug anything you need to be precise. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80

Re: Unicode filenames

2019-12-07 Thread Chris Angelico
On Sun, Dec 8, 2019 at 8:33 AM Bob van der Poel wrote: > Yeah, heard all that before :) But, seriously, I wonder how many short > (less than 100 lines) programs there are out there written in py2 that will > not run in py3. Good thing py2 will still be available to be installed for > many, many

Re: Unicode filenames

2019-12-07 Thread Bob van der Poel
On Sat, Dec 7, 2019 at 12:47 PM DL Neil via Python-list < python-list@python.org> wrote: > On 8/12/19 5:50 AM, Bob van der Poel wrote: > > On Sat, Dec 7, 2019 at 4:00 AM Barry Scott > wrote: > >>> On 6 Dec 2019, at 18:17, Bob van der Poel wrote: > >>> > >>> I have some files which came off the

[issue38981] better name for re.error Exception class.

2019-12-07 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +16979 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17501 ___ Python tracker

Re: stuck on time

2019-12-07 Thread Karsten Hilbert
On Sat, Dec 07, 2019 at 08:38:20PM +, RobH wrote: > I have tried the code in Thonny and ran it Notice how I said "line", not "code". If you hope to debug anything you need to be precise. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B --

SQLObject 3.8.0

2019-12-07 Thread Oleg Broytman
Hello! I'm pleased to announce version 3.8.0, the first stable release of branch 3.8 of SQLObject. What's new in SQLObject === Features * Add driver ``supersqlite``. Not all tests are passing so the driver isn't added to the list of default drivers. Minor

[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled

2019-12-07 Thread Ned Deily
Ned Deily added the comment: > I'll elevate the status so that we don't forget before 3.8.1 is too close Andrew, Yury: ping. 3.8.1 cutoff is approaching. -- nosy: +ned.deily ___ Python tracker

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

2019-12-07 Thread Ned Deily
Ned Deily added the comment: What is the status of this issue? Now that Issue38576 has been opened to cover the host address part, can this issue be closed or downgraded? Should Issue38576 be a release blocker? -- ___ Python tracker

Re: stuck on time

2019-12-07 Thread RobH
On 07/12/2019 19:15, Karsten Hilbert wrote: On Sat, Dec 07, 2019 at 06:56:17PM +, RobH wrote: What happens if your run this line: current_time = time.strftime("%I:%M")<<< stays at this line in an interactive Python interpreter ? (after you define "time" appropriately)

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-07 Thread Ned Deily
Ned Deily added the comment: > I'll elevate the status so that I don't forget before 3.8.1. Ping, 3.8.1 cutoff is coming up very soon. -- ___ Python tracker ___

[issue38981] better name for re.error Exception class.

2019-12-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Strictly speaking not all of those _need_ to be touched given the old name is always going to exist for backwards compatibility. But I agree that we should update them as part of this regardless. I'd go forward with a PR. The only fallout I expect a

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-07 Thread Ned Deily
Ned Deily added the comment: Where are we with this? The deadline for 3.8.1 and 3.7.6 is coming up in a few days. -- ___ Python tracker ___

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-12-07 Thread Ned Deily
Ned Deily added the comment: It looks like the only thing left to do yet for this issue is to finish the review of and merge the PR that actually implements the new parameter. Removing the Deferred Blocker status and deselecting releases other than 3.9. -- priority: deferred

Re: Vim settings for Python (was: tab replace to space 4)

2019-12-07 Thread Bill Campbell
On Sat, Dec 07, 2019, Peter J. Holzer wrote: >As an aside, to prevent vim from inserting tabs in the first place, set >expandtab >sw=4 >and maybe also >ts=4 Inserting a comment in the file like this makes thing easy. # vim: expandtab sw=4 ts=4 nows wm=0 Bill -- INTERNET:

Re: Unicode filenames

2019-12-07 Thread DL Neil via Python-list
On 8/12/19 5:50 AM, Bob van der Poel wrote: On Sat, Dec 7, 2019 at 4:00 AM Barry Scott wrote: On 6 Dec 2019, at 18:17, Bob van der Poel wrote: I have some files which came off the net with, I'm assuming, unicode characters in the names. I have a very short program which takes the filename

Re: stuck on time

2019-12-07 Thread Karsten Hilbert
On Sat, Dec 07, 2019 at 06:56:17PM +, RobH wrote: > > What happens if your run this line: > > > > > current_time = time.strftime("%I:%M")<<< stays at this line > > > > in an interactive Python interpreter ? > > > > (after you define "time" appropriately) > > The python code is in a

Re: stuck on time

2019-12-07 Thread RobH
On 07/12/2019 17:54, Karsten Hilbert wrote: On Sat, Dec 07, 2019 at 05:48:00PM +, RobH wrote: What happens if your run this line: current_time = time.strftime("%I:%M")<<< stays at this line in an interactive Python interpreter ? (after you define "time" appropriately)

[issue35048] Can't reassign __class__ despite the assigned class having identical slots

2019-12-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: The relevant logic is in the compatible_for_assignment() function on line 3972 in Objects/typeobject.c. After checking that the tp_free slots are the same, it proceeds as follows: /* It's tricky to tell if two arbitrary types are sufficiently

SQLObject 3.8.0

2019-12-07 Thread Oleg Broytman
Hello! I'm pleased to announce version 3.8.0, the first stable release of branch 3.8 of SQLObject. What's new in SQLObject === Features * Add driver ``supersqlite``. Not all tests are passing so the driver isn't added to the list of default drivers. Minor

Re: Developers are advised to purge these malicious packages

2019-12-07 Thread David Lowry-Duda
On Wed, Dec 04, 2019 at 07:17:58PM +0100, Christian Heimes wrote: > > At least the first pages are packaging files for Debian, Fedora, and > other Linux distributions. Downstream distributions provide a Python > > > > Attackers abuse the fact and try to typo-squat packages in hope that >

[issue38981] better name for re.error Exception class.

2019-12-07 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Thanks Serhiy, Here is a rough idea of how many places would be touched by renaming in the `re` module: https://github.com/Carreau/cpython/commit/59e4c5150c842f849ff3a9ba8a94df1df7a5eb1c (50 additions and 42 deletions.). I haven't found any places

Re: stuck on time

2019-12-07 Thread Karsten Hilbert
On Sat, Dec 07, 2019 at 05:48:00PM +, RobH wrote: What happens if your run this line: > current_time = time.strftime("%I:%M")<<< stays at this line in an interactive Python interpreter ? (after you define "time" appropriately) Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0

stuck on time

2019-12-07 Thread RobH
I am trying to do this project on a pi zero: http://frederickvandenbosch.be/?p=1365 After overcoming a few errors, I now have the display working and the start of the code showing on the display, that being the time. It doesn't move on to the next part of the code ie, no rectangle drawn def

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:58, Michael Torrie wrote: On 12/7/19 9:48 AM, RobH wrote: On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in

[issue38820] Make Python compatible with OpenSSL 3.0.0

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset a197f8aa7493e66bc54c3db8f796d00cef1c3042 by Miss Islington (bot) in branch '3.7': [3.7] bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) (GH-17500) https://github.com/python/cpython/commit/a197f8aa7493e66bc54c3db8f796d00cef1c3042 --

[issue38820] Make Python compatible with OpenSSL 3.0.0

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset 9d3cacd5901f8fbbc4f8b78fc35abad01a0e6546 by Miss Islington (bot) in branch '3.8': [3.8] bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) (GH-17499) https://github.com/python/cpython/commit/9d3cacd5901f8fbbc4f8b78fc35abad01a0e6546 --

[issue38820] Make Python compatible with OpenSSL 3.0.0

2019-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +16977 pull_request: https://github.com/python/cpython/pull/17499 ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset 2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) https://github.com/python/cpython/commit/2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244

Re: IOError: cannot open resource

2019-12-07 Thread Michael Torrie
On 12/7/19 9:48 AM, RobH wrote: > On 07/12/2019 16:00, Dan Sommers wrote: >> On 12/7/19 9:43 AM, RobH wrote: >>> When I run a python project with an oled display on a rasperry pi zero, >>> it calls for the Minecraftia.ttf font. I have the said file in >>> home/pi/.fonts/ >> >> Do you mean

[issue38820] Make Python compatible with OpenSSL 3.0.0

2019-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +16978 pull_request: https://github.com/python/cpython/pull/17500 ___ Python tracker ___

Re: Unicode filenames

2019-12-07 Thread Bob van der Poel
On Sat, Dec 7, 2019 at 4:00 AM Barry Scott wrote: > > > > On 6 Dec 2019, at 18:17, Bob van der Poel wrote: > > > > I have some files which came off the net with, I'm assuming, unicode > > characters in the names. I have a very short program which takes the > > filename and puts into an emacs

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:04, Peter Otten wrote: RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ I get this error: pi@raspberrypi:~/Downloads $ python interdisplay.py Traceback (most

Re: Error getting data from website

2019-12-07 Thread Michael Torrie
On 12/7/19 3:53 AM, Peter Otten wrote: > > ... because Amazon doesn' like what you do. You can cheat or play by their > rules and use the API. Yup and although I have no love for Amazon, I can understand why they don't want bots on the site. Already they have enough trouble with bots buying up

Re: IOError: cannot open resource

2019-12-07 Thread Dan Sommers
On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path rather than a relative one)? Dan --

Re: IOError: cannot open resource

2019-12-07 Thread Peter Otten
RobH wrote: > When I run a python project with an oled display on a rasperry pi zero, > it calls for the Minecraftia.ttf font. I have the said file in > home/pi/.fonts/ > > I get this error: > > pi@raspberrypi:~/Downloads $ python interdisplay.py > Traceback (most recent call last): >File

[issue38994] Implement __class_getitem__ for PathLike

2019-12-07 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +16976 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17498 ___ Python tracker ___

[issue38994] Implement __class_getitem__ for PathLike

2019-12-07 Thread Batuhan
New submission from Batuhan : Typeshed already using __class_getitem__ syntax for PathLike https://github.com/python/typeshed/search?q=PathLike_q=PathLike -- components: Library (Lib) messages: 357978 nosy: BTaskaya, asvetlov priority: normal severity: normal status: open title:

[issue38978] Implement __class_getitem__ for Future, Task, Queue

2019-12-07 Thread Batuhan
Batuhan added the comment: > I think that applying the same to PathLike makes sense as well, but it > deserves another issue. Yes, it looks like they are using that in typeshed. I'm opening another issue with a patch. Thanks for reminding that --

IOError: cannot open resource

2019-12-07 Thread RobH
When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ I get this error: pi@raspberrypi:~/Downloads $ python interdisplay.py Traceback (most recent call last): File "interdisplay.py", line 220,

[issue29636] Specifying indent in the json.tool command

2019-12-07 Thread Inada Naoki
Inada Naoki added the comment: New changeset 15fb7fa88187f5841088721a43609bffe64a8dc7 by Inada Naoki (Daniel Himmelstein) in branch 'master': bpo-29636: json.tool: Add document for indentation options. (GH-17482)

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2019-12-07 Thread Batuhan
Batuhan added the comment: @vstinner > Tools/importbench/importbench.py:10:import imp > I think that it's fine to keep imp there. Any reason to keep imp there? We can just port it to sole importlib (it already uses it in some places) -- nosy: +BTaskaya

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-07 Thread AVicennA
Change by AVicennA : -- components: Library (Lib) files: cProfiling.txt nosy: AvicennA priority: normal severity: normal status: open title: cProfile behaviour issue with decorator and math.factorial() lib. type: behavior versions: Python 3.8 Added file:

Re: Vim settings for Python

2019-12-07 Thread 황병희
Hello Peter^^^ > As an aside, to prevent vim from inserting tabs in the first place, set > expandtab > sw=4 > and maybe also > ts=4 > (The latter is very much a matter of taste. I don't unless I have to > edit code which already contains tabs intended to be at a certain width.)

[issue38979] ContextVar[str] should return ContextVar class, not None

2019-12-07 Thread Amir Mohamadi
Change by Amir Mohamadi : -- keywords: +patch pull_requests: +16975 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17497 ___ Python tracker ___

[issue38652] Remove/update provisional note for asyncio.BufferedProtocol

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

[issue38652] Remove/update provisional note for asyncio.BufferedProtocol

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset 4443450fdaf248427cf4a00a6ee36229e6402ec6 by Miss Islington (bot) (Anj-A) in branch 'master': bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047)

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 930cef2770b641f49e69b67840daaa53b65cd0e0 by Andrew Svetlov in branch '3.8': [3.8] bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457) (#17496)

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-07 Thread Peter J. Holzer
On 2019-12-05 19:30:31 +, Rhodri James wrote: > On 05/12/2019 18:49, RobH wrote: > > TabError: inconsistent use of tabs and spaces in indentation > > The problem will be that you have a mix of tabs and spaces in your > indentation. This causes problems because some people don't think that

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +lemburg, mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset a85066df9423d381e6b233469b00db55563a9f80 by Miss Islington (bot) in branch '3.7': bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457)

Re: JavaScript Calculator Program

2019-12-07 Thread Chris Angelico
On Sat, Dec 7, 2019 at 11:21 PM ferzan saglam wrote: > > Hi People, I am working on a simple calculator which uses operands (+-*/). > The program allows me to choose an operand and enter the first two values, > but when it gets to doing the maths, it gives me an error on > "console.log ("The

JavaScript Calculator Program

2019-12-07 Thread ferzan saglam
Hi People, I am working on a simple calculator which uses operands (+-*/). The program allows me to choose an operand and enter the first two values, but when it gets to doing the maths, it gives me an error on "console.log ("The result is ", res);" under the + operand. (error code reads:

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Batuhan
Change by Batuhan : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Unicode filenames

2019-12-07 Thread Barry Scott
> On 6 Dec 2019, at 18:17, Bob van der Poel wrote: > > I have some files which came off the net with, I'm assuming, unicode > characters in the names. I have a very short program which takes the > filename and puts into an emacs buffer, and then lets me add information to > that new file

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +16974 pull_request: https://github.com/python/cpython/pull/17496 ___ Python tracker ___

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset 892f9e0777f262d366d4747a54c33a1c15a49da6 by Miss Islington (bot) (idomic) in branch 'master': bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457)

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +16973 pull_request: https://github.com/python/cpython/pull/17495 ___ Python tracker ___

[issue38986] Suppport TaskWakeupMethWrapper.__self__ to conform asyncio _format_handle logic

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

Re: Zipapp can't find sqlite db

2019-12-07 Thread Barry Scott
> On 7 Dec 2019, at 10:07, dieter wrote: > > Abdur-Rahmaan Janhangeer writes: >> I'm using zipapp to include a gui + db >> >> __main__.py >> dbs/ >>file.db >> >> When packaging, the db is there. When querying through sqlalchemy, it says >> can't open db file. Help appreciated! > > I

[issue38529] Python 3.8 improperly warns about closing properly closed streams

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

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset 7fde4f446a3dcfed780a38fbfcd7c0b4d9d73b93 by Miss Islington (bot) in branch '3.8': bpo-38529: Fix asyncio stream warning (GH-17474) https://github.com/python/cpython/commit/7fde4f446a3dcfed780a38fbfcd7c0b4d9d73b93 -- nosy:

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
Change by Xavier de Gaye : Added file: https://bugs.python.org/file48763/foo.arm64 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
New submission from Xavier de Gaye : Title: testFsum failure caused by constant folding of a float expression Description: Python (Python 3.9.0a1+ heads/master-dirty:ea9835c5d1) is built on a Linux x86_64. This native interpreter is used to cross-compile Python (using the same

[issue38986] Suppport TaskWakeupMethWrapper.__self__ to conform asyncio _format_handle logic

2019-12-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +16972 pull_request: https://github.com/python/cpython/pull/17494 ___ Python tracker ___

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-07 Thread Peter J. Holzer
On 2019-12-02 09:55:16 -0800, Rob Gaddi wrote: > The struct situation is, as you said, a bit different. I believe that with > the default native alignment @, you're seeing 4-byte data padded to an > 8-byte alignment, not 8-byte data. Nope. That's really an 8 byte long: Python 3.7.3

[issue38986] Suppport TaskWakeupMethWrapper.__self__ to conform asyncio _format_handle logic

2019-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +16971 pull_request: https://github.com/python/cpython/pull/17493 ___ Python tracker ___

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 7ddcd0caa4c2e6b43265df144f59c5aa508a94f2 by Andrew Svetlov in branch 'master': bpo-38529: Fix asyncio stream warning (GH-17474) https://github.com/python/cpython/commit/7ddcd0caa4c2e6b43265df144f59c5aa508a94f2 --

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-07 Thread Peter J. Holzer
On 2019-12-05 09:27:43 +, Barry Scott wrote: > On 3 Dec 2019, at 01:50, Richard Damon wrote: > > On 12/2/19 4:25 PM, Barry Scott wrote: > > x=struct.pack('L',0x102030405) > > x > >> b'\x05\x04\x03\x02\x01\x00\x00\x00' > >> > >> Given I have exact control with b, h, i, and q but L is

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +16970 pull_request: https://github.com/python/cpython/pull/17492 ___ Python tracker ___

[issue38978] Implement __class_getitem__ for Future, Task, Queue

2019-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done. I think that applying the same to PathLike makes sense as well, but it deserves another issue. -- ___ Python tracker ___

[issue38978] Implement __class_getitem__ for Future, Task, Queue

2019-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Batuhan! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38978] Implement __class_getitem__ for Future, Task, Queue

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

[issue38978] Implement __class_getitem__ for Future, Task, Queue

2019-12-07 Thread miss-islington
miss-islington added the comment: New changeset dec367261e7e2bb4dd42feeb58031abed2ade683 by Miss Islington (bot) (Batuhan Taşkaya) in branch 'master': bpo-38978: Implement __class_getitem__ for asyncio objects (GH-17491)

Re: Error getting data from website

2019-12-07 Thread Peter Otten
Michael Torrie wrote: > On 12/6/19 5:31 PM, DL Neil via Python-list wrote: >> If you read the HTML data that the REPL has happily splattered all over >> your terminal's screen (scroll back) (NB "soup" is easier to read than >> is "content"!) you will observe that what you saw in your web-browser

[issue38978] Implement __class_getitem__ for Future, Task, Queue

2019-12-07 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +16969 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17491 ___ Python tracker ___

Re: Vim settings for Python (was: tab replace to space 4)

2019-12-07 Thread Bev In TX
> On Dec 7, 2019, at 4:16 AM, Peter J. Holzer wrote: > > As an aside, to prevent vim from inserting tabs in the first place, set >expandtab >sw=4 > and maybe also >ts=4 > (The latter is very much a matter of taste. I don't unless I have to > edit code which already contains tabs

[issue38979] ContextVar[str] should return ContextVar class, not None

2019-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think it should look like the corresponding function from multidict: https://github.com/aio-libs/multidict/blob/master/multidict/_multidict.c#L803-L808 Please note, the method definition also should be updated, see

Vim settings for Python (was: tab replace to space 4)

2019-12-07 Thread Peter J. Holzer
On 2019-11-29 13:46:38 +0900, 황병희 wrote: > usally i write python code in gnu emacs on ubuntu 18.04 sometimes i > re-edit the code vim in same machine so often when i do run the code in > shell like as ./test.py i meet consol error -- which line wrong! > > so i am considering how can i replace all

Re: Zipapp can't find sqlite db

2019-12-07 Thread dieter
Abdur-Rahmaan Janhangeer writes: > I'm using zipapp to include a gui + db > > __main__.py > dbs/ > file.db > > When packaging, the db is there. When querying through sqlalchemy, it says > can't open db file. Help appreciated! I am unsure what you mean with "packaging". If you mean "create a

[issue35048] Can't reassign __class__ despite the assigned class having identical slots

2019-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35048] Can't reassign __class__ despite the assigned class having identical slots

2019-12-07 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38981] better name for re.error Exception class.

2019-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9529] Make re match object iterable

2019-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch -easy resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

Re: Unicode filenames

2019-12-07 Thread Peter Otten
Bob van der Poel wrote: > I have some files which came off the net with, I'm assuming, unicode > characters in the names. I have a very short program which takes the > filename and puts into an emacs buffer, and then lets me add information > to that new file (it's a poor man's DB). > > Next, I

[issue38979] ContextVar[str] should return ContextVar class, not None

2019-12-07 Thread Amir Mohamadi
Amir Mohamadi added the comment: @asvetlov I have a question! Should "contextvar_cls_getitem" function be changed? And can you please help me figure out how to change it? -- nosy: +Amir -DahlitzFlorian, gvanrossum, levkivskyi, yselivanov ___