[issue45971] calendar module issue

2021-12-02 Thread Vedran Čačić

Vedran Čačić  added the comment:

https://docs.python.org/3/library/calendar.html#module-calendar

The functions and classes defined in this module use an idealized calendar, the 
current Gregorian calendar extended indefinitely in both directions.

https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar

Even if we decide to change this, this is the thing locale should worry about: 
not every place adopted Gregorian Calendar at the same time, nor in the same 
way.

--
nosy: +veky

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45971] calendar module issue

2021-12-02 Thread Venkata Raman S S V


New submission from Venkata Raman S S V :

In Ubuntu 20.04.3 LTS  -  OS Type: 64-bit.

$ cal sep 1752
   September 1752 
Su Mo Tu We Th Fr Sa  
   1  2 14 15 16  
17 18 19 20 21 22 23  
24 25 26 27 28 29 30  



$ python3
Python 3.8.10 (default, Sep 28 2021, 16:10:42) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import calendar as cl
yy=1752
mm=9

print(cl.month(yy,mm))
   September 1752
Mo Tu We Th Fr Sa Su
 1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 

Note: Sep. 1752 had only 19 days. ( 11 days skipped )

--
components: Extension Modules
messages: 407567
nosy: ssv5088
priority: normal
severity: normal
status: open
title: calendar module issue
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45970] Py_NewInterpreter causes bogus fatal error along the failure path

2021-12-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 1.0 -> 2.0
pull_requests: +28124
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29900

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45970] Py_NewInterpreter causes bogus fatal error along the failure path

2021-12-02 Thread Jason Haslam


New submission from Jason Haslam :

The failure cleanup of `Py_NewInterpreter` causes a bogus fatal error on the 
call to `PyThreadState_Delete`. The error is about deleting the current thread 
state. The saved thread state should be swapped back in *before* deleting the 
new thread state.

--
components: C API
messages: 407566
nosy: jason.haslam
priority: normal
severity: normal
status: open
title: Py_NewInterpreter causes bogus fatal error along the failure path
type: crash
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45582] Rewrite getpath.c in Python

2021-12-02 Thread Eric Snow


Eric Snow  added the comment:

Hurray!  Thanks, Steve!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45969] When uninstalling Python under Windows the "Scripts" folders should be removed from the PATH environment variable

2021-12-02 Thread Steve Dower


Steve Dower  added the comment:

Unless someone can find an authoring bug under Tools/msi, I don't think we can 
do anything about this. We rely on the built-in Windows support for adding and 
removing these variables, and if that's broken, we can't do anything with our 
current setup.

I really want to get us out of this addiction to cluttering up PATH with lots 
of different directories - it's bad for security/reliability/etc. of the system 
as a whole, and I don't like Python being the cause of issues here. But I 
haven't quite come up with the better design yet... 

Anyway, all that to say that I'm not in any rush to expand or seriously mess 
with the current PATH settings. If there's an authoring bug we can fix, great, 
but I don't think this one is on us in a way we can easily deal with.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45966] Error in Multiplication

2021-12-02 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

https://docs.python.org/3/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations

--
nosy: +steven.daprano

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45582] Rewrite getpath.c in Python

2021-12-02 Thread Steve Dower


Steve Dower  added the comment:

It's done! Those were some of the hardest memory leaks I've had to track down, 
but it should be clear now.

As I mentioned in the commit message, this change attempts to preserve every 
known quirk. However, I think these ought to be streamlined across platforms to 
improve the code and/or startup performance.

But at least we know now that any changes in the future that require test 
changes are expected, and not the result of this change :)

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45582] Rewrite getpath.c in Python

2021-12-02 Thread Steve Dower


Steve Dower  added the comment:


New changeset 99fcf1505218464c489d419d4500f126b6d6dc28 by Steve Dower in branch 
'main':
bpo-45582: Port getpath[p].c to Python (GH-29041)
https://github.com/python/cpython/commit/99fcf1505218464c489d419d4500f126b6d6dc28


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36338] urlparse of urllib returns wrong hostname

2021-12-02 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> ansible-5.0.0

Reported upstream (it's a single file, used for tests):
https://github.com/ansible/ansible/issues/76452


> gevent-21.8.0

It's https://github.com/gevent/gevent/tree/master/src/greentest directory which 
contains subsets of the Python test suite. I guess that when they will copy the 
Python 3.11 tests, it will be fine.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

According to a code search in the PyPI top 5000 projects: the source code of 21 
projects contains "import asyncore", "import asynchat" or "import smtpd":

* ansible-5.0.0
* cassandra-driver-3.25.0
* django-extensions-3.1.5
* eth_abi-2.1.1
* eth-account-0.5.6
* eth-hash-0.3.2
* eth-utils-2.0.0
* gevent-21.8.0
* h5py-3.6.0
* hexbytes-0.2.2
* jedi-0.18.1
* M2Crypto-0.38.0
* mercurial-6.0
* mypy-0.910
* plac-1.3.3
* pyftpdlib-1.5.6
* pyinotify-0.9.6
* pysnmp-4.4.12
* pytest-localserver-0.5.1
* pytype-2021.11.29
* tlslite-0.4.9

I ignored false positives like "from eventlet(...) import asyncore".

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36338] urlparse of urllib returns wrong hostname

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

It produces a deprecation warning on 3.11, but still does the same.

>>> urlparse('http://benign.com\[attacker.com]').hostname
:1: DeprecationWarning: invalid escape sequence '\['
'attacker.com'

--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11 -Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Ali Amin-Nejad


Ali Amin-Nejad  added the comment:

Thanks Serhiy, the output is:

['StateSpec']
['']

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24966] shutil.get_terminal_size() throws ValueError if stdout is detached, no fallback

2021-12-02 Thread Eryk Sun


Eryk Sun  added the comment:

This was fixed in 3.5.

--
nosy: +eryksun
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Fix shutil.get_terminal_size() to catch AttributeError

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14856] argparse: creating an already defined subparsers does not raises an exception

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

The open patch deprecates overriding the parser with add_parser, but it does 
not add the new set_parser method that Steven suggested.

--
nosy: +iritkatriel
stage: patch review -> 
type:  -> enhancement
versions: +Python 3.11 -Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24966] shutil.get_terminal_size() throws ValueError if stdout is detached, no fallback

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

I am unable to reproduce this, was it fixed?

>>> import os, sys, codecs, shutil
>>> sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
>>> os.get_terminal_size()
os.terminal_size(columns=79, lines=36)
>>> shutil.get_terminal_size((200, 30))
os.terminal_size(columns=200, lines=30)
>>>

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27946] elementtree calls PyDict_GetItem without owning a reference to the dict

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

This is a bug in elementtree - the caller should own a reference to the dict 
during the entire PyDict_GetItem call.

We won't add the refcount change you propose because it's not free and this is 
a hot function. 

The test in your patch doesn't fail for me (I tried on version 3.11 on a Mac). 
Are you still seeing the problem on version >= 3.9, or perhaps it was fixed in 
eaementtree by now?

--
nosy: +iritkatriel
title: issues in elementtree and elsewhere due to PyDict_GetItem -> elementtree 
calls PyDict_GetItem without owning a reference to the dict

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45878] Use `self.assertRaises` instead of `try/except` in `ctypes/test_functions.py::test_mro`

2021-12-02 Thread Nikita Sobolev


Change by Nikita Sobolev :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Thank you Ali. It confirms my guess, but it is still not clear why we get a 
Tcl_Obj rather of None or empty string.

Please examine what is the output of the following code:

res = root.tk.call('wm', 'overrideredirect', root._w, True)
print([res.typename])
print([res.string])

If the first print crashes comment out it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45959] Teach pprint about dict views

2021-12-02 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +AlexWaygood

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45969] When uninstalling Python under Windows the "Scripts" folders should be removed from the PATH environment variable

2021-12-02 Thread Luca


New submission from Luca :

This issue is related to:
  https://bugs.python.org/issue3561
and:
  https://bugs.python.org/issue45968

When installing Python under Windows, if the "Add Python 3.x to PATH" option is 
flagged, the following two folders are added to the PATH environment variable:
  %USERPROFILE%\AppData\Local\Programs\Python\Python3x\
  %USERPROFILE%\AppData\Local\Programs\Python\Python3x\Scripts\

However when uninstalling Pyhton only the former folder is removed from the 
PATH environment variable, and not the latter one.

Moreover if also the following folder will be added to the PATH environment 
variable in future (see issue #45968):
  %USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts\
then the same would apply to it.

--
components: Installation, Windows
messages: 407551
nosy: lucatrv, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: When uninstalling Python under Windows the "Scripts" folders should be 
removed from the PATH environment variable
type: enhancement
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-02 Thread Christian Heimes


Change by Christian Heimes :


--
keywords: +patch
pull_requests: +28123
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29899

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45968] Windows installer should add also "%USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts" folder to the PATH environment variable

2021-12-02 Thread Luca


New submission from Luca :

This issue is related to https://bugs.python.org/issue3561

When installing Python under Windows, if the "Add Python 3.x to PATH" option is 
flagged, the following two folders are added to the PATH environment variable:
%USERPROFILE%\AppData\Local\Programs\Python\Python3x\
%USERPROFILE%\AppData\Local\Programs\Python\Python3x\Scripts\

However also the following folder should be added, which is where scripts 
reside when packages are installed with "pip install --user":
%USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts\

--
components: Installation, Windows
messages: 407550
nosy: lucatrv, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows installer should add also 
"%USERPROFILE%\AppData\Roaming\Python\Python3x\Scripts" folder to the PATH 
environment variable
type: enhancement
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Ali Amin-Nejad


Ali Amin-Nejad  added the comment:

@serhiy.storchaka I tried that command, the returned value is not an empty 
string, it is an object of type . However including 
that line in my script immediately after creating the `root` object actually 
fixes the problem - no more error and the button appears and is responsive.

@ned.deily I am on tkinter 8.6.11. The output from the second command is:

```
/Users/ali/miniconda3/envs/bitfount/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so:
@rpath/libtcl8.6.dylib (compatibility version 8.6.0, current version 
8.6.11)
@rpath/libtk8.6.dylib (compatibility version 8.6.0, current version 
8.6.11)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1213.0.0)
```

I have just tried the same script in a separate python 3.9 environment with 
python 3.9.6 and tkinter 8.6.10 and the error is not there so it seems like it 
is introduced in 8.6.11. Happy to try on 8.6.12 but I'm not sure how to upgrade 
to it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread Mark Dickinson


Change by Mark Dickinson :


--
nosy:  -mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45967] Tkinter.ttk.Treeview does not clear after opening and reopening another using same code block

2021-12-02 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +gpolo, serhiy.storchaka
title: treeview -> Tkinter.ttk.Treeview does not clear after opening and 
reopening another using same code block

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45933] Illegal Instrution (Core Dumped)

2021-12-02 Thread Tom E


Tom E  added the comment:

Well I updated the kernel to 5.15.0 and used my succeeding 3.9.9 build and now 
it works.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45967] treeview

2021-12-02 Thread Harold Meneley


New submission from Harold Meneley :

treeview does not clear after opening and reopening another using same code 
block, You can see leftover treeview after clear and reopen. Simply clikc on 
file > view all, clear > clear, and then search > author and you should see 
problem

--
components: Tkinter
files: MyBooks.py
messages: 407547
nosy: hmeneley
priority: normal
severity: normal
status: open
title: treeview
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file50472/MyBooks.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45916] documentation link error

2021-12-02 Thread miss-islington


miss-islington  added the comment:


New changeset f6648e229edf07a1e4897244d7d34989dd9ea647 by Miss Islington (bot) 
in branch '3.10':
bpo-45916: Use HTTPS link for The Perils of Floating Point (GH-29896)
https://github.com/python/cpython/commit/f6648e229edf07a1e4897244d7d34989dd9ea647


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44637] Quoting issue on header Reply-To and other address headers

2021-12-02 Thread Alexander Mohr


Alexander Mohr  added the comment:

btw my work-around was to set maxheaderlen=sys.maxsize, worked for AWS SES at 
least

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45916] documentation link error

2021-12-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +28122
pull_request: https://github.com/python/cpython/pull/29898

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45916] documentation link error

2021-12-02 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +28121
pull_request: https://github.com/python/cpython/pull/29897

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45916] documentation link error

2021-12-02 Thread Zachary Ware


Zachary Ware  added the comment:


New changeset 9f2f7e42269db74a89fc8cd74d82a875787f01d7 by Zachary Ware in 
branch 'main':
bpo-45916: Use HTTPS link for The Perils of Floating Point (GH-29896)
https://github.com/python/cpython/commit/9f2f7e42269db74a89fc8cd74d82a875787f01d7


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45916] documentation link error

2021-12-02 Thread Zachary Ware


Change by Zachary Ware :


--
keywords: +patch
pull_requests: +28120
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29896

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Ned Deily


Ned Deily  added the comment:

I am not able to reproduce this failure with various macOS Pythons from 
python.org that are built with either Tk 8.6.8 or 8.6.12. Perhaps it's an issue 
with the Tk provided with your Miniconda Python?  Besides answering Serhiy's 
question, it would be helpful to know the exact patch level of Tk that is being 
used and also the path to the Tk library.

The output from

/path/to/your/python -m test.pythoninfo

and

otool -L $(/path/to/your/python -c "import _tkinter;print(_tkinter.__file__)")

will give those answers.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45920] make doctest fails

2021-12-02 Thread Ned Deily


Ned Deily  added the comment:

> So I guess the only way to actually get make doctest to work is if the 
> virtual env uses the version of python in main. Is there anyway to do that?

By default, the Doc/Makefile "venv" target uses the first "python3" it finds on 
your shell PATH to build the venv and sphinx. Either arrange for "python3" to 
point at a Python of the same release family on your PATH or you can use the 
PYTHON= command line argument to "make venv" to specify the path to the 
interpreter, for example:

cd cpython
./configure && make
cd Doc
make clean venv doctest PYTHON=../python
  [...]
  Doctest summary
  ===
   2388 tests
  0 failures in tests
  0 failures in setup code
  0 failures in cleanup code
  build succeeded.
  [...]

--
nosy: +ned.deily
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset a31173c5ceb1708df687f942d714bdecae7cb759 by Christian Heimes in 
branch 'main':
bpo-40280: Update what's new (GH-29893)
https://github.com/python/cpython/commit/a31173c5ceb1708df687f942d714bdecae7cb759


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45897] Frozen dataclasses with slots raise TypeError

2021-12-02 Thread Alex Waygood


Change by Alex Waygood :


--
keywords: +patch
pull_requests: +28119
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29895

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45897] Frozen dataclasses with slots raise TypeError

2021-12-02 Thread Alex Waygood


Alex Waygood  added the comment:

You get the same error if you subclass a frozen dataclass, then try to set an 
attribute that is not one of the superclass's __slots__:

```
>>> @dataclass(slots=True, frozen=True)
... class Point:
... x: int
... y: int
... 
... 
>>> class Subclass(Point): pass
... 
>>> s = Subclass(1, 2)
>>> s.z = 5
Traceback (most recent call last):
  File "", line 1, in 
s.z = 5
  File "", line 7, in __setattr__
TypeError: super(type, obj): obj must be an instance or subtype of type
```

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45535] Enum's dir() does not contain inherited members

2021-12-02 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset b2afdc95cc8f4e9228148730949a43cef0323f15 by Alex Waygood in 
branch 'main':
bpo-45535: Improve output of Enum ``dir()`` (GH-29316)
https://github.com/python/cpython/commit/b2afdc95cc8f4e9228148730949a43cef0323f15


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45966] Error in Multiplication

2021-12-02 Thread Eric V. Smith


Eric V. Smith  added the comment:

This isn't a bug, it's a function of the IEEE-754 double precision floating 
point type that python uses. See: 
https://docs.python.org/3/tutorial/floatingpoint.html

You might want to consider the decimal module, although that will also have 
limitations.

--
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45966] Error in Multiplication

2021-12-02 Thread Mukesh


New submission from Mukesh :

I've tried various methods to multiply some numbers but every time I get an 
unsatisfying result when I try to evaluate 48*1.2 or 41*1.2 or 51*1.4 etc. For 
example if I run

import math
NUM3 = eval(input("Your Input: "))
print(NUM3)

Output:
Your Input: 51*1.4
71.39

Now it should give me a straight 71.4 but instead it's giving 71.39

It's not an issue with the version of python that I'm using cause I've already 
tried it on various versions.

--
components: Interpreter Core
messages: 407537
nosy: M1kE
priority: normal
severity: normal
status: open
title: Error in Multiplication
type: behavior
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> mypy-0.910

I proposed a fix: https://github.com/python/mypy/pull/11652

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions

2021-12-02 Thread Matej Cepl


Matej Cepl  added the comment:

And no there is no other patch touching pdb (or pdb tests).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45965] fileinput.input(path, inplace=True) crashes for valid filename with 252-255 characters

2021-12-02 Thread Jamil Raichouni


New submission from Jamil Raichouni :

import fileinput
from pathlib import Path
path = Path(252 * "x")
path.write_text("")
for line in fileinput.input(path, inplace=True):
pass

raises an

OSError: [Errno 63] File name too long

for perfectly valid (yes, quite long) file names.

Reason:

Internally the fileinput library creates a backup file when we pass 
'inplace=True' to fileinput.input() and that backup file gets a file name that 
is longer than the name for the file of interest.

Enhancement idea:

Work with a backup file name that is sth like GUID.bak or remove some chars 
from the original file name.

Hint:

vim /path/to/my/file creates a .swp file and can handle very long file names 
with 252-255 chars.

--
components: Library (Lib)
files: long_filename_passed_to_fileinput.ipynb
messages: 407534
nosy: jamil.raichouni
priority: normal
severity: normal
status: open
title: fileinput.input(path, inplace=True) crashes for valid filename with 
252-255 characters
type: enhancement
versions: Python 3.10
Added file: 
https://bugs.python.org/file50471/long_filename_passed_to_fileinput.ipynb

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions

2021-12-02 Thread Matej Cepl


Matej Cepl  added the comment:

> Which system are you running on?

Happens when packaging Python 3.10 for openSUSE/Linux.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> Naked-0.1.31

Affected code is only code generated by Cython: the project only has to 
regenerated code with a recent Cython version.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> pysha3-1.0.2

This module must not be used on Python 3.6 and newer which has a built-in 
support for SHA-3 hash functions. Example:

$ python3.6
Python 3.6.15 (default, Sep  5 2021, 00:00:00) 
>>> import hashlib
>>> h=hashlib.new('sha3_224'); h.update(b'hello'); print(h.hexdigest())
b87f88c72702fff1748e58b87e9141a42c0dbedc29a78cb0d4a5cd81

By the way, building pysha3 on Python 3.11 now fails with:

Modules/_sha3/backport.inc:78:10: fatal error: pystrhex.h: No such file or 
directory

The pystrhex.h header file has been removed in Python 3.11 by bpo-45434. But I 
don't think that it's worth it trying to port it to Python 3.11, if the module 
must not be used on Python 3.6 and newer.

Environment markers can be used to skip the pysha3 dependency on Python 3.6 on 
newer.

Example: "pysha3; python_version < '3.6'"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

This is not failing on our buildbots, so the fix is probably not right. 

Which system are you running on?

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> frozendict-2.1.1

If I understand correctly, this module is compatible with the PEP 674, it only 
has to copy Python 3.11 header files once Python 3.11 is released, to port the 
project to Python 3.11.

Incompatable code is not part of the "frozendict" implementation, but only in 
copies of the Python header files (Python 3.6, 3.7, 3.8, 3.9 and 3.10). For 
example, it contains the frozendict/src/3_10/cpython_src/Include/object.h 
header: copy of CPython Include/object.h file.

Source code: https://github.com/Marco-Sulla/python-frozendict

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:

> * zstd-1.5.0.2: src/python-zstd.c

I proposed a fix upstream: 
https://github.com/sergey-dryabzhinsky/python-zstd/pull/70

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23819] test_asyncio fails when run under -O

2021-12-02 Thread Kumar Aditya


Change by Kumar Aditya :


--
keywords: +patch
pull_requests: +28118
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/29894

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +28117
pull_request: https://github.com/python/cpython/pull/29893

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions

2021-12-02 Thread Matej Cepl


New submission from Matej Cepl :

When running tests with 3.10.0 
test_pdb_breakpoints_preserved_across_interactive_sessions test fails:

[  842s] ==
[  842s] FAIL: test_pdb_breakpoints_preserved_across_interactive_sessions 
(test.test_pdb)
[  842s] Doctest: 
test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions
[  842s] --
[  842s] Traceback (most recent call last):
[  842s]   File "/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/doctest.py", 
line 2216, in runTest
[  842s] raise self.failureException(self.format_failure(new.getvalue()))
[  842s] AssertionError: Failed doctest test for 
test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions
[  842s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py", line 327, in 
test_pdb_breakpoints_preserved_across_interactive_sessions
[  842s] 
[  842s] --
[  842s] File "/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py", 
line 351, in 
test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions
[  842s] Failed example:
[  842s] with PdbTestInput([  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
[  842s]'break',
[  842s]'break pdb.find_function',
[  842s]'break',
[  842s]'clear 1',
[  842s]'continue',
[  842s] ]):
[  842s]pdb.run('print()')
[  842s] Expected:
[  842s] > (1)()...
[  842s] (Pdb) break
[  842s] Num Type Disp Enb   Where
[  842s] 1   breakpoint   keep yes   at ...test_pdb.py:...
[  842s] 2   breakpoint   keep yes   at ...test_pdb.py:...
[  842s] (Pdb) break pdb.find_function
[  842s] Breakpoint 3 at ...pdb.py:94
[  842s] (Pdb) break
[  842s] Num Type Disp Enb   Where
[  842s] 1   breakpoint   keep yes   at ...test_pdb.py:...
[  842s] 2   breakpoint   keep yes   at ...test_pdb.py:...
[  842s] 3   breakpoint   keep yes   at ...pdb.py:...
[  842s] (Pdb) clear 1
[  842s] Deleted breakpoint 1 at ...test_pdb.py:...
[  842s] (Pdb) continue
[  842s] Got:
[  842s] > (1)()
[  842s] (Pdb) break
[  842s] Num Type Disp Enb   Where
[  842s] 1   breakpoint   keep yes   at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425
[  842s] 2   breakpoint   keep yes   at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:422
[  842s] (Pdb) break pdb.find_function
[  842s] Breakpoint 3 at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/pdb.py:93
[  842s] (Pdb) break
[  842s] Num Type Disp Enb   Where
[  842s] 1   breakpoint   keep yes   at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425
[  842s] 2   breakpoint   keep yes   at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:422
[  842s] 3   breakpoint   keep yes   at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/pdb.py:93
[  842s] (Pdb) clear 1
[  842s] Deleted breakpoint 1 at 
/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425
[  842s] (Pdb) continue
[  842s] 
[  842s] 
[  842s] 
[  842s] --
[  842s] Ran 1 test in 0.005s
[  842s] 
[  842s] FAILED (failures=1)
[  842s] 1 test failed again:
[  842s] test_pdb
[  842s] 
[  842s] == Tests result: FAILURE then FAILURE ==

The problem is completely trivial and the attached patch fixes it (wrong line 
number in one expected result).

--
components: Demos and Tools
files: pdb_adjust_breakpoints.patch
keywords: patch
messages: 407527
nosy: mcepl
priority: normal
severity: normal
status: open
title: 3.10.0 tests fail in 
test_pdb_breakpoints_preserved_across_interactive_sessions
versions: Python 3.10, Python 3.11
Added file: https://bugs.python.org/file50470/pdb_adjust_breakpoints.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread Ethan Smith


Change by Ethan Smith :


--
pull_requests: +28116
pull_request: https://github.com/python/cpython/pull/29892

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45963] Embed interpreter frame in generator.

2021-12-02 Thread Mark Shannon


Change by Mark Shannon :


--
keywords: +patch
pull_requests: +28115
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29891

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2021-12-02 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +28114
pull_request: https://github.com/python/cpython/pull/29890

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45963] Embed interpreter frame in generator.

2021-12-02 Thread Mark Shannon


New submission from Mark Shannon :

Currently, the InterpreterFrame for a generator is allocated on the heap 
separately from the generator.
This means that 2 allocations are needed to create a generator, and an extra 
indirection is needed to get from the generator to the frame.

By embedding the frame in the generator, we only need one alloaction, we save 
an indirection *and* the code gets simpler: transferring the frame from 
generator to frame object is just a single memcpy.

--
assignee: Mark.Shannon
components: Interpreter Core
messages: 407526
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Embed interpreter frame in generator.
type: performance
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45725] test_freeze doesn't clean up after itself

2021-12-02 Thread Mark Shannon


Mark Shannon  added the comment:

This seems to be fixed.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25403] urllib.parse.urljoin is broken in python 3.5

2021-12-02 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset cb8f491f46e262549f6c447b31625cab7c20a60a by Christian Heimes in 
branch 'main':
bpo-40280: Optimize ints and and startup on wasm (GH-29887)
https://github.com/python/cpython/commit/cb8f491f46e262549f6c447b31625cab7c20a60a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45954] Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges

2021-12-02 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45954] Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges

2021-12-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a6c3b0faa1d55e36539caf19bd3bcf1dea12df84 by Victor Stinner in 
branch 'main':
bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886)
https://github.com/python/cpython/commit/a6c3b0faa1d55e36539caf19bd3bcf1dea12df84


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45961] [doc] Missing documentation for wait_for module

2021-12-02 Thread Irit Katriel


Irit Katriel  added the comment:

If you mean this: https://pypi.org/project/wait-for/ then it is not part of the 
python library.


If you mean asyncio's wait_for, it's documented here: 
https://docs.python.org/3/library/asyncio-task.html#asyncio.wait_for

--
nosy: +iritkatriel
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

2021-12-02 Thread Sam Bull


Sam Bull  added the comment:

It has been addressed, PR should be merged this week: 
https://github.com/python/cpython/pull/28149

Like most open source projects, it just needed someone to actually propose a 
fix.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11455] issue a warning when populating a CPython type dict with non-string keys

2021-12-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Why not raise an error if it contradicts language spec?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread miss-islington


miss-islington  added the comment:


New changeset cb2b3c8d3566ae46b3b8d0718019e1c98484589e by Christian Heimes in 
branch 'main':
bpo-40280: Emscripten has no support for subprocesses (GH-29872)
https://github.com/python/cpython/commit/cb2b3c8d3566ae46b3b8d0718019e1c98484589e


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45962] Clarify that PyModule_AddString{Constant, Macro} use utf-8

2021-12-02 Thread Antony Lee


New submission from Antony Lee :

The documentation for PyModule_AddString{Constant,Macro} does not specify the 
encoding used.  Checking the source shows that these simply call 
PyUnicode_FromString and thus use utf8, but perhaps this could be made explicit.

--
assignee: docs@python
components: C API, Documentation
messages: 407518
nosy: Antony.Lee, docs@python
priority: normal
severity: normal
status: open
title: Clarify that PyModule_AddString{Constant,Macro} use utf-8
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

What is the result of

   root.tk.call('wm', 'overrideredirect', root._w, True)

?

Is it not an empty string?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45961] [doc] Missing documentation for wait_for module

2021-12-02 Thread Alex


New submission from Alex :

I wondering why there is no documentation for the synchronous module "wait_for":

site-packages/wait_for/__init__.py

It's just missing or there are some reason? I didn't see any deprecation info 
about this module.

--
messages: 407516
nosy: Alex-Izquierdo
priority: normal
severity: normal
status: open
title: [doc] Missing documentation for wait_for module
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45960] bullseye arm/v7 time.time() Operation not permitted

2021-12-02 Thread Sascha Hesse


New submission from Sascha Hesse :

Given a docker container on raspbian 10.11
based on bullseye:

docker run --rm -it --entrypoint sh python:3.10-slim

time.time() fails with error

# python
Python 3.10.0 (default, Nov 18 2021, 00:56:34) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
Traceback (most recent call last):
  File "", line 1, in 
PermissionError: [Errno 1] Operation not permitted

based on buster:

docker run --rm -it --entrypoint sh python:3.10-slim-buster

# python
Python 3.10.0 (default, Nov 18 2021, 02:00:41) [GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.time()
1638433441.9555993
>>> exit()
#

works as expected

--
components: Interpreter Core
messages: 407515
nosy: SaschaJohn
priority: normal
severity: normal
status: open
title: bullseye arm/v7 time.time() Operation not permitted
type: behavior
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-02 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +28113
pull_request: https://github.com/python/cpython/pull/29887

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com