[issue30518] Import type aliases from another module

2017-06-03 Thread John Jackson
John Jackson added the comment: Thanks for your response! Yes, the problem was a circular definition. I still have much to learn about Python... -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python track

[issue30518] Import type aliases from another module

2017-05-30 Thread John Jackson
John Jackson added the comment: I just found out that the problem is even worse. While PyCharm accepts the syntax below, I still can't compile 'Blocks'. -- ___ Python tracker <http://bugs.pyt

[issue30518] Import type aliases from another module

2017-05-30 Thread John Jackson
New submission from John Jackson: I have a 'base' module where I define some type aliases, such as: from typing import List, Tuple Block = [int, Tuple[int]] Blocks = List[Block] Tags = List[str] I would like to import these aliases into other modules so that the 

[issue2622] Import errors in email.message.py

2009-06-16 Thread John Jackson
John Jackson added the comment: Also occurs in 2.6... -- versions: +Python 2.6 ___ Python tracker <http://bugs.python.org/issue2622> ___ ___ Python-bugs-list m

[issue2622] Import errors in email.message.py

2008-04-14 Thread John Jackson
John Jackson <[EMAIL PROTECTED]> added the comment: Attached is a sample code that reproduces the problem under python 2.5 on Mac OS 10.4.11. See file for instructions on how to reproduce the issue. Added file: http://bugs.python.org/file10030/test_mail

[issue2622] Import errors in email.message.py

2008-04-13 Thread John Jackson
John Jackson <[EMAIL PROTECTED]> added the comment: I'll put one together. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2622> __ ___ Python

[issue2622] Import errors in email.message.py

2008-04-12 Thread John Jackson
John Jackson <[EMAIL PROTECTED]> added the comment: Yes. If the code is used to build a standalone application with py2app on the Mac, here's the end of the stack trace: File "controller.pyo", line 17, in File "readMail.pyo", line 15, in File "mailbo

[issue2622] Import errors in email.message.py

2008-04-11 Thread John Jackson
New submission from John Jackson <[EMAIL PROTECTED]>: In email.message.py there are two import errors: line 128 from email.Generator import Generator should be from email.generator import Generator line 784 from email.Iterators import walk should be from email.iterators impor