Message286262
> You should check if _PyUnicode_FromId() returns NULL if it was the first call and the UTF-8 decode failed to allocate memory.
thanks. new patch will fix it.
> You might initialize all these identifiers (and check for errors) in init_types() to avoid having to check for errors each time they are used.
Here is not so performance critical part.
> But the _ast module is not imported by default, only in programs importing "ast" explicitly.
> Well, I'm not opposed to the change, I'm just trying to understand how the code is used ;-)
We use Flask. Flask is based on Werkzeug. Werkzeug imports inspect.
inspect imports ast. ast imports _ast. |
|
Date |
User |
Action |
Args |
2017-01-25 15:51:03 | methane | set | recipients:
+ methane, vstinner, python-dev, serhiy.storchaka |
2017-01-25 15:51:03 | methane | set | messageid: <1485359463.16.0.748071654124.issue29369@psf.upfronthosting.co.za> |
2017-01-25 15:51:03 | methane | link | issue29369 messages |
2017-01-25 15:51:02 | methane | create | |
|