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 Hamed
Recipients Hamed, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-03-21.17:32:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584811979.62.0.778885388555.issue40035@roundup.psfhosted.org>
In-reply-to
Content
Hello,

I saw a problem when this line of code is used in Python 3:

settings = [line for line in settings if (line!='' and line[0] != '#')]

Before updating windows, this line of code filtered the texts from the beginning of .txt file, so only the first lines remained after filtration, but now, after windows update, it filters the texts so that the last rows of .txt file will remain after filtration.
Shouldn't a line of code acts the same in different updates?
History
Date User Action Args
2020-03-21 17:32:59Hamedsetrecipients: + Hamed, paul.moore, tim.golden, zach.ware, steve.dower
2020-03-21 17:32:59Hamedsetmessageid: <1584811979.62.0.778885388555.issue40035@roundup.psfhosted.org>
2020-03-21 17:32:59Hamedlinkissue40035 messages
2020-03-21 17:32:59Hamedcreate