[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset e982d8b64f5d358c578bfca5cdfe4524dbc74000 by Victor Stinner in branch 'master': bpo-38353: Fix compiler warning in internal headers (GH-16573) https://github.com/python/cpython/commit/e982d8b64f5d358c578bfca5cdfe4524dbc74000 -- ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 03a8a56faca0c1851051269e3517d70cbce830b7 by Victor Stinner in branch 'master': bpo-38353: Add subfunctions to getpath.c (GH-16572) https://github.com/python/cpython/commit/03a8a56faca0c1851051269e3517d70cbce830b7 -- __

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16166 pull_request: https://github.com/python/cpython/pull/16574 ___ Python tracker ___ __

[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

2019-10-03 Thread AWhetter
Change by AWhetter : -- keywords: +patch pull_requests: +16167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16575 ___ Python tracker ___ ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset f0c85793d2a087974969f7eea6ca24bbd1178d53 by Victor Stinner in branch 'master': bpo-38353: Rework ismodule() in getpath.c (GH-16574) https://github.com/python/cpython/commit/f0c85793d2a087974969f7eea6ca24bbd1178d53 -- _

[issue38346] Wrong behavior when using `assert_called_with` with mutable object

2019-10-03 Thread Jim Jeon
Jim Jeon added the comment: Thank you all for the kind answers. I didn't know copying could cause so many problems. @veky Thank you for the example. But it seems that the example will actually raise and I think it should. I am talking f.assert_called_with(b) when `b` has same values of `a` bef

[issue38350] ./configure --with-pydebug should use -O0 rather than -Og

2019-10-03 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue38337] inspect: getmembers calls properties

2019-10-03 Thread hongweipeng
hongweipeng added the comment: I mean why member `__class__` is expected to be `)`. I check PR16521,for __class__, it always gets `)`. -- ___ Python tracker ___ _

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread Tim Peters
Tim Peters added the comment: My understanding is that the CFFI types at issue don't even have Py_TPFLAGS_HAVE_GC. They're completely invisible to gc. As Armin says in the CFFI issue report (linked to earlier), he never got the impression from the docs that he needed to implement anything

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: A week ago, I thought that the astral solution was to always replace with the \U escape. With this patch, we can and should send them to read-only text windows, and let the OS and font display it or a substitute. On Windows, at least, the emoji which beginn

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your example Terry. There was one dubious place which I did not change because I did not know how to trigger the execution of it. Now the clipboard is fixed. -- ___ Python tracker

[issue38235] Docs of logging module says argument is named "lvl". TypeError.

2019-10-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue38366] dataclasses: generate the _hash_action table from the if-else tree

2019-10-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Eric. The original code is preferable. -- nosy: +rhettinger ___ Python tracker ___

[issue38337] inspect: getmembers calls properties

2019-10-03 Thread Jonas Drotleff
Jonas Drotleff added the comment: Oh, yes I see what you mean. That's my fault, it seems like I copied the wrong line. Sorry. But the important piece is the 'var' attribute. Sorry for the confusion. -- ___ Python tracker

<    1   2