-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed as not planned
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
import datetime, copy, numpy
copy.deepcopy(numpy.empty_like([datetime.datetime.now()]))TypeError: deepcopy() missing 1 required positional argument: 'x'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
...
File "C:\Program Files\Python310\lib\copy.py", line 153, in deepcopy
y = copier(memo)
SystemError: <built-in method __deepcopy__ of numpy.ndarray object at 0x000001C918C49EF0> returned a result with an exception set
(just reporting because the documentation says "You should report this to the author or maintainer of your Python interpreter.")
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error