Author Eric Cousineau
Recipients Eric Cousineau
Date 2020-04-09.15:00:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586444432.56.0.946879588514.issue40240@roundup.psfhosted.org>
In-reply-to
Content
Motivated by this downstream project issue that I am working on:
https://github.com/RobotLocomotion/drake/issues/13026

In https://bugs.python.org/issue32377, I encountered PEP 442's updated resurrection behavior when moving from supporting Python 2 to Python 3.
There, Antoine Pitrou (pitrou) said that using this API (finalized + set finalized) could work, but that I could also try recreating the wrapper object. I have not yet attempted his suggestion given that (a) wrapping code is nuanced (pybind11, inheritance, etc.) and (b) this API has been working for us for the past 2 years.

Related to this, I saw some mentions of breakage of Cython due to its usage of this API:
https://bugs.python.org/issue35081#msg330045
The breakage was mitigated by keeping this internal API exposed (so kinda public, but not really?).

Is it at all possible to considering making some of this public API?
History
Date User Action Args
2020-04-09 15:00:32Eric Cousineausetrecipients: + Eric Cousineau
2020-04-09 15:00:32Eric Cousineausetmessageid: <1586444432.56.0.946879588514.issue40240@roundup.psfhosted.org>
2020-04-09 15:00:32Eric Cousineaulinkissue40240 messages
2020-04-09 15:00:31Eric Cousineaucreate