and I had to Py_INCREF(memo)! Thank you A LOT!
On Mon, 31 Jan 2022 at 23:01, Chris Angelico wrote:
> On Tue, 1 Feb 2022 at 08:54, Marco Sulla
> wrote:
> > PyObject* d = PyDict_New();
> > args = PyTuple_New(2);
> > PyTuple_SET_ITEM(args, 0, d);
> > PyTuple_SET_ITEM(args, 1, m
On Tue, 1 Feb 2022 at 08:54, Marco Sulla wrote:
> PyObject* d = PyDict_New();
> args = PyTuple_New(2);
> PyTuple_SET_ITEM(args, 0, d);
> PyTuple_SET_ITEM(args, 1, memo);
> Py_DECREF(d);
>
https://docs.python.org/3/c-api/tuple.html#c.PyTuple_SET_ITEM
SET_ITEM steals a referenc
Well, this is more or less what I'm trying to do.
I have an immutable object. I would have copy.deepcopy() will return the
object itself if it's hashable. If not, it must return a deepcopy of it.
So I tried to implement a __deepcopy__ for the object. It segfaults if the
object is not hashable. An
Michael Welle wrote at 2022-1-30 09:18 +0100:
> ...
The machine this is running on regularly switches
>its network configuration without restarting the Python application. Now
>it turns out that the application is still using an old, outdated dns
>server after such a network configuration switch.
On 1/31/22 07:18, ojomooluwatolami...@gmail.com wrote:
>
> Good morning, Python. I am having trouble installing pygame. it keeps saying
> to upgrade my pip version which I have done several times. then when I tried
> importing python to see if it has worked, in the ide it says the module does
>
On Mon, 31 Jan 2022 01:32:15 -0800 (PST), NArshad
declaimed the following:
>What about CGI?
>Do you know any Library Management System based on CGI just like the one on
>Django?
Pure CGI is 30 year old technology...
https://en.wikipedia.org/wiki/Common_Gateway_Interface
To use
On Mon, 31 Jan 2022 14:18:47 +, ojomooluwatolami...@gmail.com declaimed
the following:
>
>Good morning, Python. I am having trouble installing pygame. it keeps saying
>to upgrade my pip version which I have done several times. then when I tried
>importing python to see if it has worked, in t
On Tue, 1 Feb 2022 at 02:38, NArshad wrote:
>
> What about CGI?
> Do you know any Library Management System based on CGI just like the one on
> Django?
>
Have you done any research, or are you just picking up a new acronym
to see if you can suck some more volunteer time out of this list?
ChrisA
What about CGI?
Do you know any Library Management System based on CGI just like the one on
Django?
--
https://mail.python.org/mailman/listinfo/python-list
Good morning, Python. I am having trouble installing pygame. it keeps saying to
upgrade my pip version which I have done several times. then when I tried
importing python to see if it has worked, in the ide it says the module does
not exist or something along that line. what do I do please? Th
10 matches
Mail list logo