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 GraylinKim, bethard, denilsonsa, eric.araujo, zbysz
Date 2011-09-25.21:18:01
SpamBayes Score 1.1387468e-09
Marked as misclassified No
Message-id <1316985482.08.0.699264664404.issue12806@psf.upfronthosting.co.za>
In-reply-to
Content
[I now see that roundup ate half of my reply. I have no idea why,
 because the e-mail is formatted correctly. Maybe I'll have more
 luck this time, but since there's no preview, I must try to see.]

On 09/25/2011 01:50 AM, Graylin Kim wrote:
>>>   if(list_match):
>> Parenthesis unnecessary.
>
> In my defense I have the sadistic pleasure of coding in PHP where
> they are necessary for 8 hours a day for my day job. I can only
> apologize profusely for my offense and beg for forgiveness

:)

>>> lines = list()
>> Why not just 'lines = []'?
>
> Not to get off topic, but I happen to like list() and dict() instead
> of [] and {} for empty collections. If there are non-religious
> reasons for avoiding this practice I'll consider it. I don't want to
> invoke a holy war here, just wondering if there are practical reasons.

In general brevity is good, but I agree that this is just a style question, and not very important here.

>> One a side note: due to #13041 the terminal width is normally stuck
> at 80 chars.
> Not a good reason to remove the flexibility from the implementation
> I don't think.
This wasn't my intention, I was only saying that due to this bug the wrapping uses fixed width, but I'm hoping that #13041 will be successfully resolved.
History
Date User Action Args
2011-09-25 21:18:02zbyszsetrecipients: + zbysz, bethard, eric.araujo, denilsonsa, GraylinKim
2011-09-25 21:18:02zbyszsetmessageid: <1316985482.08.0.699264664404.issue12806@psf.upfronthosting.co.za>
2011-09-25 21:18:01zbyszlinkissue12806 messages
2011-09-25 21:18:01zbyszcreate