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 zbysz
Recipients Arfrever, amaury.forgeotdarc, denilsonsa, giampaolo.rodola, loewis, neologix, pitrou, rosslagerwall, zbysz
Date 2012-01-05.21:24:53
SpamBayes Score 2.1274682e-05
Marked as misclassified No
Message-id <1325798693.8.0.0681137479856.issue13609@psf.upfronthosting.co.za>
In-reply-to
Content
> I haven't read much of this issue, but I strongly dislike the use of 
> named tuples.
I don't really have a very strong opinion, but (cols, rows) does seem a lot like a tuple -- it really is just a pair of values without other function or state. Still I would much prefer to say
  get_terminal_size().columns
than
  get_terminal_size()[0]
So a bare tuple seems like the worst choice.
History
Date User Action Args
2012-01-05 21:24:53zbyszsetrecipients: + zbysz, loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola, Arfrever, denilsonsa, neologix, rosslagerwall
2012-01-05 21:24:53zbyszsetmessageid: <1325798693.8.0.0681137479856.issue13609@psf.upfronthosting.co.za>
2012-01-05 21:24:53zbyszlinkissue13609 messages
2012-01-05 21:24:53zbyszcreate