[issue36226] multipart/related header causes false positive StartBoundaryNotFoundDefect and MultipartInvariantViolationDefect

2019-03-07 Thread Martin Panter
Martin Panter added the comment: Probably the same as Issue 29353. I remember than enabling "headersonly" can create inconsistencies in the message object. But I don't remember the details. According to Issue 29991 (another duplicate), my patch for Issue 24363 might help. But I don't think I

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Jess, I think this could be added. I think it should require only a a sort in https://github.com/python/cpython/blob/0f221d09cad46bee38d1b7a7822772df66c53028/Lib/unittest/case.py#L1127-L1138, to update the tests and add a blurb. You will need to get Python

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-03-07 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33944] Deprecate and remove pth files

2019-03-07 Thread Thomas Kluyver
Thomas Kluyver added the comment: As a lurker on this issue: I think a lot of energy is being expended arguing about what is and isn't legitimate use cases, when there's actually more stuff that people agree about than not. I think this issue should be broken down into two, neither of which

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Jess
Jess added the comment: Wow! Thank you, very fast and the precise snippet of info I needed. Will try to send something off today. Very exciting. -- ___ Python tracker ___

[issue35435] Discourage external links to old docs.

2019-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: James Lu today posted to python-ideas 'Make Python 2.7’s online docs optionally redirect to Python 3 online docs' Andra Roberge: There exists browser extensions that do this: https://addons.mozilla.org/en-US/firefox/addon/py3direct/ https://chrome.google.com/w

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker ___ ___ Python-bugs-list ma

[issue35967] Better platform.processor support

2019-03-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue35967] Better platform.processor support

2019-03-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +12217 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue36227] Add default_namespace argument to xml.etree.ElementTree.tostring()

2019-03-07 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list m

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-03-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +12218 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I think it should require only a a sort It's possible to have non-sortable elements in the set, so you'll either need to sort on the repr of the elements or have a fallback: assertSetEqual({10, None, 'abc'}, {20, 3+4j, 10}) -- assignee: -

[issue36228] Support coercion of complex to float/int

2019-03-07 Thread Марат Нагаев
Марат Нагаев added the comment: I think math.floor should raise TypeError if complex argument passed, but we need cmath.floor(and ceil). As I know floor complex number is just floor real part and floor imag. Example: z=1.1+2.5j floor(z) #2+3j I think it's correct. But I don't know about complex

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Windson Yang
Windson Yang added the comment: Just to be clear, as Raymond said, when we have two non-sortable objects (for instance, two instances which their class didn't implement the __lt__ and __gt__ methods), we should compare their repr() without sort() like now. -- nosy: +Windson Yang ___

[issue36230] Please sort assertSetEqual's output

2019-03-07 Thread Windson Yang
Change by Windson Yang : -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-

<    1   2