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.

Author eric.smith
Recipients eli.bendersky, eric.smith, ncoghlan, sbt
Date 2013-05-09.12:38:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I agree it should work the same as Enum, and I agree it should be possible to supply the module name. But wouldn't it be cleaner as:

Point = namedtuple('Point', 'x y z', module=__name__)

rather than:

Point = namedtuple(__name__ + '.Point', 'x y z')

Date User Action Args
2013-05-09 12:38:03eric.smithsetrecipients: + eric.smith, ncoghlan, eli.bendersky, sbt
2013-05-09 12:38:03eric.smithsetmessageid: <>
2013-05-09 12:38:03eric.smithlinkissue17941 messages
2013-05-09 12:38:03eric.smithcreate