[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Python v3.10 and Apple Silicon Wheels at PyPI
From: Damon Lynch <damonlynch () gmail ! com>
Date: 2021-10-11 19:26:49
Message-ID: CAFdFio_C47oes0EcVa_w0mhRuV-ZF0U08Q6doFPzThmHjg6s-w () mail ! gmail ! com
[Download RAW message or body]
On Mon, Oct 11, 2021 at 2:43 PM Scott Talbert <swt@techie.net> wrote:
> On Mon, 11 Oct 2021, Damon Lynch wrote:
> >
> > Off topic, but if only I understood why a simple pickle.dumps() on
> Fedora's
> > Python 3.10 can generate this error: SystemError: PY_SSIZE_T_CLEAN macro
> > must be defined for '#' formats
>
> That seems strange. Do you have a complete reproducer for that? Which
> exact python3 package version?
>
>
python3.10-3.10.0-1.fc35, at this line of code:
https://github.com/damonlynch/rapid-photo-downloader/blob/main/raphodo/thumbnailextractor.py#L843
As I said above, the error is SystemError: PY_SSIZE_T_CLEAN macro must be
defined for '#' formats
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.
Damon
--
https://damonlynch.net
[Attachment #3 (text/html)]
<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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic