Eric V. Smith <e...@trueblade.com> added the comment: Wouldn't we be better off to catch this error at parse time, instead of just improve the error message when .port is called?
I'm not sure why port is a property and not just computed. Maybe the least intrusive way of doing this would be to just evaluate self.port after the parsing is completed? ---------- nosy: +berker.peksag, eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33034> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com