homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: typing backport: AttributeError: 'module' object has no attribute 'GeneratorType'
Type: crash Stage:
Components: Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: nicolas33, vstinner
Priority: normal Keywords:

Created on 2015年11月06日 14:56 by nicolas33, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Messages (3)
msg254198 - (view) Author: (nicolas33) Date: 2015年11月06日 14:56
$ pip3 install typing
$ python3
>>> import typing
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/nicolas/.local/lib64/python3.4/site-packages/typing.py", line 1449, in <module>
 _G_base = types.GeneratorType
AttributeError: 'module' object has no attribute 'GeneratorType'
>>>
msg254199 - (view) Author: (nicolas33) Date: 2015年11月06日 15:08
My bad. This happens while running on Python3.3 (while pip3 installed module using python3.4).
msg254200 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2015年11月06日 15:11
https://github.com/JukkaL/typing/ looks to be the upstream project for the third party "typing" module.
See https://github.com/JukkaL/typing/issues/46 
History
Date User Action Args
2022年04月11日 14:58:23adminsetgithub: 69754
2015年11月06日 15:11:05vstinnersetnosy: + vstinner
messages: + msg254200
2015年11月06日 15:08:17nicolas33setstatus: open -> closed
resolution: works for me
messages: + msg254199
2015年11月06日 14:56:13nicolas33create

AltStyle によって変換されたページ (->オリジナル) /