[issue46912] Full gc collection blocked from collecting after some amount of objects in oldest gen

2022-03-06 Thread Irit Katriel
Irit Katriel added the comment: See if you can write a script that makes this happen. -- nosy: +iritkatriel ___ Python tracker ___

[issue46912] Full gc collection blocked from collecting after some amount of objects in oldest gen

2022-03-06 Thread Alexei Komarov
Change by Alexei Komarov : -- nosy: +pablogsal, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Behavior of the for-else construct

2022-03-06 Thread Peter J. Holzer
On 2022-03-06 18:34:39 -0800, Grant Edwards wrote: > On 2022-03-06, Avi Gross via Python-list wrote: > > Python is named after a snake right? > > No. It's named after a comedy troupe. He actually wrote that two sentences later. hp -- _ | Peter J. Holzer| Story must make more

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-06 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +29833 pull_request: https://github.com/python/cpython/pull/31718 ___ Python tracker ___

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The PR introduced some deprecation warnings in tests. ./python -Wall -m test test_unicode 0:00:00 load avg: 1.54 Run tests sequentially 0:00:00 load avg: 1.54 [1/1] test_unicode

[issue46930] Iterating over cls.__dict__ in classmethod causes RuntimeError when printing __annotations__

2022-03-06 Thread Larry Hastings
Larry Hastings added the comment: When accessing __annotations__ *in a class without annotations*, and *for the first time*. And your workaround seems reasonable. -- ___ Python tracker

[issue46761] functools.update_wrapper breaks the signature of functools.partial objects

2022-03-06 Thread Ofey Chan
Ofey Chan added the comment: I updated NEWS and all checks have passed! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46843] PersistentTaskGroup API

2022-03-06 Thread Joongi Kim
Joongi Kim added the comment: I have released the new version of aiotools with rewritten TaskGroup and PersistentTaskGroup. https://aiotools.readthedocs.io/en/latest/aiotools.taskgroup.html aiotools.TaskGroup has small additions to asyncio.TaskGroup: a naming API and `current_taskgroup`

[issue46925] Document dict behavior when setting equal but not identical key

2022-03-06 Thread Inada Naoki
Inada Naoki added the comment: I don't know much about Java, but Java's WeakHashMap is same to Python's WeakKeyDictionary. https://docs.oracle.com/javase/9/docs/api/java/util/WeakHashMap.html """ This class is intended primarily for use with key objects whose equals methods test for object

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2022-03-06 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

Re: Behavior of the for-else construct

2022-03-06 Thread Grant Edwards
On 2022-03-06, Avi Gross via Python-list wrote: > Python is named after a snake right? No. It's named after a comedy troupe. -- Grant -- https://mail.python.org/mailman/listinfo/python-list

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Martin Di Paola
Yeup, that would be my first choice but the catch is that "sayhi" may not be a function of the given module. It could be a static method of some class or any other callable. Ah, fair. Are you able to define it by a "path", where each step in the path is a getattr() call? Yes but I think

[issue46941] Bug or plug not removed (The operator "is")

2022-03-06 Thread Eric V. Smith
Eric V. Smith added the comment: As others have noted, the behavior is intentional, so I'm closing this. -- nosy: +Dennis Sweeney, Jelle Zijlstra, eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue45100] Improve help() by making typing.overload() information accessible at runtime

2022-03-06 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- keywords: +patch pull_requests: +29832 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31716 ___ Python tracker ___

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Martin Di Paola
I'm not so sure about that. The author of the plugin knows they're writing code that will be dynamically loaded, and can therefore expect the kind of problem they're having. It could be argued that it's their responsibility to ensure that all the needed code is loaded into the subprocess.

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-06 Thread Owen T. Heisler
Change by Owen T. Heisler : -- nosy: -owenh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: C API PyObject_CallFunctionObjArgs returns incorrect result

2022-03-06 Thread MRAB
On 2022-03-07 00:32, Jen Kris via Python-list wrote: I am using the C API in Python 3.8 with the nltk library, and I have a problem with the return from a library call implemented with PyObject_CallFunctionObjArgs. This is the relevant Python code: import nltk from nltk.corpus import

[issue46941] Bug or plug not removed (The operator "is")

2022-03-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: The code in the screenshot looks correct. >>> i = 0 >>> i is int False >>> type(i) is int True The code above does not get warning because "int" is a variable. This kind of comparison is always allowed and will work reliably. >>> i is 0 :1:

[issue46941] Bug or plug not removed (The operator "is")

2022-03-06 Thread Dennis Sweeney
Dennis Sweeney added the comment: In the future, please copy and paste the relevant code and errors as text. Images of code are harder for screen-readers for the visually impaired, harder to copy-and-paste to verify, and are more likely to be perceived as spam. Your code is essentially

[issue46941] Bug or plug not removed (The operator "is")

2022-03-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I don't understand what you are referring to. What do you think is wrong? -- nosy: +Jelle Zijlstra ___ Python tracker ___

[issue44863] Allow TypedDict to inherit from Generics

2022-03-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: Related issue: https://bugs.python.org/issue43923 -- nosy: +rhettinger ___ Python tracker ___

[issue46941] Bug or plug not removed (The operator "is")

2022-03-06 Thread Роман Слабицкий
New submission from Роман Слабицкий : I understand it's a stub that hasn't been removed, so it's a message from the C language that Python runs on in principle. -- components: Interpreter Core files: изображение_2022-03-07_023751.png messages: 414630 nosy: semina054 priority: normal

C API PyObject_CallFunctionObjArgs returns incorrect result

2022-03-06 Thread Jen Kris via Python-list
I am using the C API in Python 3.8 with the nltk library, and I have a problem with the return from a library call implemented with PyObject_CallFunctionObjArgs.  This is the relevant Python code: import nltk from nltk.corpus import gutenberg fileids = gutenberg.fileids() sentences =

[issue44863] Allow TypedDict to inherit from Generics

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

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Greg Ewing
On 7/03/22 9:36 am, Martin Di Paola wrote: It *would* be my fault if multiprocessing.Process fails only because I'm loading the code dynamically. I'm not so sure about that. The author of the plugin knows they're writing code that will be dynamically loaded, and can therefore expect the kind

Re: Behavior of the for-else construct

2022-03-06 Thread Dennis Lee Bieber
On Sun, 6 Mar 2022 17:39:51 +0100, "Peter J. Holzer" declaimed the following: > >(* *) for comments was actually pretty commonly used - maybe because it >stands out more than { }. I don't know if I've ever seen (. .) instead >of [ ]. > Or some terminals provided [ ] but not { }

[issue46744] installers on ARM64 suggest wrong folders

2022-03-06 Thread conio
conio added the comment: Thank you very much, Steve. I took a look but didn't get to making the patch. I'm happy to see it was just removing the calculation of the PF(ARM) folder. For the second issue, even though I prefer it the way I said (unqualified = native), since (i) the default

Re: mac app from a python script?

2022-03-06 Thread Dan Stromberg
On Sun, Jan 23, 2022 at 9:59 AM Dan Stromberg wrote: > > Hi folks. > > I have a Python 3 script (built on top of gi.respository.Gtk) that runs on > Linux and macOS 11.5. It's at > https://stromberg.dnsalias.org/~strombrg/hcm/ if you're curious. > > It works the way I want on Linux, but on macOS

Re: Behavior of the for-else construct

2022-03-06 Thread Chris Angelico
On Mon, 7 Mar 2022 at 09:51, Avi Gross via Python-list wrote: > > >>> > Pascal versus PASCAL versus pascal (not versus paschal) and > Perl versus PERL versus perl (not versus pearl) > > seems to be a topic. > <<< > > The nitpickers here are irrelevant. I happen to know how things are formally >

Re: Behavior of the for-else construct

2022-03-06 Thread Avi Gross via Python-list
>>> Pascal versus PASCAL versus pascal (not versus paschal) and Perl versus PERL versus perl (not versus pearl) seems to be a topic. <<< The nitpickers here are irrelevant. I happen to know how things are formally spelled and if I was publishing a book, might carefully proofread it. I

[issue30693] tarfile add uses random order

2022-03-06 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 8.0 -> 9.0 pull_requests: +29831 pull_request: https://github.com/python/cpython/pull/31713 ___ Python tracker ___

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-06 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +29830 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31712 ___ Python tracker

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Eric V. Smith
Eric V. Smith added the comment: Yeah, I've come to the conclusion that it's not so simple, either. I'm also thinking that advising to call the base __init__ is a mistake. -- ___ Python tracker

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2022-03-06 Thread Géry
Change by Géry : -- nosy: +maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Getting Syslog working on OSX Monterey

2022-03-06 Thread Barry
> On 6 Mar 2022, at 19:38, Peter J. Holzer wrote: > > On 2022-03-06 18:28:59 +0100, Peter J. Holzer wrote: >>> On 2022-03-05 16:25:38 +, Barry Scott wrote: >>> Using the syslog() function means that any platform/distro details are >>> hidden from the user of syslog() and as is the case of

Re: virtualenv and make DESTDIR=

2022-03-06 Thread Barry
> On 6 Mar 2022, at 16:53, Peter J. Holzer wrote: > > On 2022-03-05 17:59:48 +0100, Marco Sulla wrote: >>> On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote: >>> Note: you usually cannot use pip when building an RPM with mock as the >>> network is disabled inside the build for >>> security

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Bar Harel
Bar Harel added the comment: Actually I'm not sure if the fix is so simple. What happens if B does not inherit from dataclass, but still inherits from A? Do we want to use the new __post_init__? I would assume we do, meaning we don't necessarily want to attach the __post_init__ to the

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Bar Harel
Bar Harel added the comment: @Eric, I can easily fix it if you wish :-) Just wondered if it's intended or not, as it looked like a bug but the documentation was somewhat endorsing it and I got confused. Either case, a simple fix. -- ___ Python

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Chris Angelico
On Mon, 7 Mar 2022 at 07:37, Martin Di Paola wrote: > > > > > > >The way you've described it, it's a hack. Allow me to slightly redescribe it. > > > >modules = loader() > >objs = init(modules) > > > >def invoke(mod, func): > ># I'm assuming that the loader is smart enough to not load > >#

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Martin Di Paola
Try to use `fork` as "start method" (instead of "spawn"). Yes but no. Indeed with `fork` there is no need to pickle anything. In particular the child process will be a copy of the parent so it will have all the modules loaded, including the dynamic ones. Perfect. The problem is that `fork` is

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Martin Di Paola
The way you've described it, it's a hack. Allow me to slightly redescribe it. modules = loader() objs = init(modules) def invoke(mod, func): # I'm assuming that the loader is smart enough to not load # a module that's already loaded. Alternatively, load just the # module you need,

[issue34810] Maximum and minimum value of C types integers from Python

2022-03-06 Thread Irit Katriel
Irit Katriel added the comment: Closing because there was no reply to questions asking to clarify the use case. Please reopen if you would like to continue the discussion. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Your PR fixed the issue for me. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +29829 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31710 ___ Python tracker

[issue46940] Suggestion messages don't properly work in nested getattr calls

2022-03-06 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Consider this code: class A: __slots__ = [ "_color", ] color = None @property def color(self): return self._color A().color Executing this shows: Traceback (most recent call last): File

[issue46939] Specialize calls for Python classes

2022-03-06 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45582] Rewrite getpath.c in Python

2022-03-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 55a5e17d19fecb6a7af85a1a9d44304e5fcb19c7 by Christian Heimes in branch 'main': bpo-45582: Don't fail if ENV_PATH is None in getpath.py (GH-31699) https://github.com/python/cpython/commit/55a5e17d19fecb6a7af85a1a9d44304e5fcb19c7 --

Re: Getting Syslog working on OSX Monterey

2022-03-06 Thread Peter J. Holzer
On 2022-03-06 18:28:59 +0100, Peter J. Holzer wrote: > On 2022-03-05 16:25:38 +, Barry Scott wrote: > > Using the syslog() function means that any platform/distro details are > > hidden from the user of syslog() and as is the case of macOS it > > "just works". > > That doesn't seem to be

[issue37609] support "UNC" device paths in ntpath.splitdrive

2022-03-06 Thread Steve Dower
Steve Dower added the comment: If you can build this on top of nt._path_splitroot then it could save a decent amount of work, though at the same time I think it's worthwhile having a pure Python implementation which is cross-platform. Haven't looked at the PR yet (or Eryk's implementation

[issue46841] Inline bytecode caches

2022-03-06 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +29828 pull_request: https://github.com/python/cpython/pull/31709 ___ Python tracker ___

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Dieter Maurer
Martin Di Paola wrote at 2022-3-6 12:42 +: >Hi everyone. I implemented time ago a small plugin engine to load code >dynamically. > >So far it worked well but a few days ago an user told me that he wasn't >able to run in parallel a piece of code in MacOS. > >He was using multiprocessing.Process

Re: Behavior of the for-else construct

2022-03-06 Thread Peter J. Holzer
On 2022-03-06 09:29:19 -0800, Grant Edwards wrote: > On 2022-03-05, Avi Gross via Python-list wrote: > > I am not sure how we end up conversing about PASCAL on a Python > > forum. > > [...] > > I paid no attention to where PASCAL was being used other than I did > > much of my grad school work in

Re: Behavior of the for-else construct

2022-03-06 Thread Grant Edwards
On 2022-03-05, Avi Gross via Python-list wrote: > I am not sure how we end up conversing about PASCAL on a Python > forum. > [...] > I paid no attention to where PASCAL was being used other than I did > much of my grad school work in PASCAL [...] It's "Pascal". It's not an acronym. It's a guy's

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please consider passing 'sock' argument as the ownership transfer. You should not perform any action on 'sock' object directly anymore. This is true for all asyncio API. -- resolution: -> not a bug stage: -> resolved status: open -> closed

Re: Getting Syslog working on OSX Monterey

2022-03-06 Thread Peter J. Holzer
On 2022-03-05 16:25:38 +, Barry Scott wrote: > On 4 Mar 2022, at 21:23, Peter J. Holzer wrote: > > If you are saying that SysLogHandler should use a system specific > > default (e.g. "/dev/log" on Linux) instead of UDP port 514 everywhere, I > > agree 99 % (the remaining 1 % is my contrarian

Re: Timezone for datetime.date objects

2022-03-06 Thread Morten W. Petersen
On Wed, Mar 2, 2022 at 6:20 PM Peter J. Holzer wrote: > On 2022-02-28 23:28:23 +0100, Morten W. Petersen wrote: > > Well, let's say I specify the datetime 2022-02-22 02:02 (AM). I think > > everyone could agree that it also means 2022-02-22 02:02:00:00, to > > 2022-02-22 02:02:59:59. > > I

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Eric V. Smith
Eric V. Smith added the comment: I think this is a bug in the code. I'll have a PR ready shortly. But since it's a non-trivial change, I'm going to target it for 3.11 only. -- assignee: docs@python -> eric.smith versions: -Python 3.10, Python 3.9

Re: virtualenv and make DESTDIR=

2022-03-06 Thread Peter J. Holzer
On 2022-03-05 17:59:48 +0100, Marco Sulla wrote: > On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote: > > Note: you usually cannot use pip when building an RPM with mock as the > > network is disabled inside the build for > > security reasons. > > Can't he previously download the packages and run

Re: Behavior of the for-else construct

2022-03-06 Thread Peter J. Holzer
On 2022-03-05 14:25:35 -0500, Dennis Lee Bieber wrote: > On Sat, 5 Mar 2022 12:39:36 -0600, "Michael F. Stemper" > declaimed the following: > >... especially Pascal, which was probably bigger in Germany and Austria > >in the 1980s than was C. > > Pascal also defined alternate

Re: Cpython: when to incref before insertdict

2022-03-06 Thread Marco Sulla
On Sun, 6 Mar 2022 at 03:20, Inada Naoki wrote: > In general, when reference is borrowed from a caller, the reference is > available during the API. > But merge_dict borrows reference of key/value from other dict, not caller. > [...] > Again, insertdict takes the reference. So _PyDict_FromKeys()

[issue46846] functools.partial objects should set __signature__ and _annotations__

2022-03-06 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Issues of pip install gdal and fiona

2022-03-06 Thread Shaozhong SHI
I downloaded .whl files for fiona and gdal to go with Python3.6.5. However, I am having trouble with red error messages. Though Gdal is now working, there is a warning message - Missing global ~ gdal: DRIVER_NAME declaration gdal_array,py Can anyone advise on how to resolve the issues?

[issue46939] Specialize calls for Python classes

2022-03-06 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +29827 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31707 ___ Python tracker ___

[issue46939] Specialize calls for Python classes

2022-03-06 Thread Ken Jin
New submission from Ken Jin : Please see https://github.com/faster-cpython/ideas/issues/267. I hope I'm not stepping on anyone's toes here (sorry if I cause any duplicate work)! -- messages: 414618 nosy: Mark.Shannon, kj priority: normal severity: normal status: open title:

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-06 Thread Adhika Setya Pramudita
Change by Adhika Setya Pramudita : -- nosy: +adhika.setyap ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Chris Angelico
On Sun, 6 Mar 2022 at 23:43, Martin Di Paola wrote: > > Hi everyone. I implemented time ago a small plugin engine to load code > dynamically. > > So far it worked well but a few days ago an user told me that he wasn't > able to run in parallel a piece of code in MacOS. > > He was using

Execute in a multiprocessing child dynamic code loaded by the parent process

2022-03-06 Thread Martin Di Paola
Hi everyone. I implemented time ago a small plugin engine to load code dynamically. So far it worked well but a few days ago an user told me that he wasn't able to run in parallel a piece of code in MacOS. He was using multiprocessing.Process to run the code and in MacOS, the default start

[issue46935] import of submodule polutes global namespace

2022-03-06 Thread Max Bachmann
Max Bachmann added the comment: Thanks Dennis. This helped me track down the issue in rapidfuzz. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue46903] Crash when setting attribute with string subclass as the name (--with-pydebug)

2022-03-06 Thread Mark Shannon
Mark Shannon added the comment: Ronald, does PR 31658 fix your issue? -- stage: patch review -> ___ Python tracker ___ ___

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-06 Thread miss-islington
miss-islington added the comment: New changeset ee18df425209cfa4f394b57220177c168fc3a1da by Miss Islington (bot) in branch '3.10': bpo-14156: Make argparse.FileType work correctly for binary file modes when argument is '-' (GH-13165)

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 17.0 -> 18.0 pull_requests: +29826 pull_request: https://github.com/python/cpython/pull/31706 ___ Python tracker

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset eafec26ae5327bb23b6dace2650b074c3327dfa0 by MojoVampire in branch 'main': bpo-14156: Make argparse.FileType work correctly for binary file modes when argument is '-' (GH-13165)

[issue46938] dataclass __post_init__ recursion

2022-03-06 Thread Bar Harel
New submission from Bar Harel : Not sure if a continuance of https://bugs.python.org/issue44365 or not, but the suggestion to call super().__init__() in __post__init__ will cause infinite recursion if the superclass also contains __post__init__: >>> @d ... class A: ... test: int ... def

[issue37609] support "UNC" device paths in ntpath.splitdrive

2022-03-06 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg390391 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46461] Kodi crashing

2022-03-06 Thread Jacob Nilsson
Jacob Nilsson added the comment: >From Kodi GH issues, they suspect is related to the work on subinterpreters >https://github.com/xbmc/xbmc/issues/19961#issuecomment-1008151611: "The bulk of this issue is due to how python and it's modules handle sub interpreters. There are several open

Re: virtualenv and make DESTDIR=

2022-03-06 Thread Barry Scott
> On 5 Mar 2022, at 19:56, Hartmut Goebel wrote: > > Am 05.03.22 um 17:34 schrieb Barry Scott: >> Have the RPM install all the pythone code and dependencies and also install >> a short script that >> sets up PYTHONPATH, LD_LIBRARY_PATH, etc and execs the python3 .py. > The scripts are

[issue46461] Kodi crashing

2022-03-06 Thread Eric V. Smith
Eric V. Smith added the comment: I don’t have Ubuntu to test on. Plus the steps to reproduce are too much for the average volunteer to work through. I don’t think we’ll be able to help. -- ___ Python tracker

[issue46461] Kodi crashing

2022-03-06 Thread Patric Gustavsson
Patric Gustavsson added the comment: any update on this? can i do something more to help? BR Patric -- ___ Python tracker ___ ___

[issue43447] Generate vectorcall code to parse arguments using Argument Clinic

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29825 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31705 ___ Python tracker ___

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
New submission from Kumar Aditya : Convert remaining functions to AC in _weakref so that they use the FASTCALL calling convection. -- messages: 414609 nosy: kumaraditya303 priority: normal severity: normal status: open title: convert remaining functions to AC in _weakref versions:

[issue46936] Fix grammar_grapher with the new forced directive

2022-03-06 Thread Luca
Change by Luca : -- keywords: +patch pull_requests: +29823 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31704 ___ Python tracker ___

[issue46936] Fix grammar_grapher with the new forced directive

2022-03-06 Thread Luca
New submission from Luca : The grammar_grapher.py utility has not been updated after the introduction of the new "forced" directive ('&&') in the grammar (see https://github.com/python/cpython/pull/24292) and fails to visualize the current Python grammar. -- components: Parser

[issue46925] Document dict behavior when setting equal but not identical key

2022-03-06 Thread Malthe Borch
Malthe Borch added the comment: Java's HashMap has also the (current) Python behavior. An existing same key is not replaced. -- ___ Python tracker ___