[issue46411] modernize exception handling in tests

2022-01-17 Thread miss-islington
miss-islington added the comment: New changeset 42038d00ea7b0b5455e371285102d85006fbf687 by Miss Islington (bot) in branch '3.10': bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) https://github.com/python/cpython/commit/42038d00ea7b0b5455e371285102d85006fbf687

[issue46411] modernize exception handling in tests

2022-01-17 Thread miss-islington
miss-islington added the comment: New changeset 1d6530dd0564a6bb75989b9fca25a649b5ddc1b0 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) (GH-30658)

[issue46005] [doc] replace 'distutils' examples with 'setuptools'

2022-01-17 Thread Tal Einat
Tal Einat added the comment: First, I think that it's good and useful to have full, well-maintained examples of how to build extension modules in the docs. Second, until distutils is removed, I think we should keep the documentation for how to use it. Due to this, I don't think adding the

[issue46411] modernize exception handling in tests

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: New changeset a287b31bcb065e4122400cb59167340d25480e6d by Irit Katriel in branch 'main': bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) https://github.com/python/cpython/commit/a287b31bcb065e4122400cb59167340d25480e6d --

[issue46411] modernize exception handling in tests

2022-01-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +28859 pull_request: https://github.com/python/cpython/pull/30658 ___ Python tracker ___

[issue46411] modernize exception handling in tests

2022-01-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +28858 pull_request: https://github.com/python/cpython/pull/30657 ___ Python tracker

[issue42161] Remove private _PyLong_Zero and _PyLong_One variables

2022-01-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +28857 pull_request: https://github.com/python/cpython/pull/30656 ___ Python tracker ___

[issue46159] Segfault when using trace functions in 3.11a3

2022-01-17 Thread Quentin Pradet
Quentin Pradet added the comment: Thanks, you're right, I ran `git bisect` on Linux and the commit that causes the issue is https://github.com/python/cpython/commit/135cabd328504e1648d17242b42b675cdbd0193b ("Copy free variables in bytecode to allow calls to inner functions to be

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Kirill Ratkin
Hi Grant Hmmm...  definitly you are right in particular solution. But Ok, let me show example. I often use Go in parallel with Python and sometimes I switch between Windows/Linux also. On both systems I just download Go toolset as tarball/zip file and unpack in place where I like. The

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-17 Thread Hynek Schlawack
Hynek Schlawack added the comment: >>> @attrs.define ... class C(Base): ... a: int ... b: int ... >>> C.__slots__ ('b', '__weakref__') We've got a test specifically for this use case:

[issue45452] Support crash tolerance feature for gdbm module

2022-01-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: The gdbm module's purpose is effectively one of just exposing the underlying C library APIs to Python as you said. Consider this a +1 in favor of exposing the new APIs in the Python gdbm module. I'm not concerned about anyone wanting these in older

[issue45959] Teach pprint about dict views

2022-01-17 Thread Éric Araujo
Éric Araujo added the comment: The PR looks good! When the last comments are resolved, unless there is activity from other core devs, I will merge it. -- nosy: +eric.araujo ___ Python tracker

[issue45995] string formatting: normalize negative zero

2022-01-17 Thread John Belmonte
John Belmonte added the comment: Mark, would you give it a review this month? (PR has been marked stale.) -- ___ Python tracker ___

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
Change by Bader Zaidan : -- keywords: +patch pull_requests: +28855 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30654 ___ Python tracker ___

[issue44934] Windows installer: Append Python to PATH instead of prepending it

2022-01-17 Thread Steve Dower
Steve Dower added the comment: Thanks for the PR! This is a good contribution, that wasn't trivial to do. It should be in Python 3.11 alpha 5, so please test it out and make sure it's behaving as you expect. -- resolution: -> fixed stage: patch review -> resolved status: open ->

[issue44934] Windows installer: Append Python to PATH instead of prepending it

2022-01-17 Thread Steve Dower
Steve Dower added the comment: New changeset c47c9e6589eb7a272cfe4d352eb87389eb20ec2f by bneuburg in branch 'main': bpo-44934: Add optional feature AppendPath to Windows MSI installer (GH-27889) https://github.com/python/cpython/commit/c47c9e6589eb7a272cfe4d352eb87389eb20ec2f --

[issue43430] Exception raised when attempting to create Enum via functional API

2022-01-17 Thread Ethan Furman
Ethan Furman added the comment: Thanks for the reminder. -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
Bader Zaidan added the comment: For reference, this is the error request: ``` python3 -m unittest ./tests/*.py Traceback (most recent call last): File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File

[issue46421] unittest ValueError when invoking as module

2022-01-17 Thread Bader Zaidan
New submission from Bader Zaidan : When running a local unittest as a module (for example, `python -m unittest ./tests/*.py`), the command fails with a ValueError. However, if we remove the local directory definition, and call it as `python -m unittest tests/*.py`, it runs without issue. A

[issue43196] logging.config.dictConfig shuts down socket for existing SysLogHandlers

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: I'm not getting this error on 3.11 on a Mac. Can you check on versions <= 3.9? Earlier versions are no longer getting bugfixes. -- nosy: +iritkatriel status: open -> pending type: crash -> behavior ___ Python

[issue28384] [doc] hmac cannot be used with shake algorithms

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python title: hmac cannot be used with shake algorithms -> [doc] hmac cannot be used with shake algorithms versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7

[issue46407] optimizing `1 << n` or `2 ** n` and modulo-only operations

2022-01-17 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- pull_requests: +28854 pull_request: https://github.com/python/cpython/pull/30653 ___ Python tracker ___

[issue38472] GCC detection in setup.py is broken

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: Alex, is this still an issue with current python versions (>= 3.9)? And can you followup on Victor's questions? -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker

[issue30492] 'make clinic' does not work for out of tree builds / clinic.py is not in the devguide

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: I'm closing because the original issue was fixed and testing out of tree build issue is the subject of Issue45695. -- nosy: +iritkatriel resolution: -> fixed stage: needs patch -> resolved status: open -> closed

[issue30819] Linking with 'ld -b' fails with 64-bit using Itanium HP compiler

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: Robert's PR was merged so I'm assuming this is fixed. Reopen or create a new issue if not. -- nosy: +iritkatriel resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue34027] openpty/forkpty build failure using nix package manager macOS environment

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- title: python 3.7 openpty/forkpty build failure using nix package manager macOS environment -> openpty/forkpty build failure using nix package manager macOS environment versions: -Python 3.7, Python 3.8 ___ Python

[issue43430] Exception raised when attempting to create Enum via functional API

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: Is there a bug/documentation change to make here or can this be closed? -- nosy: +iritkatriel status: open -> pending type: crash -> behavior versions: +Python 3.10 -Python 3.7, Python 3.8 ___ Python tracker

[issue42763] Exposing a race in the "_warnings" resulting Python parser crash

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42712] Segmentation fault in running ast.literal_eval() with large expression size.

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Eval with too high string multiplication crashes newer Python versions ___ Python tracker

[issue39602] importlib: lazy loading can result in reimporting a submodule

2022-01-17 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45913] readline + GTK + Pytest Seg Fault with Python 3.7 and 3.10 on CI

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: There are a number of third party components involved in your bug. If you can't narrow it down to something that plausibly looks like a cpython bug, it's unlikely that a core dev will investigate it. -- nosy: +iritkatriel resolution: -> third party

[issue46115] Interrupting subprocess.popen in recursive calls by KeyboardInterrupt causes Fatal Python error.

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46392] MessageIDHeader is too strict for message-id

2022-01-17 Thread R. David Murray
R. David Murray added the comment: Note that the parser does attempt to accept obsolete syntax (registering defects for it), so if there is a bug in the implementation of the obsolete syntax handling it should be fixed. And yes, there have been other bugs with whitespace handling in the

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Chris Angelico
On Tue, Jan 18, 2022 at 7:44 AM Dennis Lee Bieber wrote: > Heroku-Specific note: a recent web-page I encountered searching for > information for a different question indicates that Heroku does not support > SQLite3 and, by extension, ANY file-based dynamic data storage (so, no > Excel files

Re: How to set environmental variables for Python

2022-01-17 Thread Cameron Simpson
On 17Jan2022 11:36, Shaozhong SHI wrote: >Set Operation System but not disturbing existing setting. Only to add at >the command line. If you mean: "set on the command line so that I run some script using Python 3.6.1", usually you would just invoke the specific Python 3.6.1 executable. You

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-17 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +hynek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46420] Use NOTRACE_DISPATCH in specialized opcodes

2022-01-17 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +28853 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30652 ___ Python tracker ___

[issue46420] Use NOTRACE_DISPATCH in specialized opcodes

2022-01-17 Thread Dennis Sweeney
Change by Dennis Sweeney : -- components: Interpreter Core nosy: Dennis Sweeney priority: normal severity: normal status: open title: Use NOTRACE_DISPATCH in specialized opcodes type: performance versions: Python 3.11 ___ Python tracker

[issue46418] Simplify `MODULE` variable in `test_enum.py`

2022-01-17 Thread Nikita Sobolev
Change by Nikita Sobolev : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread David Lord
David Lord added the comment: Meant to say that "done" shows up on the same line, not the shell prompt. An earlier version of my example was in the REPL, where its prompt *does* show up on the same line. -- ___ Python tracker

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Grant Edwards
On 2022-01-17, Sina Mobasheri wrote: > Yes sure, actually I can continue working and developing with python > without this feature no problem but it's something that I like and > I'm just curious about it, about why Python doesn't implement this > kind of installation You talk about "Python"

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- resolution: works for me -> versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24711] Document getpass.getpass behavior on ^C

2022-01-17 Thread David Lord
David Lord added the comment: I can reproduce this on Python 3.10. Actually, `input` and `getpass` both seem to have this behavior now. Please reopen it. ```python import getpass try: getpass.getpass("in: ") except: pass print("done") ``` ``` $ python example.py getpass: ^D done

[issue46419] Incomplete Comparison to C++ Methods

2022-01-17 Thread Jorgen Harmse
New submission from Jorgen Harmse : The description of classes mentions twice that methods are like C++ virtual member functions, but the truth is a bit stranger. Even __init__ seems to act like a virtual function, so there is no guarantee that the base-class part of a derived-class instance

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Barry Scott
> On 17 Jan 2022, at 19:53, Sina Mobasheri wrote: > > Consider scenario that I want run python 3.10 in CentOS 8, I think last > python version in CentOS repository is 3.6, if I use epel I can get 3.8 so > ..., I think (correct me if I'm wrong ) the only way that I can run python > 3.10 is

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-17 Thread Guido van Rossum
Guido van Rossum added the comment: Probably. On Mon, Jan 17, 2022 at 02:14 Alex Waygood wrote: > > Alex Waygood added the comment: > > Do these changes warrant an entry in "What's New in 3.11"? > > -- > > ___ > Python tracker >

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Dennis Lee Bieber
On Mon, 17 Jan 2022 01:55:15 -0800 (PST), NArshad declaimed the following: >This is due to the time factor And that opens another can of worms... Before this "assignment" was given to you, surely someone made some sort of estimate of how long it would take to produce, taking into

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Sina Mobasheri
Yes​ sure, actually I can continue working and developing with python without this feature no problem but it's something that I like and I'm just curious about it, about why Python doesn't implement this kind of installation (most languages do, Java, NodeJS, Deno, PHP, Go, DotNet) is it because

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Antoon Pardon
You could try miniconda. Op 17/01/2022 om 20:53 schreef Sina Mobasheri: Consider scenario that I want run python 3.10 in CentOS 8, I think last python version in CentOS repository is 3.6, if I use epel I can get 3.8 so ..., I think (correct me if I'm wrong ) the only way that I can run

[issue46418] Simplify `MODULE` variable in `test_enum.py`

2022-01-17 Thread Ethan Furman
Ethan Furman added the comment: New changeset 596cf51a4d40f1ac3090cbccb83ad0663d739ae2 by Nikita Sobolev in branch 'main': bpo-46418: [Enum] simplify `MODULE` declaration in tests (GH-30647) https://github.com/python/cpython/commit/596cf51a4d40f1ac3090cbccb83ad0663d739ae2 --

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-17 Thread Eric V. Smith
Eric V. Smith added the comment: It would also be interesting to see what attrs does in this case. -- ___ Python tracker ___ ___

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Sina Mobasheri
Consider scenario that I want run python 3.10 in CentOS 8, I think last python version in CentOS repository is 3.6, if I use epel I can get 3.8 so ..., I think (correct me if I'm wrong ) the only way that I can run python 3.10 is to compile it manually, which is need to know what dependencies

[issue12067] Doc: remove errors about mixed-type comparisons.

2022-01-17 Thread Humbled Drugman
Change by Humbled Drugman : -- pull_requests: +28852 pull_request: https://github.com/python/cpython/pull/30651 ___ Python tracker ___

[issue46317] Pathlib.rename isn't robust

2022-01-17 Thread Oz Tiram
Change by Oz Tiram : -- keywords: +patch pull_requests: +28851 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30650 ___ Python tracker ___

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Calvin Spealman
Well, on its own, I'd say the reason we don't have such a download is that it wouldn't be very useful. On Mon, Jan 17, 2022 at 2:08 PM Sina Mobasheri wrote: > It's cool project definitely something that I'm personally interested > about, but I talking about compressed archive of cpython that we

Re: About Python Compressed Archive or Binaries

2022-01-17 Thread Sina Mobasheri
That's exactly what I mean thank you  From: Python-list on behalf of Kirill Ratkin Sent: Monday, January 17, 2022 9:19:44 PM To: python-list@python.org Subject: Re: About Python Compressed Archive or Binaries Hi, Yes, this is good question for Windows

[issue33601] [doc] Py_UTF8Mode is not documented

2022-01-17 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: [EASY DOC] Py_UTF8Mode is not documented -> [doc] Py_UTF8Mode is not documented versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Sina Mobasheri
It's cool project definitely something that I'm personally interested about, but I talking about compressed archive of cpython that we can simply unzipped and starting developing an app, not running an app that already developed...  From: Calvin Spealman Sent:

[issue46412] PyQT6 projects crashes with python 3.10

2022-01-17 Thread Fernando Pérez Gómez
Fernando Pérez Gómez added the comment: I have to perform several tests to provide a detailed report, check other third party libraries, mysql connector for example, and send it to you. There are several things that don't work with Qt libs (the one that works best is PyQt6). When I finish the

[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2022-01-17 Thread Pulak Malhotra
Change by Pulak Malhotra : -- keywords: +patch nosy: +PulakIIIT nosy_count: 1.0 -> 2.0 pull_requests: +28850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30648 ___ Python tracker

[issue46418] Simplify `MODULE` variable in `test_enum.py`

2022-01-17 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28849 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30647 ___ Python tracker ___

[issue46418] Simplify `MODULE` variable in `test_enum.py`

2022-01-17 Thread Nikita Sobolev
New submission from Nikita Sobolev : Right now `MODULE` in Lib/test/test_enum.py is defined as: ```python MODULE = ('test.test_enum', '__main__')[__name__=='__main__'] ``` I dived into history and did not find any reasoning why it should not be just `__name__`. (But, I might had missed it:

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Calvin Spealman
I maintain a small project that provides this, a drop-in Python runtime you can ship without installation called Feet. Get it? It makes Python run. https://github.com/ironfroggy/feet On Mon, Jan 17, 2022 at 11:16 AM Sina Mobasheri wrote: > Java offers download JDK as Compressed Archive< >

[issue46159] Segfault when using trace functions in 3.11a3

2022-01-17 Thread Paul Kehrer
Paul Kehrer added the comment: Changes in ABI don't seem to be the likely culprit since the Dockerfile provided can demonstrate this bug and has no caching that would result in obtaining alpha2-based binaries. -- ___ Python tracker

[issue31603] Please add argument to override stdin/out/err in the input builtin

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: See also Issue1927. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1927] Change input() to always prompt to stderr

2022-01-17 Thread Irit Katriel
Irit Katriel added the comment: See also Issue31603. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46414] Add typing.reveal_type

2022-01-17 Thread Sebastian Rittau
Change by Sebastian Rittau : -- nosy: +srittau ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46405] Warning compiling main on Windows

2022-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Kumar for the quick fix. Just got a clean compile. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue46414] Add typing.reveal_type

2022-01-17 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- keywords: +patch pull_requests: +28848 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30646 ___ Python tracker ___

Re: About Python Compressed Archive or Binaries

2022-01-17 Thread Kirill Ratkin
Hi, Yes, this is good question for Windows users. Of course, you can download installer exe-file -> do installation -> pack directory with python interpreter to zip (for example, or 7z) -> copy archive file to another place/computer and unpack. But it will not work out of box because

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Avi Gross via Python-list
I can appreciate people under time pressure wanting the job DONE first and maybe learning more after. So, yes, it makes perfect sense to delegate the task to others with expertise or ask for advice. This forum may mean many things to many people but for me, it is a place to offer guidance and

[issue46161] `class A(1, 2, 3, **d): pass` gives bad bytecode

2022-01-17 Thread Mark Shannon
Mark Shannon added the comment: New changeset c118c2455c95baea08045dc64963600b7a56b6fd by zq1997 in branch 'main': bpo-46161: Fix bug in starunpack_helper in compile.c (GH-30235) https://github.com/python/cpython/commit/c118c2455c95baea08045dc64963600b7a56b6fd --

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

2022-01-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +28847 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30645 ___ Python tracker ___

[issue45691] Partial moving of core objects to interpreter state is incorrect at best, unsafe at worse.

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: > `sys.float_info.n_unnamed_fields` causes a memory violation if the > per-interpreter allocated 0 held by sys.float_info.n_unnamed_fields is freed. > If it is not freed, then `sys.float_info.n_unnamed_fields is 0` is False, > meaning that there are two

[issue45691] Partial moving of core objects to interpreter state is incorrect at best, unsafe at worse.

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: Mark: > `sys.float_info.n_unnamed_fields` causes a memory violation if the > per-interpreter allocated 0 held by sys.float_info.n_unnamed_fields is freed. I created bpo-46417 follow-up issue: "[subinterpreters] Clear static types in Py_Finalize()".

[issue40077] Convert static types to heap types: use PyType_FromSpec()

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-46417 "[subinterpreters] Clear static types in Py_Finalize()". -- ___ Python tracker ___

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Grant Edwards
On 2022-01-17, Dennis Lee Bieber wrote: > On Mon, 17 Jan 2022 08:07:07 -0800 (PST), Grant Edwards > declaimed the following: > >>On 2022-01-17, Sina Mobasheri wrote: >>> Java offers download JDK... >>> [...] >>> My question is why Python hasn't option for downloading as >>> Compressed Archive ?

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

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: > I wrote PR 20763 to "finalize" static types in Py_Finalize(). It mostly > works, but "./Programs/_testembed test_forced_io_encoding" crash. (...) I created bpo-46417 follow-up issue: "[subinterpreters] Clear static types in Py_Finalize()". --

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

2022-01-17 Thread STINNER Victor
New submission from STINNER Victor : Converting static types to heap types is a work-in-progress: * bpo-40077: "Convert static types to heap types: use PyType_FromSpec()" * At December 29, 2020, 43% (89/206) of types are declared as heap types on a total of 206 types. For comparison, in

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

2022-01-17 Thread Ethan Furman
Ethan Furman added the comment: Fixed in 3.11. Pure enums have a few more dir() entries now; mixed enums now show all inherited methods/attributes -- members still do not show up in member dirs (this is a good thing). -- resolution: -> fixed stage: patch review -> resolved status:

[Python-announce] Numba 0.55.0 and llvmlite 0.38.0 are out!

2022-01-17 Thread Valentin Haenel
Dear all, 0.55.0 and llvmlite 0.38.0 have been released. Please point your browsers at our discourse for more information: https://numba.discourse.group/t/numba-0-55-0-and-llvmlite-0-38-0-final-release/1136 Best, V- ___ Python-announce-list mailing

[issue46108] Enum repr() incorrect when mixed with non-__new__ data types

2022-01-17 Thread Ethan Furman
Ethan Furman added the comment: Fixed in 3.11. -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Enum: modify __repr__, __str__; update docs type: -> behavior ___ Python tracker

[issue40066] Enum: modify __repr__, __str__; update docs

2022-01-17 Thread Ethan Furman
Change by Ethan Furman : -- priority: release blocker -> normal resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Dennis Lee Bieber
On Mon, 17 Jan 2022 08:07:07 -0800 (PST), Grant Edwards declaimed the following: >On 2022-01-17, Sina Mobasheri wrote: >> Java offers download JDK... >> [...] >> My question is why Python hasn't option for downloading as >> Compressed Archive ? > >Isn't that what the installers are? I

[issue40066] Enum: modify __repr__, __str__; update docs

2022-01-17 Thread Ethan Furman
Ethan Furman added the comment: New changeset 62a6594e66ca955073be2f4e5a40291a39252ef3 by Ethan Furman in branch 'main': bpo-40066: [Enum] fix tests (GH-30643) https://github.com/python/cpython/commit/62a6594e66ca955073be2f4e5a40291a39252ef3 --

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Dennis Lee Bieber
On Tue, 18 Jan 2022 02:51:22 +1100, Chris Angelico declaimed the following: > >I strongly encourage everyone to stop helping the OP until there's >some code to help with. > Well, we did squeeze about four lines of code from the OP -- though still incomplete (no import statements so we

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2022-01-17 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46414] Add typing.reveal_type

2022-01-17 Thread Marc Mueller
Change by Marc Mueller : -- nosy: +cdce8p ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46405] Warning compiling main on Windows

2022-01-17 Thread Mark Shannon
Mark Shannon added the comment: New changeset a4bc2218d270c4c7a898c8b3967c8c271afe9abe by Kumar Aditya in branch 'main': bpo-46405: fix msvc compiler warnings (GH-30627) https://github.com/python/cpython/commit/a4bc2218d270c4c7a898c8b3967c8c271afe9abe --

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Grant Edwards
On 2022-01-17, Sina Mobasheri wrote: > Java offers download JDK... > [...] > My question is why Python hasn't option for downloading as > Compressed Archive ? Isn't that what the installers are? -- Grant -- https://mail.python.org/mailman/listinfo/python-list

[issue40066] Enum: modify __repr__, __str__; update docs

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: I created https://github.com/python/core-workflow/issues/424 "Should we make the Docs CI mandatory on the Python main branch?". -- ___ Python tracker

Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Sina Mobasheri
Java offers download JDK as Compressed Archive or NodeJS offers download Node as Binaries both give us a compressed file for Linux and windows that we can just unzipped it and put in a

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Chris Angelico
On Tue, Jan 18, 2022 at 2:46 AM NArshad wrote: > > Avi Gross: > > -“They just were hoping someone would post complete code and they could then > move on without learning anything.” > > This is due to the time factor Then pay someone to write it. There are plenty of contractors out there. You

Re: About Python Compressed Archive or Binaries

2022-01-17 Thread Chris Angelico
On Tue, Jan 18, 2022 at 2:47 AM Chris Angelico wrote: > > On Tue, Jan 18, 2022 at 2:42 AM Sina Mobasheri > wrote: > > > > Java offers download JDK as Compressed Archive or NodeJS offers download > > Node as Binaries both give us a compressed file for Linux and windows that > > we can just

Re: About Python Compressed Archive or Binaries

2022-01-17 Thread Chris Angelico
On Tue, Jan 18, 2022 at 2:42 AM Sina Mobasheri wrote: > > Java offers download JDK as Compressed Archive or NodeJS offers download Node > as Binaries both give us a compressed file for Linux and windows that we can > just unzipped it and put in a custom directory and set some environment >

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread NArshad
Avi Gross: -“They just were hoping someone would post complete code and they could then move on without learning anything.” This is due to the time factor -- https://mail.python.org/mailman/listinfo/python-list

About Python Compressed Archive or Binaries

2022-01-17 Thread Sina Mobasheri
Java offers download JDK as Compressed Archive or NodeJS offers download Node as Binaries both give us a compressed file for Linux and windows that we can just unzipped it and put in a custom directory and set some environment variables and start working I'm aware that Python also have

[issue46414] Add typing.reveal_type

2022-01-17 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +sobolevn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46415] ipaddress.ip_{address, network, interface} raises TypeError instead of ValueError if given a tuple as address

2022-01-17 Thread Thomas Cellerier
Change by Thomas Cellerier : -- title: ipaddress.ip_{address,network,interface} raise TypeError instead of ValueError if given a tuple as address -> ipaddress.ip_{address,network,interface} raises TypeError instead of ValueError if given a tuple as address

  1   2   >