[issue42172] Typo in test library for test_socket.py

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset d6238ba82d07e8e0783b692f37dc4b7c8617294b by Akashkumar D Khunt in branch 'master': bpo-42172: Correct typo for test_socket.py (GH-23013) https://github.com/python/cpython/commit/d6238ba82d07e8e0783b692f37dc4b7c8617294b --

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42173] Drop Solaris support

2020-10-30 Thread Jasper Siepkes
Jasper Siepkes added the comment: I'm another Illumos user that has crawled from under a rock ;-) to request not to drop Illumos support. -- nosy: +siepkes ___ Python tracker

[issue42204] "import setuptools" Results in "ModuleNotFoundError: No module named '_distutils_hack'"

2020-10-30 Thread Steven Yan
Change by Steven Yan : -- components: Distutils files: pic.png nosy: dstufft, eric.araujo, sy priority: normal severity: normal status: open title: "import setuptools" Results in "ModuleNotFoundError: No module named '_distutils_hack'" type: behavior versions: Python 3.9 Added file:

[issue42173] Drop Solaris support

2020-10-30 Thread Paolo Marcheschi
Paolo Marcheschi added the comment: Please continue support for Solaris/IllumOS! This is very important for us. -- nosy: +marcheschi ___ Python tracker ___

[issue42204] "import setuptools" Results in "ModuleNotFoundError: No module named '_distutils_hack'"

2020-10-30 Thread Steven Yan
Change by Steven Yan : Added file: https://bugs.python.org/file49551/pic.png ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42173] Drop Solaris support

2020-10-30 Thread abarbu
abarbu added the comment: Please don't drop Solaris support, we still use it to this day. -- nosy: +abarbu ___ Python tracker ___

[issue42201] Priority queue realization issue

2020-10-30 Thread Даниил Ляхов
New submission from Даниил Ляхов : In Priority queue realization in docs https://docs.python.org/3/library/heapq.html there is no appointments that priority can be equal and the task can have different type. For example, if you store number of graph node in your priority queue, than it is

[issue42173] Drop Solaris support

2020-10-30 Thread Marius Pana
Marius Pana added the comment: Please do not drop support for SunOS. We are happy to provide some hosting services on SmartOS/Illumos for building. -- nosy: +mariuspana ___ Python tracker

[issue42202] Optimize function annotation

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are annotations now always known at compile time? As for representation, it can also be a sequence of pairs (('x', 'int'), ('z', 'float'), ('return', 'Hoge')) or a pair of sequences (('x', 'z', 'return'), ('int', 'float', 'Hoge')). It would be better to

[issue42202] Optimize function annotation

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: I like the 1st option which uses a tuple -- nosy: +corona10 -serhiy.storchaka ___ Python tracker ___

[issue42204] "import setuptools" Results in "ModuleNotFoundError: No module named '_distutils_hack'"

2020-10-30 Thread Steven Yan
Change by Steven Yan : Removed file: https://bugs.python.org/file49550/pic.png ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: See: #26789 #39513 Serhiy, is a test case still needed? Should this be closed and pushed back to fixing logging? -- nosy: +steven.daprano ___ Python tracker

[issue42201] Priority queue realization issue

2020-10-30 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list

[issue42202] Optimize function annotation

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread john ryan
New submission from john ryan : My test environment runs Ubuntu 18.04 in a virtualbox hosted on Windows 8.1 and Python executes within a venv running Python 3.9.0 (Python 3.9.0 (default, Oct 26 2020, 09:02:51) [GCC 7.5.0] on linux Running a test with unittest.IsolatedAsyncioTestCase my code

[issue42202] Optimize function annotation

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: @serhiy race condition sorry ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread john ryan
john ryan added the comment: Thanks. That is understandable. I reported it in case it was helpful. -- ___ Python tracker ___ ___

[issue42173] Drop Solaris support

2020-10-30 Thread Predrag Zečević
Predrag Zečević added the comment: Please, keep support! -- nosy: +predrag.zecevic.1961 versions: -Python 3.10 ___ Python tracker ___

[issue42205] Add image/webp to list of non-standard mimetypes

2020-10-30 Thread waicalibre
Change by waicalibre : -- keywords: +patch pull_requests: +21953 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23034 ___ Python tracker ___

[issue42202] Optimize function annotation

2020-10-30 Thread Inada Naoki
New submission from Inada Naoki : Look this example: code: ``` # code def foo(x: int, /, y, *, z: float) -> Hoge: pass # dis 2 12 LOAD_CONST 2 ('int') 14 LOAD_CONST 3 ('float') 16 LOAD_CONST 4 ('Hoge')

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It can happen if the code is executed very late at the shutdown stage. The builtin module is restored to its initial state (open is imported from io) to get rid of reference cycles. -- nosy: +serhiy.storchaka, vinay.sajip

[issue42172] Typo in test library for test_socket.py

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42172] Typo in test library for test_socket.py

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: merged! Thank you for working on this!! @adkhunt ;) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42173] Drop Solaris support

2020-10-30 Thread Tony Albers
Tony Albers added the comment: No no no, please don't. Apart from FreeBSD, illumos distros are the only really hard-core UNIX OS'es still freely available, the features taken into account. SMF, dtrace and several hypervisor types makes illumos really stand out. I understand that there are

[issue42173] Drop Solaris support

2020-10-30 Thread Carsten Grzemba
Carsten Grzemba added the comment: Please continue support for Solaris/IllumOS! For build resources on the most recent Solaris platforms you can contact opencsw.org. -- nosy: +cgrzemba ___ Python tracker

[issue42202] Optimize function annotation

2020-10-30 Thread Inada Naoki
Inada Naoki added the comment: > Are annotations now always known at compile time? Yes, because `from __future__ import annotations` is enabled by default from Python 3.10. > As for representation, it can also be a sequence of pairs (('x', 'int'), > ('z', 'float'), ('return', 'Hoge')) or a

[issue42160] unnecessary overhead in tempfile

2020-10-30 Thread Inada Naoki
Inada Naoki added the comment: Thanks -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-30 Thread Martin Gfeller
Martin Gfeller added the comment: Thank you, Steve, for your rapid response and explanation! I would like to have my installation fully isolated in case somebody (running the machine) fiddles with the installation in the standard location. I used to do that without problems with the 2.7 .msi

[issue42205] Add image/webp to list of non-standard mimetypes

2020-10-30 Thread waicalibre
New submission from waicalibre : WebP is an open-source image format that isn't included in Python's mimetypes. It hasn't been added because it has no IANA registration: https://bugs.python.org/issue38902 In mimetypes.py there is a list of common but non-standard media types that only match

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-26789. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> asyncio: Please do not log during shutdown ___ Python tracker

[issue39513] NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-26789. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> asyncio: Please do not log during shutdown ___ Python tracker

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21960 pull_request: https://github.com/python/cpython/pull/23041 ___ Python tracker ___

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This will slow down the parser massively. The reason we went' with the assert is so we only do the check in debug mode. We could propagate if you want, but it needs to be surrounded by debug preprocessor checks. --

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > This will slow down the parser massively. The reason we went' with the assert > is so we only do the check in debug mode. We could propagate if you want, but > it needs to be surrounded by debug preprocessor checks. Oh, I just checked and it

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-30 Thread shakir_juolay
Change by shakir_juolay : Added file: https://bugs.python.org/file49552/Capture.JPG ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42173] Drop Solaris support

2020-10-30 Thread Olaf Bohlen
Olaf Bohlen added the comment: Also, let me join in here. OpenIndiana hipster and all other illumos distributions will suffer if you drop the "Solaris" support. Just to get an idea which packages in a nearly default install depend on python: pkg uninstall: Unable to remove

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3af4b585527743e455145d294049c46b7c823ed9 by Batuhan Taskaya in branch 'master': bpo-42206: Propagate and raise errors from PyAST_Validate in the parser (GH-23035)

[issue39715] Implement __repr__ methods for AST classes

2020-10-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I suggest to reject this feature request +1 -- ___ Python tracker ___ ___ Python-bugs-list

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, solving any of issue26789 or issue39513 will likely solve also this issue. But this issue is the one which relates to asyncio tests, so there may be some flaw in tests which should be fixed too. Solving issue26789 or issue39513 will eliminate

[issue39715] Implement __repr__ methods for AST classes

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I reject the feature request. While repr() on AST nodes could be enhanced for some specific nodes, you have to know that the code is mostly implemented in C which make enhancements non-trivial. Moreover, this code (Python/Python-ast.c) is generated by a

[issue41626] port shebang of tools from python2 to python3

2020-10-30 Thread hai shi
hai shi added the comment: Sorry for my delay~ >I think some of these work with any Python, but some need the locally built >interpreter to give correct results. >It could avoid confusion and mistakes to remove the shebangs and executable >bits from the scripts that need a local Python, and

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: @pablogsal Since this is the developer guide of 3.10. I would like to suggest as release bloker, if you don't agree you can change it ;) -- nosy: +pablogsal ___ Python tracker

[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-10-30 Thread serge-sans-paille
Change by serge-sans-paille : -- keywords: +patch pull_requests: +21955 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23037 ___ Python tracker

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > It looks like a bug in finalize_interp_clear() which triggers a garbage > collection, whereas Python is no longer usable. I created bpo-42208 "Using logging or warnings during Python finalization does crash Python". --

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
New submission from STINNER Victor : If you apply attached logging.patch, Python crash using attached crash.py: $ echo|./python -i crash.py >>> >>> python: Python/_warnings.c:872: setup_context: Assertion `globals != NULL' failed. Abandon (core dumped) Attached logging.patch is a fix for

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49554/crash.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42210] float.hex discards sign from -nan

2020-10-30 Thread Sree
New submission from Sree : float.hex(float.fromhex("-nan")) returns 'nan'. PyOS_double_to_string seems to check only if it is a NaN, but ignores the sign (unlike its handling of inf a few lines below):

[issue42198] Clean up docs for Union and GenericAlias

2020-10-30 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +21958 pull_request: https://github.com/python/cpython/pull/23039 ___ Python tracker ___ ___

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21959 pull_request: https://github.com/python/cpython/pull/23040 ___ Python tracker ___

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I hacked logging.FileHandler to keep a reference to the builtin open() function. I got new problems. In my test, I got a crash because of an unclosed file. It happens after PyInterpreterState_Clear(), in finalize_interp_clear(): /* Last explicit GC

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I would like to suggest as release bloker, if you don't agree you can change > it ;) This is indeed a release blocker, but likely for the beta/release candidate phases. -- ___ Python tracker

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-10-30 Thread Dong-hee Na
Dong-hee Na added the comment: > but likely for the beta/release candidate phases. I think so too -- ___ Python tracker ___ ___

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21957 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23038 ___ Python tracker ___

[issue42209] Incorrect line reported in syntax error

2020-10-30 Thread gKuhn
New submission from gKuhn : Attempting to parse the following python code results in a fairly unhelpful syntax error along with an incorrect line number being reported: #a dodgy f-string def dodgy(**kwargs): print(f"{**kwargs}") The result: File "", line 1 (**kwargs)

[issue42209] Incorrect line reported in syntax error

2020-10-30 Thread Eric V. Smith
Eric V. Smith added the comment: The line number has been fixed in python 3.9: File "...\foo.py", line 5 (**kwargs) ^ SyntaxError: f-string: invalid syntax The error message should improve when we move parsing of f-strings into the parser. I doubt we'd put in the effort to do

[issue41626] port shebang of tools from python2 to python3

2020-10-30 Thread hai shi
hai shi added the comment: typo error: PR21913->PR21931 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-39513 and bpo-42203 as duplicates of this issue. I changed the title to reflect that the root issue is that logging during Python finalization can fail with NameError: name 'open' is not defined. -- components: +Library (Lib) -asyncio

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread Vedran Čačić
Vedran Čačić added the comment: > In the OP, the error is caused by `open` being unavailable, which is a > builtin. According to what Serhiy says, this error would be after step 6 I think you read the post above incorrectly. The phase 3 is the one where open is removed, since it's not a

[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-10-30 Thread serge-sans-paille
New submission from serge-sans-paille : How to reproduce: ``` git clone https://github.com/python/cpython && cd cpython mkdir -p _build/optimized cd _build/optimized ../../configure --enable-optimizations CC=clang make cd .. ./optimized/python -m test.regrtest -wW --slowest -j0 --timeout=1800

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8b3414818f5289eac530bf38bcfbd7b2b851805c by Victor Stinner in branch 'master': bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038) https://github.com/python/cpython/commit/8b3414818f5289eac530bf38bcfbd7b2b851805c --

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not sure that its all the same issue. There may be several different issues: * Issue39513. Logging fails with confusing traceback when called late at shutdown. I think that if logging cannot work at this stage it should either do nothing or emit a

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-30 Thread shakir_juolay
shakir_juolay added the comment: I have installed Zoom without Admin rights in the default folder D:\Users\sjuolay\AppData\Roaming\Zoom\bin. I am assuming it's only me since the application is not installed in Program Files. Regarding CMD trying to run Python D:\Users\sjuolay>where.exe

[issue42203] Unexpected behaviour NameError: name 'open' is not defined

2020-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of below https://bugs.python.org/issue26789 https://bugs.python.org/issue39513 -- nosy: +xtreak ___ Python tracker

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +21954 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23035 ___ Python tracker ___

[issue42173] Drop Solaris support

2020-10-30 Thread Jorge Schrauwen
Jorge Schrauwen added the comment: I'm an illumos user too, mostly SmartOS and some OmniOS. I'm a heavy user of salt and thus phyton too, slowly prepping to get my stuff moved from 2.7 to 3.8 atm. As mentioned above parts of the illumos build also use python and are moving to wads 3.9. As

[issue42202] Optimize function annotation

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Yes, but it is bit larger than my single tuple idea in most cases. Yes, but the code for creating a dict can be simpler. In any case we will better see what format is better when try to write a code. > I am not sure this is the best option because there

[issue39715] Implement __repr__ methods for AST classes

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that it's a good idea to make repr(_ast.AST) longer. I suggest to reject this feature request. As Serhiy wrote, ast.dump() can already be used. -- nosy: +vstinner ___ Python tracker

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2020-10-30 Thread Antti Haapala
Antti Haapala added the comment: Another test case: import tempfile import io import json with tempfile.SpooledTemporaryFile(max_size=2**20) as f: tf = io.TextIOWrapper(f, encoding='utf-8') json.dump({}, fp=tf) I was writing json to a file-like object that I need to read in as

[issue39513] NameError: name 'open' is not defined

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this is a multi-level problem, and it perhaps should be solved on different levels separately. As for logging, it can be used at shutdown by user code, it may help to understand the problem with the user code, and it may work most of time. But if

[issue42173] Drop Solaris support

2020-10-30 Thread Juraj Lutter
Juraj Lutter added the comment: We, in danubecloud (https://github.com/erigones/esdc-ce) are relying on Python, too. Keep up the good work, folks :-) -- nosy: +otis ___ Python tracker

[issue42173] Drop Solaris support

2020-10-30 Thread Jan Poctavek
Jan Poctavek added the comment: I'm speaking officially for Danube Cloud, an advanced project which is open-source virtualization platform similar to Proxmox, XCP-NG, oVirt, Joyent Triton, etc. Our base platform is SmartOS and we have everything written in Python. If you drop support for

[issue42173] Drop Solaris support

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > But it's not enough, please call for help: Please *read* my call for help -- ___ Python tracker ___

[issue41839] Solaris: Fix error checking in sched_get_priority_ functions

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- title: Fix error checking in sched_get_priority_ functions -> Solaris: Fix error checking in sched_get_priority_ functions ___ Python tracker

[issue42206] Pegen: Raise errors occurred by the AST validator

2020-10-30 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : When working on the AST validator, it is unclear that which of the changes caused parser to fail on valid input. I propose to propagate the error and raise it. Current: $ ./python t.py python: Parser/pegen.c:1146: _PyPegen_run_parser: Assertion

[issue42173] Drop Solaris support

2020-10-30 Thread Mike La Spina
Mike La Spina added the comment: I suspect the download stats are not a full indication of usage on “SunOS” based on download stats. The bits are preinstalled. I do use it frequently via Illumos. Please support the platform. Regards, Mike -- nosy: +michael.laspina

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2020-10-30 Thread Antti Haapala
Antti Haapala added the comment: ... to further clarify, it is disappointing that either BytesIO or TemporaryFile would work alone, but the one that merges these two doesn't. -- ___ Python tracker

[issue41618] [C API] How many slots of static types should be exposed in PyType_GetSlot()

2020-10-30 Thread hai shi
hai shi added the comment: > IMO, a slot should be exposed if there is some reason for exposing it. Can we write those info to docs? In case some developer want to exposing slot in future. > Which other slots are we missing? nb_inserved in PyNumberMethods should be removed? --

[issue42173] Drop Solaris support

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: It seems like two Python core developers (Ronald Oussoren and Jesús Cea Avión) are volunteer to maintain the Solaris support. Moreover, it seems like some people would like to provide a Solaris server to run a buildbot server. In this case, I would be fine

[issue42173] Drop Solaris support

2020-10-30 Thread Gaige Paulsen
Gaige Paulsen added the comment: Let me add my voice to those who ask to keep Solaris support in Python going forward. We use SmartOS which is an Illumos and thus Solaris derivative. We use Ansible extensively to automate our SmartOS deployments. We have a couple hundred VMs and 2 part-time

[issue39513] NameError: name 'open' is not defined

2020-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue26789 is about asyncio, but this issue about logging. -- ___ Python tracker ___ ___

[issue42173] Drop Solaris support

2020-10-30 Thread Jakub Kulik
Jakub Kulik added the comment: Hi, here I am passing on several notes from the Oracle Solaris team: - Oracle continues to develop and advance Oracle Solaris technology, and have committed to doing so for years to come. We release a new update (so called SRU) every month

[issue42173] Drop Solaris support

2020-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Discussions are happening in this thread, including the requirements for supported platforms going forward: https://mail.python.org/archives/list/python-...@python.org/thread/VDD7NMEDFXMOP4S74GEYJUHJRJPK2UR3/ --

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > Issue26789. asyncio creates reference loops which caused to executing code > late at shutdown, and that code uses logging which always fail. Well, I suggest to attempt fixing logging. The reference cycle in asyncio.Task.set_exception() is *by design*.

[issue42212] Check if generated files are up-to-date in Github Actions

2020-10-30 Thread Filipe Laíns
New submission from Filipe Laíns : https://github.com/python/core-workflow/issues/380 -- ___ Python tracker ___ ___ Python-bugs-list

[issue42212] Check if generated files are up-to-date in Github Actions

2020-10-30 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: FFY00, vstinner priority: normal severity: normal status: open title: Check if generated files are up-to-date in Github Actions ___ Python tracker

[issue42209] Incorrect line reported in syntax error

2020-10-30 Thread gKuhn
gKuhn added the comment: Ah, that makes sense, thank you for the info. The line number is probably the most important piece of information here anyway. It sounds like the syntax error string is already planned and as such this is probably a duplicate. Please close if this is the case.

[issue42211] CRASH

2020-10-30 Thread Soham Badame
New submission from Soham Badame : If you apply attached logging.patch, Python crash using attached crash.py: $ echo|./python -i crash.py >>> >>> python: Python/_warnings.c:872: setup_context: Assertion `globals != NULL' failed. Abandon (core dumped) Attached logging.patch is a fix for

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset dff1ad509051f7e07e77d1e3ec83314d53fb1118 by Victor Stinner in branch 'master': bpo-42208: Move _PyImport_Cleanup() to pylifecycle.c (GH-23040) https://github.com/python/cpython/commit/dff1ad509051f7e07e77d1e3ec83314d53fb1118 --

[issue39513] NameError: name 'open' is not defined

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > Issue26789 is about asyncio, but this issue about logging. I chose to reassign Issue26789 to the logging module. -- ___ Python tracker

[issue42211] CRASH

2020-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please attach crash.py and logging.patch files -- nosy: +vstinner, xtreak ___ Python tracker ___

[issue42212] Check if generated files are up-to-date in Github Actions

2020-10-30 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +21961 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23042 ___ Python tracker ___

[issue42173] Drop Solaris support

2020-10-30 Thread cyrus torros
cyrus torros added the comment: Why?? I use python on solaris in my every day toolchain and at work. There is no harm in keeping it supported, it's not hard. Please do not drop support. -- nosy: +sugondesenuts007 ___ Python tracker

[issue42173] Drop Solaris support

2020-10-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think the PR needs to be withdrawn. Users have spoken. There is zero need to cut them off. -- nosy: +rhettinger ___ Python tracker

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038) > https://github.com/python/cpython/commit/8b3414818f5289eac530bf38bcfbd7b2b851805c This change renames collect() to gc_collect_main(). It broke test_gdb on buildbots, whereas test_gdb passed on

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21962 pull_request: https://github.com/python/cpython/pull/23043 ___ Python tracker ___

  1   2   >