<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 11, 2021 at 2:43 PM Scott Talbert <<a href="mailto:swt@techie.net">swt@techie.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 11 Oct 2021, Damon Lynch wrote:<br>
> <br>
> Off topic, but if only I understood why a simple pickle.dumps() on Fedora's<br>
> Python 3.10 can generate this error: SystemError: PY_SSIZE_T_CLEAN macro<br>
> must be defined for '#' formats<br>
<br>
That seems strange. Do you have a complete reproducer for that? Which <br>
exact python3 package version?<br>
<br></blockquote></div><div><br></div><div>python3.10-3.10.0-1.fc35, at this line of code: <a href="https://github.com/damonlynch/rapid-photo-downloader/blob/main/raphodo/thumbnailextractor.py#L843">https://github.com/damonlynch/rapid-photo-downloader/blob/main/raphodo/thumbnailextractor.py#L843</a></div><div>As I said above, the error is <span style="font-family:monospace">SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats</span></div><div>To be honest I have not tried to strip the problem down to reproduce it in its simplest case due to a lack of time and a suspicion that it might be a known problem.<br></div><div><br></div><div>Damon<br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><a href="https://damonlynch.net" target="_blank">https://damonlynch.net</a><br></div></div></div>