[issue45522] Allow to build Python without freelists

2021-10-20 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +27352
pull_request: https://github.com/python/cpython/pull/29086

___
Python tracker 

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



[issue45530] Improve listobject.c's unsafe_tuple_compare()

2021-10-20 Thread Stefan Pochmann


Stefan Pochmann  added the comment:

Ok, I agree, the change only possibly "breaks" expectations that were already 
broken (including my naive sorted-vs-minmax).

Yes, I know sort itself only asks `<` (I've actually read most of its code and 
all its documentation). That's why I was irritated for a moment when I saw a 
`>`.

--

___
Python tracker 

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



[issue45533] loop.sock_connect doesn't resolve the address parameter on Windows

2021-10-20 Thread Yavor Atov


New submission from Yavor Atov :

>From 
>https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.sock_connect
> :

Changed in version 3.5.2: address no longer needs to be resolved. sock_connect 
will try to check if the address is already resolved by calling 
socket.inet_pton(). If not, loop.getaddrinfo() will be used to resolve the 
address.

This used to be true in Python 3.7, but in the newer versions, no resolution is 
done. It could be seen in the source code - the loop implementation is changed 
and the new one doesn't resolve the address.

https://github.com/python/cpython/blob/085ccb0f177988065dbe9ef4c5cda434560066bc/Lib/asyncio/proactor_events.py#L703

https://github.com/python/cpython/blob/085ccb0f177988065dbe9ef4c5cda434560066bc/Lib/asyncio/windows_events.py#L576

--
components: asyncio
messages: 404398
nosy: YAtOff, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: loop.sock_connect doesn't resolve the address parameter on Windows
type: behavior
versions: Python 3.10, Python 3.11, 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



[issue45500] Rewrite test_dbm

2021-10-20 Thread Dong-hee Na

Dong-hee Na  added the comment:


New changeset d46b2217d13bbcf8145da8c12a487ba775d6f162 by Łukasz Langa in 
branch '3.9':
[3.9] bpo-45500: Rewrite test_dbm (GH-29002) (GH-29074)
https://github.com/python/cpython/commit/d46b2217d13bbcf8145da8c12a487ba775d6f162


--
nosy: +corona10

___
Python tracker 

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

All memory is owned by the exporter object. The exporter (aka producer) is the 
Python type that implements Py_bf_getbuffer and Py_bf_releasebuffer. In 
majority of cases the exporter doesn't have to set shape, strides, and 
suboffsets. They are used in special cases, e.g. multidimensional arrays with 
custom layout. For example they can be used to convert TIFF images from strides 
big endian format to a NumPy array in little endian format.

It's up to the exporter's Py_bf_getbuffer to decide how it fills shape, 
strides, and suboffsets, too. For example an exporter could allocate format, 
shape, strides, and suboffsets on the heap and assign pointers in its getbuffer 
function and store a hint in the ``internal`` field of Py_buffer. Its 
releasebuffer function then checks ``internal`` field and performs 
de-allocations. We must not copy fields. This would break the API.

It would be a bad idea to return copies in PyBuffer_GetLayout(). Consumers have 
to get the layout every time they access a specific item in the buffer in order 
to calculate the offset. I'd rather define the arguments as "const". The 
documentation already states that e.g. "The shape array is read-only for the 
consumer.".

It is highly unlikely that we will ever have to extend the Py_buffer interface. 
It is already extremely versatile and can encode complex formats. You can even 
express the layout of a TIFF image of float32 CMYK in planar configuration (one 
array of 32bit floats cyan, followed by an array of magenta, then an array of 
yellow, and finally an array of contrast).

PS: I have removed PyBuffer_NewEx() function. It did not make sense any sense.

--

___
Python tracker 

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



[issue45500] Rewrite test_dbm

2021-10-20 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Thanks Łukasz and Dong-hee Na.

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

A consumer will use the APIs:

---
Py_buffer *view;
int ndim;
const char *format;
const Py_ssize_t *shape, *strides, *suboffsets;
void *buf;

view = PyBuffer_New();
PyObject_GetBuffer(obj, view, flags);
ndim = PyBuffer_GetLayout(&format, &shape, &strides, &suboffsets);
buf = PyBuffer_GetPointer(view, [...]);
PyBuffer_Free(view); // also calls PyBuffer_Release()
---


The API functions PyBuffer_FillInfo(), PyBuffer_FillInfoEx(), and 
PyBuffer_GetInternal() are for exporters (producers)-only. The exporter uses 
the PyBuffer_FillInfo*() in its Py_bf_getbuffer function to fill the view. It 
may use PyBuffer_GetInternal() in its Py_bf_releasebuffer function to access 
the internal field and to release additional resources.

--

___
Python tracker 

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I do not like requirement to allocate Py_buffer on the heap. It adds an 
overhead. Common case in CPython code is:

Py_buffer view;
void *buf;
Py_ssize_t len;

PyObject_GetBuffer(obj, &view, PyBUF_SIMPLE);
buf = view.buf;
len = view.len;
// no other fields are used
PyBuffer_Release(&view);

And I want to keep it as simple and efficient as it can be.

--

___
Python tracker 

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

CPython internals can still use allocation on the stack. Only stable ABI 
extensions have to use allocation on the heap.

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


New submission from Aritra Sarkar :

While running `make test` on Python 3.11.0a1, I get this:


== Tests result: FAILURE ==

411 tests OK.

2 tests failed:
test_exceptions test_threading

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64
0:06:19 load avg: 5.05
0:06:19 load avg: 5.05 Re-running failed tests in verbose mode
0:06:19 load avg: 5.05 Re-running test_exceptions in verbose mode (matching: 
test_name_error_suggestions_do_not_trigger_for_too_many_locals)
test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests) ... test test_exceptions failed
FAIL

==
FAIL: test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests)
--
Traceback (most recent call last):
  File "/home/aritra/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", 
line 1843, in test_name_error_suggestions_do_not_trigger_for_too_many_locals
self.assertNotIn("a1", err.getvalue())
^^
AssertionError: 'a1' unexpectedly found in 'Traceback (most recent call 
last):\n  File 
"/home/aritra/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", line 
1838, in test_name_error_suggestions_do_not_trigger_for_too_many_locals\n
  f()\n^^^\n  File 
"/home/aritra/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", line 
1835, in f\nprint(a0)\n  ^^\nNameError: name \'a0\' is not 
defined\n'

--
Ran 1 test in 0.006s

FAILED (failures=1)
0:06:19 load avg: 5.05 Re-running test_threading in verbose mode (matching: 
test_recursion_limit)
test_recursion_limit (test.test_threading.ThreadingExceptionTests) ... test 
test_threading failed
FAIL

==
FAIL: test_recursion_limit (test.test_threading.ThreadingExceptionTests)
--
Traceback (most recent call last):
  File "/home/aritra/local/build/Python-3.11.0a1/Lib/test/test_threading.py", 
line 1290, in test_recursion_limit
self.assertEqual(p.returncode, 0, "Unexpected error: " + stderr.decode())
^
AssertionError: -11 != 0 : Unexpected error:

--
Ran 1 test in 0.161s

FAILED (failures=1)
2 tests failed again:
test_exceptions test_threading

== Tests result: FAILURE then FAILURE ==

411 tests OK.

2 tests failed:
test_exceptions test_threading

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

2 re-run tests:
test_exceptions test_threading

Total duration: 6 min 19 sec
Tests result: FAILURE then FAILURE




Also here are the CFLAGS I used during the build:

probook $ echo $CFLAGS
-Wall -Wextra -g -O0 -std=c99

--
components: Tests
messages: 404405
nosy: aritra1911
priority: normal
severity: normal
status: open
title: Failing test_exceptions and test_threading
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



[issue43239] PyCFunction_New is not exported with PyAPI_FUNC

2021-10-20 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

It seems to me that this issue can be closed as fixed. Do you have further PR's 
for this, Petr?

--
nosy: +erlendaasland
status: open -> pending

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

Which system are you testing on?

--
nosy: +iritkatriel

___
Python tracker 

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



[issue45474] [C API] marshal.h must not use FILE* type in the limited C API

2021-10-20 Thread Petr Viktorin


Change by Petr Viktorin :


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



[issue39679] functools: singledispatchmethod doesn't work with classmethod

2021-10-20 Thread Alex Waygood


Change by Alex Waygood :


--
pull_requests: +27353
pull_request: https://github.com/python/cpython/pull/29087

___
Python tracker 

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



[issue45474] [C API] marshal.h must not use FILE* type in the limited C API

2021-10-20 Thread miss-islington


miss-islington  added the comment:


New changeset 98fa3b53e2aecc5ecec64a921bc9cf4f9d07ac75 by Petr Viktorin in 
branch 'main':
bpo-45474: Exclude all of marshal.h if Py_LIMITED_API is defined (GH-29061)
https://github.com/python/cpython/commit/98fa3b53e2aecc5ecec64a921bc9cf4f9d07ac75


--
nosy: +miss-islington

___
Python tracker 

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

That would be an unfair advantage. If we want people to use the limited API we 
should not make it much slower than the non-limited API.

--

___
Python tracker 

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



[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread youknowone


youknowone  added the comment:

Thanks! I will look in it

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


Aritra Sarkar  added the comment:

Linux on x86_64 hardware:

probook $ uname -a
Linux probook 5.14.12-arch1-1 #1 SMP PREEMPT Wed, 13 Oct 2021 16:58:16 + 
x86_64 GNU/Linux


GCC version:

probook $ gcc --version
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


GNU Binutils version:

probook $ ld --version
GNU ld (GNU Binutils) 2.36.1
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

--

___
Python tracker 

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



[issue45532] Replace 'default' with 'main' as default in sys.version

2021-10-20 Thread Dong-hee Na


Dong-hee Na  added the comment:

> Note that _Py_gitidentifier is supposed to return meaningful values while 
> building from within a git checkout 

'3.11.0a1+ (heads/main:3163e68c34, Oct 20 2021, 18:39:18) [Clang 12.0.0 
(clang-1200.0.32.29)]

FYI, it retrieves branch information well

--

___
Python tracker 

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



[issue27357] Suggestions for Windows installer UI improvements

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
title: Enhancing the Windows installer -> Suggestions for Windows installer UI 
improvements

___
Python tracker 

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



[issue12653] Provide accelerators for all buttons in Windows installers

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
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



[issue45530] Improve listobject.c's unsafe_tuple_compare()

2021-10-20 Thread Stefan Pochmann


Stefan Pochmann  added the comment:

Hmm. What do you think about using "<" inside the loop for the remaining tuple 
elements as well? It's even less likely that both the first and the second 
elements are equal.

When the second elements differ, this saves 0.5 PyObject_RichCompareBool 
(average 1.5 "<" instead of one "==" and one "<").

When the second elements are equal, this costs 1 PyObject_RichCompareBool more 
(two "<" instead of one "==").

That's fewer PyObject_RichCompareBool calls if they're equal less than 1/3 of 
the time.

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +pablogsal

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
type: crash -> behavior

___
Python tracker 

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



[issue45531] field "mro" behaves strangely in dataclass

2021-10-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

In Enum it is just implicitly forbidden:

>>> from enum import *
>>> class A(Enum):
...   mro = 1
...   x = 2
... 
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/serhiy/py/cpython/Lib/enum.py", line 430, in __new__
raise ValueError('Invalid enum member name: {0}'.format(

ValueError: Invalid enum member name: mro

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue37516] test_asyncio logs: Unknown child process

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as there isn't enough information and there was no reply to followup 
questions.  Also 3.8 is no longer maintained. 

Please create a new issue with more information if you are still seeing a 
problem in a current version of python (3.9+).

--
nosy: +iritkatriel
resolution:  -> works for me
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



[issue3778] python uninstaller leave registry entries

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +steve.dower

___
Python tracker 

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



[issue24807] compileall can cause Python installation to fail

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

2.7 is no longer being maintained and the installer has been completely 
rewritten in the meantime.

Please create a new issue if you are having problems with a current version of 
python (3.9+).  Ideally in this case, also include more information about which 
system you are using and step to reproduce the problem.

--
components: +Tests -Installation
nosy: +iritkatriel
resolution:  -> out of date
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



[issue12653] Provide accelerators for all buttons in Windows installers

2021-10-20 Thread Ram Rachum


Ram Rachum  added the comment:

I confirmed now in the 3.10 installer on Windows that accelerators are working. 
Thank you!

--
resolution: out of date -> fixed

___
Python tracker 

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



[issue18083] _sysconfigdata.py is installed in an arch-independent directory

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> rename the platform directory from plat-$(MACHDEP) to 
plat-$(PLATFORM_TRIPLET)

___
Python tracker 

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



[issue45459] Limited API support for Py_buffer

2021-10-20 Thread Petr Viktorin


Petr Viktorin  added the comment:

No. Limited API is generally not as performant as the non-limited one. It is 
even documented this way: 
https://docs.python.org/3/c-api/stable.html#limited-api-scope-and-performance

We should not make it *much* slower, but code that can take advantage of 
implementation details can always be faster. Max speed should not be a concern 
in the limited API.

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Unfortunately I am unable to reproduce this failure :(

--

___
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-10-20 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

For example:

>>> from enum import *
>>> class E(IntEnum):
... x = 1
... 
>>> dir(E)
['__class__', '__doc__', '__members__', '__module__', 'x']
>>> E.from_bytes

>>> E.to_bytes

>>> E.numerator

>>> E.__add__


There are methods and attributes inherited from int, but they are not shown in 
dir(). As result they are absent in help() and completion does not work for 
them.

--
components: Library (Lib)
messages: 404420
nosy: barry, eli.bendersky, ethan.furman, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Enum's dir() does not contain inherited members
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 

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



[issue45525] PyType_Spec basicsize/itemsize should allow -1 for "inherit"

2021-10-20 Thread Petr Viktorin


Petr Viktorin  added the comment:

Hm, after sleeping on it, I think I filed this too soon.
If you don't have the superclass's C memory layout (and you can't add new 
C-level state), it's not likely that you want to define a class in C.

I can construct theoretical cases where it might be useful, but IMO it should 
wait for an *actual* motivating use case. (The one I had was making a specific 
C-API test a bit easier to write, which is very weak.)

No need to have this sit on CPython's TODO list. I'll close this and let 
someone reopen (or file a new issue) if they actually need it.

--
resolution:  -> postponed
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



[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread Christian Heimes


New submission from Christian Heimes :

In thread [1] Robin Becker requested to check for working OpenSSL in configure 
script. With reasonable effort it is possible to probe for basic APIs such as 
minimum SSL and EVP interface.

[1] 
https://mail.python.org/archives/list/python-...@python.org/thread/IIFABHN7DOTCXMRQ72SLJSU4VDWRM2HB/

--
assignee: christian.heimes
components: Build, SSL
messages: 404422
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: Verify OpenSSL APIs in configure script
type: enhancement
versions: Python 3.10, Python 3.11

___
Python tracker 

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



[issue45527] Reduce overhead for cache hits in specialized opcodes.

2021-10-20 Thread Ken Jin


Ken Jin  added the comment:

Strong +1 from me.

Not to mention some instructions don't even need to read the _PyAdaptiveEntry 
apart from recording cache hits, so that's one more dependent load and store 
too.

Extremely cheap instructions off the top of my head:
- BINARY_SUBSCR
- LOAD_METHOD
- LOAD_GLOBAL
- LOAD_ATTR

--

___
Python tracker 

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



[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread Christian Heimes


Change by Christian Heimes :


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

___
Python tracker 

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



[issue45340] Lazily create dictionaries for plain Python objects

2021-10-20 Thread Mark Shannon


Mark Shannon  added the comment:

Josh, please reopen if you have more to add.

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



[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-10-20 Thread Mark Shannon


Change by Mark Shannon :


--
pull_requests: +27355
pull_request: https://github.com/python/cpython/pull/29033

___
Python tracker 

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



[issue20768] pyconfig.h #defines macros in global namespace

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> rejected
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



[issue45536] Verify OpenSSL APIs in configure script

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

Example output:

$ ./configure
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath... 
checking whether OpenSSL provides required APIs... yes

$ ./configure --with-openssl=/home/heimes/dev/python/multissl/openssl/3.0.0
checking for openssl/ssl.h in /home/heimes/dev/python/multissl/openssl/3.0.0... 
yes
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath... 
checking whether OpenSSL provides required APIs... yes

$ ./configure --with-openssl=/home/heimes/dev/python/multissl/openssl/1.0.2u
checking for openssl/ssl.h in 
/home/heimes/dev/python/multissl/openssl/1.0.2u... yes
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath... 
checking whether OpenSSL provides required APIs... no

--

___
Python tracker 

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



[issue21613] Installer for mac doesn't store the installation location

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
type: behavior -> enhancement
versions: +Python 3.11 -Python 3.5

___
Python tracker 

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



[issue27374] Cygwin: Makefile does not install DLL import library

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

See also Issue19241.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue19241] MINGW: install import library

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

See also Issue27374.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


Aritra Sarkar  added the comment:

I should've given the configuration options I've used as well. They are
as follows:

probook $ ./configure --prefix=/opt/python \
> --with-openssl=/opt/openssl \
> --with-openssl-rpath=/opt/openssl/lib \
> --with-openssl-rpath=/opt/openssl/lib64 \
> --with-ssl-default-suites=openssl \
> --enable-optimizations

--
type: behavior -> crash

___
Python tracker 

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



[issue37295] Possible optimizations for math.comb()

2021-10-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Divide-and-conquer approach works pretty well for larger n.

For results slightly out of the 64-bit range:

$ ./python -m pyperf timeit -s 'from math import comb' 'comb(63, 31)'
Mean +- std dev: 2.80 us +- 0.14 us -> 388 ns +- 19 ns: 7.22x faster

$ ./python -m pyperf timeit -s 'from math import comb' 'comb(111, 15)'
Mean +- std dev: 1.24 us +- 0.06 us -> 215 ns +- 18 ns: 5.76x faster

$ ./python -m pyperf timeit -s 'from math import comb' 'comb(1450, 7)'
Mean +- std dev: 654 ns +- 45 ns -> 178 ns +- 13 ns: 3.67x faster

$ ./python -m pyperf timeit -s 'from math import comb' 'comb(3329023, 3)'
Mean +- std dev: 276 ns +- 15 ns -> 175 ns +- 11 ns: 1.58x faster


For very large n:

$ ./python -m pyperf timeit 'from math import comb' 'comb(2**100, 2**10)'
Mean +- std dev: 26.2 ms +- 1.7 ms -> 3.21 ms +- 0.20 ms: 8.16x faster

$ ./python -m pyperf timeit 'from math import comb' 'comb(2**1000, 2**10)'
Mean +- std dev: 704 ms +- 15 ms -> 103 ms +- 5 ms: 6.85x faster


And it is faster than using factorial:

$ ./python -m pyperf timeit -s 'from math import comb' 'comb(100_000, 50_000)'
Mean +- std dev: 1.61 sec +- 0.02 sec -> 177 ms +- 9 ms: 9.12x faster

$ ./python -m pyperf timeit -s 'from math import factorial as fact' 
'fact(100_000) // (fact(50_000)*fact(50_000))'
Mean +- std dev: 507 ms +- 20 ms


math.perm() can benefit from reusing the same code:

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(63, 31)'
Mean +- std dev: 1.35 us +- 0.07 us -> 1.18 us +- 0.06 us: 1.15x faster

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(111, 15)'
Mean +- std dev: 601 ns +- 35 ns -> 563 ns +- 28 ns: 1.07x faster

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(2**100, 2**10)'
Mean +- std dev: 5.96 ms +- 0.29 ms -> 2.32 ms +- 0.12 ms: 2.57x faster

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(2**1000, 2**10)'
Mean +- std dev: 486 ms +- 14 ms -> 95.7 ms +- 4.2 ms: 5.08x faster

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(100_000, 50_000)'
Mean +- std dev: 639 ms +- 23 ms -> 66.6 ms +- 3.2 ms: 9.60x faster


Even in worst cases it is almost as fast as factorial:

$ ./python -m pyperf timeit -s 'from math import perm' 'perm(100_000, 100_000)'
Mean +- std dev: 2.55 sec +- 0.02 sec -> 187 ms +- 8 ms: 13.66x faster

$ ./python -m pyperf timeit -s 'from math import factorial' 'factorial(100_000)'
Mean +- std dev: 142 ms +- 7 ms

--

___
Python tracker 

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



[issue45531] field "mro" behaves strangely in dataclass

2021-10-20 Thread Finite State Machine


Finite State Machine  added the comment:

For what it's worth, I think a sensible exception message solves this problem. 
While it would be nice to be able to use a field called 'mro', that's an 
enhancement; the misleading exception message is a bug.

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

Crash typically refers to a segfault or hang in c code, not an exception. 
Please don't change the type again.

--
type: crash -> behavior

___
Python tracker 

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



[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-20 Thread Marc-Andre Lemburg


Marc-Andre Lemburg  added the comment:

On 19.10.2021 18:47, Marc-Andre Lemburg wrote:
> 
>> On Sat, Oct 16, 2021 at 5:01 AM Marc-Andre Lemburg
>>  wrote:
>>> I can try to port PyRun to 3.9 and 3.10 to see whether I run into any 
>>> issues.
>>> Would that help ?
>>
>> Yeah, that would totally help.
> 
> Ok, I'll start looking into this and post updates here.

I have PyRun mostly working with Python 3.9. Still need to add a few
new C modules, but the basics work.

No changes were necessary to Tools/freeze/. The PGO build complains
about test_embed not working - no surprise there. I'll patch the suite
to ignore the test.

BTW: Why is test_embed even used for the PGO target ?

--

___
Python tracker 

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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Irit Katriel


New submission from Irit Katriel :

There isn't currently a maintainer for cpython on Cygwin, which by PEP 11 means 
it is no longer supported.

There are open issues (some with patches) from aborted attempts to support it 
in the past. They will be closed as duplicates of this issue, so that they can 
be easily accessible in the future in case someone commits to support Cygwin.

--
messages: 404433
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Cygwin is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue27374] Cygwin: Makefile does not install DLL import library

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue31882] Cygwin: asyncio and asyncore test suites hang indefinitely due to bug in Cygwin

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


Aritra Sarkar  added the comment:

Test results from another machine, running an Intel Pentium Dual Core:


== Tests result: FAILURE ==

412 tests OK.

1 test failed:
test_exceptions

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64
0:18:40 load avg: 2.91
0:18:40 load avg: 2.91 Re-running failed tests in verbose mode
0:18:40 load avg: 2.91 Re-running test_exceptions in verbose mode (matching: 
test_name_error_suggestions_do_not_trigger_for_too_many_locals)
test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests) ... test test_exceptions failed
FAIL

==
FAIL: test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests)
--
Traceback (most recent call last):
  File "/home/ray/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", 
line 1843, in test_name_error_suggestions_do_not_trigger_for_too_many_locals
self.assertNotIn("a1", err.getvalue())
^^
AssertionError: 'a1' unexpectedly found in 'Traceback (most recent call 
last):\n  File 
"/home/ray/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", line 1838, 
in test_name_error_suggestions_do_not_trigger_for_too_many_locals\nf()\n
^^^\n  File 
"/home/ray/local/build/Python-3.11.0a1/Lib/test/test_exceptions.py", line 1835, 
in f\nprint(a0)\n  ^^\nNameError: name \'a0\' is not defined\n'

--
Ran 1 test in 0.008s

FAILED (failures=1)
1 test failed again:
test_exceptions

== Tests result: FAILURE then FAILURE ==

412 tests OK.

1 test failed:
test_exceptions

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_exceptions

Total duration: 18 min 40 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1318: test] Error 2



Here only `test_exceptions` fails. The previous report was from an Intel
Core i5.


System info:

$ uname -a
Linux archeract 5.15.0-rc6-archeract #1 SMP Mon Oct 18 14:15:15 IST 2021 x86_64 
GNU/Linux

$ gcc --version
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld (GNU Binutils) 2.36.1
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

$ echo $CC
/usr/bin/gcc

$ echo $CFLAGS
-Wall -Wextra -g -O0 -std=c99

$ echo $LDFLAGS
-L/opt/openssl/lib -L/opt/openssl/lib64 -Wl,-rpath,/opt/openssl/lib 
-Wl,-rpath,/opt/openssl/lib64

--
type: behavior -> crash

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


Change by Aritra Sarkar :


--
type: crash -> behavior

___
Python tracker 

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



[issue32243] Tests that set aggressive switch interval hang in Cygwin on a VM

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue37295] Possible optimizations for math.comb()

2021-10-20 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +27356
pull_request: https://github.com/python/cpython/pull/29090

___
Python tracker 

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



[issue28459] _pyio module broken on Cygwin / setmode not usable

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Aritra Sarkar


Aritra Sarkar  added the comment:

> Crash typically refers to a segfault or hang in c code, not an exception. 
> Please don't change the type again.

I hadn't noticed that it was changed and I didn't refresh the page.
Hence everytime I sent a message, it automatically changed it back to
crash. Apologies!

--

___
Python tracker 

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



[issue45534] Failing test_exceptions and test_threading

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

No worries! Thanks for the additional info.

--

___
Python tracker 

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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

There isn't currently a maintainer for cpython on Cygwin, which by PEP 11 means 
it is not supported.

There are open issues (some with patches) from aborted attempts to support it 
in the past. They will be closed as duplicates of this issue, so that they can 
be easily accessible in the future in case someone commits to support Cygwin.

--

___
Python tracker 

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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
Removed message: https://bugs.python.org/msg404433

___
Python tracker 

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



[issue1244861] Enable os.startfile and webbrowser.WindowsDefault on Cygwin

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue4802] detect_tkinter for cygwin

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Cygwin is unsupported - close all open issues and list them 
here.

___
Python tracker 

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



[issue32835] Add documention mentioning that Cygwin isn't fully compatible

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> rejected
stage: needs patch -> 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



[issue35503] os.path.islink() works with cygwin installation but not python.org

2021-10-20 Thread Irit Katriel


Irit Katriel  added the comment:

2.7 is no longer maintained. Please create a new issue if you have this problem 
with a current python version (3.9+).

--
nosy: +iritkatriel
resolution:  -> out of date
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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Erik Bray


Change by Erik Bray :


--
keywords: +patch
nosy: +erik.bray
nosy_count: 1.0 -> 2.0
pull_requests: +27357
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/14013

___
Python tracker 

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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Zackery Spytz


Change by Zackery Spytz :


--
nosy: +ZackerySpytz
nosy_count: 2.0 -> 3.0
pull_requests: +27358
pull_request: https://github.com/python/cpython/pull/21649

___
Python tracker 

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



[issue45537] Cygwin is unsupported - close all open issues and list them here.

2021-10-20 Thread Erik Bray


Change by Erik Bray :


--
pull_requests: +27359
pull_request: https://github.com/python/cpython/pull/4149

___
Python tracker 

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



[issue45538] MinGW is unsupported - close all open issues and list them here.

2021-10-20 Thread Irit Katriel


New submission from Irit Katriel :

There isn't currently a maintainer for cpython on MinGW, which by PEP 11 means 
it is not supported.

There are open issues (some with patches) from aborted attempts to support it 
in the past. They will be closed as duplicates of this issue, so that they can 
be easily accessible in the future in case someone commits to support MinGW.

--
messages: 404439
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18486] mingw: dynamic loading support

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue1566331] Bad behaviour in .obuf*

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

Does the issue still affect supported Python and Linux versions? Majority of 
distros are using pipewire or pulseaudio these days.

--
nosy: +christian.heimes
status: open -> pending
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6

___
Python tracker 

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



[issue18653] mingw-meta: build core modules

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue15315] Can't build Python extension with mingw32 on Windows

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18634] mingw find import library

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue6335] Add support for mingw

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17592] mingw: configure MACHDEP and platform for build

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
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



[issue19241] MINGW: install import library

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17598] mingw: init system calls

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17602] mingw: default sys.path calculations for windows platforms

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18485] mingw: configure for shared build

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17600] mingw: build-in windows modules (winreg)

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17590] mingw: translate gcc internal defines to python platform specific defines

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17594] mingw: preset configure defaults

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18500] mingw: detect winsock2 and setup _socket module

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue5993] python produces zombie in webbrowser.open

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

Are Python 3.9 to 3.11 still affected by the issue?

The webbrowser module now uses subprocess.Popen() to start browsers. The 
subprocess module calls wait() and performs additional cleanup to prevent 
zombies.

--
nosy: +christian.heimes
status: open -> pending
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7, Python 
3.1, Python 3.2

___
Python tracker 

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



[issue4709] Mingw-w64 and python on windows x64

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17597] mingw: Allow Objects/exceptions.c to include "errmap.h"

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18631] mingw: setup msvcrt and _winapi modules

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue7757] sys.path is incorrect when prefix is ""

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

This is a very old bug report. Python has changed a lot in the past decade. 
Please reopen the bug if you still can reproduce the issue with Python 3.9 or 
newer.

--
nosy: +christian.heimes
resolution:  -> out of date
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



[issue17604] mingw: use main() to start execution

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18495] mingw: ignore main program for frozen scripts

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue19242] MINGW: generalization of posix installation in distutils

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue19244] MINGW: use replace instead rename to avoid failure on windows

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue17595] mingw: configure largefile support for windows builds

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue7406] int arithmetic relies on C signed overflow behaviour

2021-10-20 Thread Christian Heimes


Christian Heimes  added the comment:

Python 2 is no longer supported. Python 3's _PyLong_Add() function doesn't rely 
on overflow.

--
nosy: +christian.heimes
resolution:  -> out of date
stage: needs patch -> 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



[issue17601] mingw: determine if pwdmodule should be used

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18487] mingw implement exec prefix

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



[issue18496] mingw: setup exclude termios module

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> MinGW is unsupported - close all open issues and list them here.

___
Python tracker 

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



  1   2   3   4   >