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 tra
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 <rep...@bugs.python.org>
<http://bugs.python.org/i
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 'base'
module
John Jackson johnjack...@pobox.com added the comment:
Also occurs in 2.6...
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2622
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_mailbox.py
John Jackson [EMAIL PROTECTED] added the comment:
I'll put one together.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2622
__
___
Python-bugs-list mailing list
Unsubscribe
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 module
File readMail.pyo, line 15, in module
File mailbox.pyo, line 1294, in module
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 import walk