On 2024-03-23 3:25 PM, Frank Millman via Python-list wrote:
It is not pretty! call_soon_threadsafe() is a loop function, but the
loop is not accessible from a different thread. Therefore I include a
reference to the loop in the message passed to in_queue, which in turn
passes
here is a version that works.
It is not pretty! call_soon_threadsafe() is a loop function, but the
loop is not accessible from a different thread. Therefore I include a
reference to the loop in the message passed to in_queue, which in turn
passes it to out_queue.
Frank
=
On 2024-03-22 1:23 PM, Frank Millman via Python-list wrote:
On 2024-03-22 12:09 PM, Frank Millman via Python-list wrote:
I am no expert. However, I do have something similar in my app, and it
works.
I do not use 'await future', I use 'asyncio.wait_for(future)'.
I tested it and it did
On 2024-03-22 12:09 PM, Frank Millman via Python-list wrote:
I am no expert. However, I do have something similar in my app, and it
works.
I do not use 'await future', I use 'asyncio.wait_for(future)'.
I tested it and it did not work.
I am not sure, but I think the problem is that you
U/Linux
$ python3 -V
Python 3.11.2
$ pip3 freeze
asgiref==3.7.2
blinker==1.7.0
click==8.1.7
Flask==3.0.2
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.1
```
Thanks for any help!
Cheers,
Thomas
Hi Thomas
I am no expert. However, I do have something similar in my app,
On 2024-01-17 3:01 AM, Greg Ewing via Python-list wrote:
On 17/01/24 1:01 am, Frank Millman wrote:
I sometimes need to keep a reference from a transient object to a more
permanent structure in my app. To save myself the extra step of
removing all these references when the transient object
will start with a fresh approach tomorrow. If you don't hear from me
again, you will know that I have solved it!
Thanks for the input, it definitely helped.
Frank
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-01-15 3:51 PM, Frank Millman via Python-list wrote:
Hi all
I have read that one should not have to worry about garbage collection
in modern versions of Python - it 'just works'.
I don't want to rely on that. My app is a long-running server, with
multiple clients logging on, doing
to illustrate this.
Am I missing something? All comments appreciated.
Frank Millman
==
import gc
class delwatcher:
# This stores enough information to identify the object being watched.
# It does not store a reference to the object itself
an answer to the original question, as I am sure similar situations will
occur without such a simple solution.
Thanks
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
are welcome to look at it, but it needs a lot of tidying up before
it will be ready for a wider audience.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
run from interpreter directly:
f = open("abc", "w")
for i in range(5):
f.write(str(i) + "\n")
use
with open("abc", "w") as f:
for i in range(5):
f.write(str(i) + "\n")
and all is well
Frank
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-02-15 5:59 AM, Thomas Passin wrote:
>
> "Download the latest release from http://www.sqlite.org/download.html
> and manually copy sqlite3.dll into Python's DLLs subfolder."
>
I have done exactly this a number of times and it has worked for me.
Frank Millman
On 2023-01-27 2:14 PM, Frank Millman wrote:
I have changed it to async, which I call with 'asyncio.run'. It now
looks like this -
server = await asyncio.start_server(handle_client, host, port)
await setup_companies()
session_check = asyncio.create_task(
check_sessions
On 2023-01-26 7:16 PM, Dieter Maurer wrote:
Frank Millman wrote at 2023-1-26 12:12 +0200:
I have written a simple HTTP server using asyncio. It works, but I don't
always understand how it works, so I was pleased that Python 3.11
introduced some new high-level concepts that hide the gory details
suggestions appreciated.
Frank Millman
P.S. Might it be better to ask these questions on the Async_SIG
Discussion Forum?
--
https://mail.python.org/mailman/listinfo/python-list
rgely independently of the names that are or are not
referencing the objects.
My 'aha' moment came when I understood that a python object has only
three properties - a type, an id, and a value. It does *not* have a name.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
ith
more questions.
BTW, there is an indentation error in your original post - line 5 should
line up with line 4. It is preferable to copy/paste your code into any
messages posted here rather than type it in, as that avoids the
possibility of any typos.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
com/python/cpython/issues/95088
Frank
--
https://mail.python.org/mailman/listinfo/python-list
On 2022-07-20 12:31 PM, Frank Millman wrote:
On 2022-07-20 11:37 AM, Chris Angelico wrote:
On Wed, 20 Jul 2022 at 18:34, Frank Millman wrote:
Hi all
C:\Users\E7280>python
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64
bit (AMD64)] on win32
Type "help"
On 2022-07-20 11:37 AM, Chris Angelico wrote:
On Wed, 20 Jul 2022 at 18:34, Frank Millman wrote:
Hi all
C:\Users\E7280>python
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64
bit (AMD64)] on win32
Type "help", "copyright", "credits"
>
>>> '{x[1]}'.format(**vars())
'1'
>>>
>>> '{x[-1]}'.format(**vars())
Traceback (most recent call last):
File "", line 1, in
TypeError: list indices must be integers or slices, not str
>>>
Can anyone explain this error? It seems that a negati
New submission from FeRD (Frank Dana) :
socket._GLOBAL_DEFAULT_TIMEOUT's status as a bare object() instance has been
brought up before (bpo-12441). That was reported as a bug, but appeared to stem
from developer confusion, so it was correctly closed as "not a bug". At the
time
exercise I felt
sure that there had to be a one-liner in pure python.
I had forgotten about nested comprehensions. Thanks for the reminder.
Frank
--
https://mail.python.org/mailman/listinfo/python-list
On 2022-02-22 11:30 AM, Chris Angelico wrote:
On Tue, 22 Feb 2022 at 20:24, Frank Millman wrote:
Hi all
I think this should be a simple one-liner, but I cannot figure it out.
I have a dictionary with a number of keys, where each value is a single
list -
>>> d = {1: ['aaa', 'b
t;> a
['aaa', 'bbb', 'ccc', 'fff', 'ggg']
>>>
Is there a simpler way?
Thanks
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
telling me that the ICL assembler was called PLAN, which was an
acronym, but I forget what it stood for.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
FeRD (Frank Dana) added the comment:
Readding Tal to the nosy list, since my previous comment was inadvertently
accompanied by an eviction! (Sorry about that.)
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue46
Frank Feuerbacher added the comment:
Using casefold did not help
ubuntu Lang is en_US.UTF-8
[GCC 9.3.0] on linux
>>> folded_1: str = "Turkish I: İı".casefold()
>>> folded_2: str = "tUrkİsh i: iI".casefold()
>>> print(folded_1)
turkish i: i
FeRD (Frank Dana) added the comment:
Maybe,
"""
This won’t work for __main__.py files in the root directory of a .zip file
though. Thus, for consistency, it is usually preferred to place code in other
modules. That code can then be invoked from a minima
FeRD (Frank Dana) added the comment:
TBH, personally I don't think I'd just reword it with "below". That seems like
the path of least resistance, but then the sentence becomes this:
"""
This won’t work for __main__.py files in the root directory of a .zip file
thoug
Frank Feuerbacher added the comment:
Oh joy. Kodi media server is having unicode issues and this won't help. I'm
trying to see how bad it is.
The main use for case transformations is for internal keyword
lookup/monocasing. Settings, filenames on moncased filesystems, etc. are
caseless
New submission from FeRD (Frank Dana) :
The expanded documentation on top-level environments is quite an improvement,
but there's one passage that causes some confusion. In the section '__main__.py
in Python Packages', towards the end, it reads:
"""
This won’t work for __
New submission from Frank Feuerbacher :
This blasted Turkish I will be the death of us all...
https://www.unicode.org/versions/Unicode14.0.0/ch05.pdf has a lovely graphic on
page 238 of the behavior of upper/lower casing of the various I's and when
locale is Turkish or not. It seems
On 2021-11-26 11:24 PM, dn via Python-list wrote:
On 26/11/2021 22.17, Frank Millman wrote:
In my program I have a for-loop like this -
for item in x[:-y]:
... [do stuff]
'y' may or may not be 0. If it is 0 I want to process the entire list
'x', but of course -0 equals 0, so it returns
On 2021-11-26 11:17 AM, Frank Millman wrote:
Hi all
In my program I have a for-loop like this -
>>> for item in x[:-y]:
... [do stuff]
'y' may or may not be 0. If it is 0 I want to process the entire list
'x', but of course -0 equals 0, so it returns an empty list.
In theory
else x:
... [do stuff]
But in my actual program, both x and y are fairly long expressions, so
the result is pretty ugly.
Are there any other techniques anyone can suggest, or is the only
alternative to use if...then...else to cater for y = 0?
Thanks
Frank Millman
--
https://mail.python.or
n* generators people may have seen or written? Not so much the cool
or clever ones. Or the mathematical ones (e.g. fib). Something more inane and
"fun". But still showcasing generators uniqueness. Short and simple is good.
Thanks in advance!
Have you looked at this?
http://www.dabeaz.
function does not execute the function, it returns
a generator object.
You have to iterate over the generator object (e.g. by calling next() on
it) in order to execute the function and return values.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
FRANK BENNETT added the comment:
Roundup requires submission inplain text...forget how to turn this off in
thunderbird...sounds like a left over from microsoft emailers...how do I
see/respond to comments with an issue ?
On 3/24/21 9:37 AM, Serhiy Storchaka wrote:
> Serhiy Storchaka ad
FRANK BENNETT added the comment:
fwb@fw:/s/opt/cpython/debug$ ./python -V
Python 3.10.0a6+
--
___
Python tracker
<https://bugs.python.org/issue43606>
___
___
FRANK BENNETT added the comment:
How about the following - title ok but no label visible ?
# t8.py
import tkinter as tk
class Application(tk.Tk):
def __init__(self):
tk.Tk.__init__(self)
self.geometry('500x500')
self.title('Your first App')
first_label
New submission from FRANK BENNETT :
with any PySimpleGUI, tkinter, tk, *.py
The initial window is huge & with a size no widgets are visible
fwb@fw:/s/opt/cpython$ uname -r
5.4.0-67-generic
fwb@fw:/s/opt/cpython$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l
fwb@fw:/s/opt/cpython$ ./pytho
FRANK BENNETT added the comment:
$ make test TESTOPTS="-v test_socket"
ERROR: testSendFrame (__main__.CANTest)
--
Traceback (most recent call last):
File "/s/opt/cpython/debug/test_socket.py", line 20
Frank Ueberschar added the comment:
These lines correspond (due to dirty working copy):
File
"/home/franku/git/bareos/master/core/src/plugins/filed/python/libcloud/BareosLibcloudApi.py",
line 102 in __init__
The actual Python code that starts the child processes is h
Frank Ueberschar added the comment:
Initialization of the Python interpreter in C-code is here:
https://github.com/bareos/bareos/blob/fb76608092ba204ce43cd7c262619e01f9d6a2d6/core/src/plugins/filed/python/python-fd.cc#L189
The actual Python code that starts the child processes is here:
https
Frank Ueberschar added the comment:
Here is part of the gdb backtrace:
[franku@franku py3plug-fd-libcloud]$ sbin/bareos_fd-py3plug-fd-libcloud -f -c
etc/bareos
Fatal Python error: _PyInterpreterState_DeleteExceptMain: not main interpreter
Python runtime state: initialized
Current
New submission from Frank Ueberschar :
Related to this issue https://bugs.python.org/issue34651, our Bareos libcloud
plugin cannot be run with Python > 3.7. We are using subprocesses in a
C-subinterpreter environment.
Is there a way to circumvent rewriting our code complet
Frank added the comment:
PEP 551 is confusing. It looked suggesting that it's a "security tool" that
"detects, identifies and analyzes misuse of Python" to me (and apparently many
others).
examples shown in the PEP includes WannaCrypt, APTs, all of which involves the
On 2021-03-06 8:21 AM, Frank Millman wrote:
Hi all
This is purely academic, but I would like to understand the following -
>>>
>>> a = [('x', 'y')]
>>>
>>> s = []
>>> for b, c in a:
... s.append((b, c))
...
>>> s
[('x', 'y')]
Th
= []
>>> s.append(((b, c) for b, c in a))
>>> s
[ at 0x019FC3F863C0>]
>>>
I expected the same as the first one.
I understand the concept that a generator does not return a value until
you call next() on it, but I have not grasped the essential difference
b
is 'sub-types'.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
New submission from Frank AK :
In python 3.10, you couldn't plus two Counter instance, you will got the below
tip:
```
>>> from collections import Counter
>>> x={1:['a','b','c']}
>>> y={1:['d','e','f'],2:['g']}
>>> Counter(y) + Counter(x)
Traceback (most
) to convert to an etree object
It works.
But I don't know what goes on under the hood, so I don't know if this
achieves anything. If any of the steps involves decompressing the data
and storing the entire string in memory, I may as well stick to my
present approach.
Any thoughts?
Frank Millman
On 2020-11-07 1:28 PM, Frank Millman wrote:
On 2020-11-07 1:03 PM, Bischoop wrote:
[...]
another example:
text = "this is text, there should be not commas, but as you see there
are still"
y = txt.strip(",")
print(text)
output:
this is text, there should be not co
,
return string[:-len(suffix)]. Otherwise, return a copy of the original
string
HTH
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
mport datetime'.
2. Change dt = datetime.fromisoformat(ItemDateTime) to
dt = datetime.datetime.fromisoformat(ItemDateTime)
Unless I have missed something, that should work.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
()' but by 'asyncio.run()'. It is too late to do
any cleanup at this point, as the loop has already been stopped.
Is it ok to stick to the 'old' method, or is there a better way to do this.
Thanks
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
'#' + length of string + '\n' as the start delimiter
2. the string itself
3. '\n' + '#' + '#' + '\n' as the end delimiter
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
On 2020-10-16 9:42 AM, Steve wrote:
d2 = datetime.datetime.now() #Time Right now
Show this: 2020-10-16 02:53
and not this: 2020-10-16 02:53:48.585865
>>>
>>> str(d2)
'2020-10-16 10:29:38.423371'
>>>
>>> d2.strftime('%Y-%m-%d %H:%M')
'2020-10-16
On 2020-10-03 8:58 AM, Chris Angelico wrote:
On Sat, Oct 3, 2020 at 4:53 PM Frank Millman wrote:
Hi all
When debugging, I sometimes add a 'breakpoint()' to my code to examine
various objects.
However, I often want to know how I got there, so I replace the
'breakpoint()' with a '1/0
the traceback.
Is there a way to combine these into one step, so that, while in the
debugger, I can find out how I got there?
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
On 2020-09-25 7:46 AM, Chris Angelico wrote:
On Fri, Sep 25, 2020 at 3:43 PM Frank Millman wrote:
Hi all
I have a problem related (I think) to list comprehension namespaces. I
don't understand it enough to figure out a solution.
In the debugger, I want to examine the contents of the current
. Is there a way to get what I want?
Thanks
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
he error message in my logic, to distinguish between 'too few' and 'too
many'. Guess what happened - Python changed the wording of the messages,
and my logic failed.
After messing about with some alternatives, I ended up with the OP's
first option (with some added comments), and have stuck with
I have a substantial wxpython-based application that I'm trying to port from
python-2 to -3.
Almost everything is working properly, except for a few small but important
sections that use
the OGL library. That executes without any exceptions, but the objects created
within the
On 2020-09-14 7:07 AM, Frank Millman wrote:
On 2020-09-14 3:18 AM, Terry Reedy wrote:
User Tushar Sadhwani and I both have Win 10 with 3.8.5 installed.
When he runs
...> py -3.8 -m turtledemo.colormixer
and moves the sliders a reasonable amount, he repeatably gets
Fatal Python error: Can
est with no issues
at all.
I will upgrade to 3.8.5 later today and try again.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
he last
element, I assume that this would be the way to do it -
>>> for i in range(5):
... print(i)
... j = i
...
0
1
2
3
4
>>> print(j)
4
>>>
Alternatively, this also works, but is this one guaranteed?
>>> for i in range(5):
... print(i)
... else:
.
On 2020-07-06 3:08 PM, Jon Ribbens via Python-list wrote:
On 2020-07-06, Frank Millman wrote:
On 2020-07-06 2:06 PM, Jon Ribbens via Python-list wrote:
While I agree entirely with your point, there is however perhaps room
for a bit more helpfulness from the json module. There is no sensible
I look for that pattern on retrieval to
detect that it is actually a date object.
I use the same trick for Decimal objects.
Maybe the OP could do something similar.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
Change by Frank :
--
nosy: +frankli
___
Python tracker
<https://bugs.python.org/issue41162>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
"enter 1st and 2nd no ").split()
ValueError: not enough values to unpack (expected 2, got 1)
Without arguments, split() splits on whitespace.
If you entered 2 numbers separated by a comma, but no spaces, there is
no split.
Maybe you meant split(',') which will split on a c
Change by Frank Henigman :
--
nosy: +fjh
___
Python tracker
<https://bugs.python.org/issue40283>
___
___
Python-bugs-list mailing list
Unsubscribe:
On 2020-05-24 9:58 AM, DL Neil via Python-list wrote:
On 24/05/20 5:43 PM, Frank Millman wrote:
On 2020-05-23 9:45 PM, DL Neil via Python-list wrote:
My habit with SQL queries is to separate them from other code, cf the
usual illustration of having them 'buried' within the code,
immediately
and more SQL in my
code.
How do you handle parameters? Do you leave placeholders ('?' or '%s') in
the query, and leave it to the 'importer' of the query to figure out
what is required?
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
Christian KNITTL-FRANK added the comment:
I just stumbled over this too. Very eager to know if there are any news on the
state of out-of-box support for the "mUTF-7" codec.
--
nosy: +Christian KNITTL-FRANK
___
Python track
Change by Frank Thommen :
--
nosy: -fthommen
___
Python tracker
<https://bugs.python.org/issue34028>
___
___
Python-bugs-list mailing list
Unsubscribe:
ussing how to improve the download experience on Windows for
newbies.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I have a Centos7 web server with python 2.7 installed and I want Apache to
serve python scripts so I figure I have to install mod_python: i know that this
module is deprecated, but I need it only for internal pourposes.
Is the mod_python version (which is 3.5 with Python 3 support)
On 2020-03-24 8:39 PM, Barry Scott wrote:
On 24 Mar 2020, at 11:54, Frank Millman wrote:
I decided to concentrate on using Wireshark to detect the difference between a
Python3.7 session and a Python3.8 session. Already I can see some differences.
There is only one version of my program
On 2020-03-24 1:54 PM, Frank Millman wrote:
On 2020-03-23 1:56 PM, Frank Millman wrote:
I have one frustration with Wireshark. I will mention it in case anyone
has a solution.
I can see that Edge opens multiple connections. I am trying to track the
activity on each connection separately. I
On 2020-03-23 1:56 PM, Frank Millman wrote:
On 2020-03-23 12:57 PM, Chris Angelico wrote:
On Mon, Mar 23, 2020 at 8:03 PM Frank Millman wrote:
On 2020-03-22 12:11 PM, Chris Angelico wrote:
On Sun, Mar 22, 2020 at 8:30 PM Frank Millman
wrote:
On 2020-03-22 10:45 AM, Chris Angelico wrote
On 2020-03-23 12:57 PM, Chris Angelico wrote:
On Mon, Mar 23, 2020 at 8:03 PM Frank Millman wrote:
On 2020-03-22 12:11 PM, Chris Angelico wrote:
On Sun, Mar 22, 2020 at 8:30 PM Frank Millman wrote:
On 2020-03-22 10:45 AM, Chris Angelico wrote:
If you can recreate the problem
On 2020-03-22 12:11 PM, Chris Angelico wrote:
On Sun, Mar 22, 2020 at 8:30 PM Frank Millman wrote:
On 2020-03-22 10:45 AM, Chris Angelico wrote:
If you can recreate the problem with a single socket and multiple
requests, that would be extremely helpful. I also think it's highly
likely
On 2020-03-22 1:01 PM, Chris Angelico wrote:
On Sun, Mar 22, 2020 at 12:45 AM Frank Millman wrote:
Hi all
I have a strange intermittent bug.
The role-players -
asyncio on Python 3.8 running on Windows 10
Microsoft Edge running as a browser on the same machine
The bug does
On 2020-03-22 11:00 AM, Barry Scott wrote:
On 22 Mar 2020, at 07:56, Frank Millman wrote:
On 2020-03-21 8:04 PM, Barry Scott wrote:
I'd look at the network traffic with wireshark to see if there is anything
different between edge and the other browsers.
You are leading me into deep
On 2020-03-22 10:45 AM, Chris Angelico wrote:
On Sun, Mar 22, 2020 at 6:58 PM Frank Millman wrote:
I'd look at the network traffic with wireshark to see if there is anything
different between edge and the other browsers.
You are leading me into deep waters here :-) I have never used
On 2020-03-21 8:04 PM, Barry Scott wrote:
On 21 Mar 2020, at 13:43, Frank Millman wrote:
Hi all
I have a strange intermittent bug.
The role-players -
asyncio on Python 3.8 running on Windows 10
Microsoft Edge running as a browser on the same machine
The bug does not occur
/questions/60785767/ms-edge-randomly-does-not-load-script
I don't know whether the problem lies with Python or MS Edge, but as it
does not happen with Python 3.7, I am suspecting that something changed
in 3.8 which does not match MS Edge's expectations.
Any hints much appreciated.
Frank Millman
Johannes Frank added the comment:
Yes, I didn't revisit the issue since, but Malcolm is right. Implemented in
python 3.8.
Thanks to all the contributors.
On Sat, Feb 29, 2020 at 8:58 AM Malcolm Smith
wrote:
>
> Malcolm Smith added the comment:
>
> It looks like this has n
In my new project, I am supposed to bring the current test cases, all written
in Groovy, to a Python base. We are talking about several thousand test cases
that have accumulated over the last years.
Since the test cases are also to be extended towards API gateway testing, and
since we work
ent at handling large numbers of
> concurrent async tasks.
>
Thanks for the reply.
That is exactly what I want, and in an earlier response Greg echoes what
what you say here - background tasks are lightweight and are ideal for
my situation.
Frank
--
https://mail.python.org/mailman/listinfo/python-list
, or is ignored
as neither.
Now -- write a program does just that...
"""
Try his suggestion, and come back here if you get stuck.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
Hi all
Why is 'explicit passing of a loop argument to asyncio.Event' deprecated
(see What's new in Python 3.8)?
I use this in my project. I can find a workaround, but it is not elegant.
I can explain my use case if requested, but I was just curious to find
out the reason.
Thanks
Frank
On 2020-02-21 11:13 PM, Greg Ewing wrote:
On 21/02/20 7:59 pm, Frank Millman wrote:
My first attempt was to create a background task for each session
which runs for the life-time of the session, and 'awaits' its queue.
It works, but I was concerned about having a lot a background tasks
active
no difference? If it makes no
difference, I will lean towards the first approach, as it is easier to
reason about what is going on.
Thanks for any advice.
Frank Millman
--
https://mail.python.org/mailman/listinfo/python-list
On 2020-02-07 1:06 PM, Barry Scott wrote:
On 7 Feb 2020, at 05:27, Frank Millman wrote:
@Barry
I agree that __del__() is rarely useful, but I have not come up with an
alternative to achieve what I want to do. My app is a long-running server, and
creates many objects on-the-fly depending
Frank Harrison added the comment:
Minor correction: The regression was only tested on Python 3.9.0a2 (Fedora),
Python 3.9a3 (OSX), CPython's master (build from source) and the latest
non-prerelease versions of python 3.5, 3.6, 3.7, and 3.8. Tested on OSX and
Fedora 31
New submission from Frank Harrison :
This is my first bug logged here, I've tried to follow the guideline and search
for this issue; please let me know if I missed anything.
Summary:
unittest.mock.MagicMock has a regression starting in 3.8. The regression was
only tested on latest non
1 - 100 of 1309 matches
Mail list logo