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
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
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
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
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
John Jackson <[EMAIL PROTECTED]> added the comment:
I'll put one together.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2622>
__
___
Python
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
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