Message380742
On windows, with python 3.9, with unittests,
My test case fails when I use the following lines of code
```
result = map(lambda x: self.substitute_in_expression(x),
sequence.sequence)
```
It works fine with
```
result = list()
for x in sequence.sequence:
result.append(self.substitute_in_expression(x))
```
Note that result is used as input for an inherited class instantiation:
```
sequence_type = type(sequence)
return sequence_type(result)
```
The classes are constructed using the dataclass decorator!
I have unfortunately not have time to make a small reproducer.
So I just send the whole project. |
|
Date |
User |
Action |
Args |
2020-11-11 08:54:28 | Pierre van de Laar | set | recipients:
+ Pierre van de Laar |
2020-11-11 08:54:28 | Pierre van de Laar | set | messageid: <1605084868.75.0.599724554356.issue42320@roundup.psfhosted.org> |
2020-11-11 08:54:28 | Pierre van de Laar | link | issue42320 messages |
2020-11-11 08:54:27 | Pierre van de Laar | create | |
|