[New-bugs-announce] [issue37915] Segfault in comparison between datetime.timezone.utc and putz.utc

Tom Augspurger report at bugs.python.org
Thu Aug 22 07:18:39 EDT 2019


New submission from Tom Augspurger <tom.augspurger88 at gmail.com>:

The following crashes with Python 3.8b3

```
import sys
import pytz
import datetime

print(sys.version_info)
print(pytz.__version__)
print(datetime.timezone.utc == pytz.utc)
```

When run with `-X faulthandler`, I see

```
sys.version_info(major=3, minor=8, micro=0, releaselevel='beta', serial=3)
2019.2
Fatal Python error: Segmentation fault

Current thread 0x00000001138dc5c0 (most recent call first):
  File "foo.py", line 8 in <module>
Segmentation fault: 11
```

----------
messages: 350184
nosy: tomaugspurger
priority: normal
severity: normal
status: open
title: Segfault in comparison between datetime.timezone.utc and putz.utc
type: crash
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37915>
_______________________________________


More information about the New-bugs-announce mailing list