[issue33661] urllib may leak sensitive HTTP headers to a third-party web site1111

2018-12-24 Thread shuoz
Change by shuoz : -- title: urllib may leak sensitive HTTP headers to a third-party web site -> urllib may leak sensitive HTTP headers to a third-party web site ___ Python tracker ___

[issue35561] Valgrind reports Syscall param epoll_ctl(event) points to uninitialised byte(s)

2018-12-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: I suspect Valgrind is being too conservative. union epoll_data is 64 bits wide but the file descriptor only occupies the first 32 bits. The last 32 bits don't need to be initialized by the application. -- nosy: +benjamin.peterson

[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2018-12-24 Thread Harmandeep Singh
Change by Harmandeep Singh : -- keywords: +patch, patch, patch pull_requests: +10553, 10554, 10555 stage: -> patch review ___ Python tracker ___ __

[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2018-12-24 Thread Harmandeep Singh
Change by Harmandeep Singh : -- keywords: +patch pull_requests: +10553 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2018-12-24 Thread Harmandeep Singh
Change by Harmandeep Singh : -- keywords: +patch, patch pull_requests: +10553, 10554 stage: -> patch review ___ Python tracker ___

[issue35363] test_eintr: test_open() hangs randomly on x86-64 El Capitan 3.x buildbot

2018-12-24 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10550 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue33725] Python crashes on macOS after fork with no exec

2018-12-24 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10551, 10552 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue25234] test_eintr.test_os_open hangs under Xcode 7

2018-12-24 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10548, 10549 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33725] Python crashes on macOS after fork with no exec

2018-12-24 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10551 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25234] test_eintr.test_os_open hangs under Xcode 7

2018-12-24 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10548 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2018-12-24 Thread Jeff Robbins
Jeff Robbins added the comment: Per https://stackoverflow.com/questions/38133870/how-the-parameter-numberofconcurrentthreads-is-used-in-createiocompletionport, it seems that `NumberOfConcurrentThreads` controls what happens when multiple threads call `GetQueuedCompletionStatus`. But since

[issue17703] Trashcan mechanism segfault during interpreter finalization in Python 2.7.4

2018-12-24 Thread Trevor Joynson
Trevor Joynson added the comment: I can also confirm that the included patch does "workaround" the issue. A big pain point here for me is in determining what exit handler is causing this. GDB has been it's usual great help in determining information about the exact segfault, but the problem

[issue17703] Trashcan mechanism segfault during interpreter finalization in Python 2.7.4

2018-12-24 Thread Trevor Joynson
Trevor Joynson added the comment: I can verify this bug does still in fact exist in all 3.x versions I've tested (3.4-3.7). It's been the cause of many long-standing segfaults we've been having at exit in applications that use OpenRAVE and/or boost::python::numeric. -- nosy: +ned.de

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2018-12-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: The value type is DWORD. 0x is a maximum allowed value for DWORD. 0 implies something like 8 for Intel i7. I don't remember the reason (the value was present is very first proactor implementation and never changed after it). Maybe giving Windows a

[issue35580] Windows IocpProactor: CreateIoCompletionPort 4th arg 0xffffffff -- why is this value the default?

2018-12-24 Thread Jeff Robbins
New submission from Jeff Robbins : By default, the __init__ function of IocpProactor in windows_events.py calls CreateIoCompletionPort with a 4th argument of 0x, yet MSDN doesn't document this as a valid argument. https://docs.microsoft.com/en-us/windows/desktop/fileio/createiocomp

[issue35579] Typo in in asyncio-task documentation

2018-12-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: You are correct. Would you make a patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue34855] batch file variables

2018-12-24 Thread Anthony Blomme
Change by Anthony Blomme : -- keywords: +patch, patch pull_requests: +10546, 10547 stage: -> patch review ___ Python tracker ___ __

[issue34855] batch file variables

2018-12-24 Thread Anthony Blomme
Change by Anthony Blomme : -- keywords: +patch pull_requests: +10546 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue34055] IDLE Shell: check syntax before smart indent

2018-12-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch, patch pull_requests: +10543, 10544, 10545 stage: test needed -> patch review ___ Python tracker ___ _

[issue34055] IDLE Shell: check syntax before smart indent

2018-12-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch pull_requests: +10543, 10544 stage: test needed -> patch review ___ Python tracker ___ ___

[issue34055] IDLE Shell: check syntax before smart indent

2018-12-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10543 stage: test needed -> patch review ___ Python tracker ___ ___ P

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2018-12-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: This isn't meant as a comment from any previous posts. It's simply meant to correct a statement (based on new information in the past 2 years) from the original post. Since this original report, some ABCs that are not "One Trick Ponies" have been added whi

[issue35579] Typo in in asyncio-task documentation

2018-12-24 Thread Antoine Wecxsteen
New submission from Antoine Wecxsteen : I believe there is a typo in the library/asyncio-task documentation https://docs.python.org/3.8/library/asyncio-task.html#scheduling-from-other-threads "Unlike other asyncio functions this functions requires the loop argument to be passed explicitly."

[issue35578] Add test for Argument Clinic converters

2018-12-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch, patch pull_requests: +10540, 10541, 10542 stage: -> patch review ___ Python tracker ___ __

[issue35578] Add test for Argument Clinic converters

2018-12-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch pull_requests: +10540, 10541 stage: -> patch review ___ Python tracker ___

[issue35578] Add test for Argument Clinic converters

2018-12-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10540 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35208] IDLE: Squeezed line count ignores wrapping before newline

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 0e0cc553ab4c234e583b410accc7069eb97e392a by Miss Islington (bot) in branch '3.7': bpo-35208: Fix IDLE Squeezer line counting (GH-10449) https://github.com/python/cpython/commit/0e0cc553ab4c234e583b410accc7069eb97e392a -- nosy: +miss-is

[issue35578] Add test for Argument Clinic converters

2018-12-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently Argument Clinic converters are tested by running Argument Clinic on the CPython source tree. If it generates incorrect code, then it contains bugs. But not all combinations of standard converters and options are used in the stdlib. The program

[issue35208] IDLE: Squeezed line count ignores wrapping before newline

2018-12-24 Thread Tal Einat
Tal Einat added the comment: New changeset 44a79cc5b3d1fb0c03c99077aa26def85ec26c67 by Tal Einat in branch 'master': bpo-35208: Fix IDLE Squeezer line counting (GH-10449) https://github.com/python/cpython/commit/44a79cc5b3d1fb0c03c99077aa26def85ec26c67 -- __

[issue35208] IDLE: Squeezed line count ignores wrapping before newline

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10539 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35259] Py_FinalizeEx unconditionally exists in Py_LIMITED_API

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset ffc106c596d87e6e41bf9a3b69a5943317914afd by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x0306`. (GH-10620) https://github.com/python/cpython/commit/ffc106c596d87e6e41bf9a3b69a5943317

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 4db9a3fffa232e88fcc2ad3b5ce35e9f8657bbe5 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224) https://github.com/python/cpython/commit/4db9a3fffa232e88fcc2ad3b5ce

[issue35492] Missing colon on func statement in library/sys doc

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset c53e5f6ab988a74d60273d9130f233d1c446a93c by Ned Deily (Miss Islington (bot)) in branch '3.7': Fixed missing colun in library/sys.po (GH-11153) https://github.com/python/cpython/commit/c53e5f6ab988a74d60273d9130f233d1c446a93c -- nosy: +ned.d

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset f14087a4a96bb3f500e2d2bbc36c1124e90d5f73 by Ned Deily (Victor Stinner) in branch '3.7': bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264) https://github.com/python/cpython/commit/f14087a4a96bb3f500e2d2bbc36c1124e90d5f73

[issue31715] Add mimetype for extension .mjs

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 25ee15a15c2d274afeea2dc5a0a0b4fb4bea904b by Ned Deily (Myles Borins) in branch '3.7': [3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977) https://github.com/python/cpython/commit/25ee15a15c2d274afeea2dc5a0a0b4fb4bea904b --

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 7e4e4bd2b8245426fe733f3c57238acf41f17900 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164) (GH-11179) https://github.com/python/cpython/commit/7e4e4bd2b8245426fe733f3c57238acf41f1

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 986a9ab09d9564ea884d3dc3f0cedb68b861ddf3 by Ned Deily in branch '3.7': Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" https://github.com/python/cpython/commit/986a9ab09d9564ea884d3dc3f0cedb68b861ddf3 --

[issue35472] python 3.7.2 rc1 bumped sphinx requirements a bit too much

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 371ca0bb8f5eaa0dcbd3fa2f878398285488d47f by Ned Deily (Julien Palard) in branch '3.7': bpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192) https://github.com/python/cpython/commit/371ca0bb8f5eaa0dcbd3fa2f878398285488d47f -- _

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset e5fdab2a8053d4c24d8ddb21362e17f0f636a5d0 by Ned Deily in branch '3.6': Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" https://github.com/python/cpython/commit/e5fdab2a8053d4c24d8ddb21362e17f0f636a5d0 --

[issue20001] pathlib inheritance diagram too large

2018-12-24 Thread Harmandeep Singh
Change by Harmandeep Singh : -- keywords: +patch pull_requests: +10538 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset e5fdab2a8053d4c24d8ddb21362e17f0f636a5d0 by Ned Deily in branch '3.6': Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" https://github.com/python/cpython/commit/e5fdab2a8053d4c24d8ddb21362e17f0f636a5d0 --

[issue30561] sync-up gammavariate and expovariate code

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 63d152232e1742660f481c04a811f824b91f6790 by Raymond Hettinger (leodema) in branch 'master': bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934) https://github.com/python/cpython/commit/63d152232e1742660f481c04a811f824b91f6790 -

[issue34764] Improve documentation example for using iter() with sentinel value

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 00a48d57dfd52a968b357d68f63c51db3a451566 by Raymond Hettinger (Miss Islington (bot)) in branch '3.7': bpo-34764: improve docs example of iter() with sentinel value (GH-11222) (#11301) https://github.com/python/cpython/commit/00a48d57dfd52a96

[issue35566] DOC: Add links to annotation glossary term

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset bc64123335a4b6e2c1e4be532c60e5e1086db59a by Raymond Hettinger (Miss Islington (bot)) in branch '3.7': bpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302) https://github.com/python/cpython/commit/bc64123335a4b6e2c1e4be532c60

[issue35572] Logging module cleanup

2018-12-24 Thread Vinay Sajip
Vinay Sajip added the comment: I don't believe there is enough value in this to do it. From PEP 8: "Some other good reasons to ignore a particular guideline: ... Because the code in question predates the introduction of the guideline and there is no other reason to be modifying that code. ..

[issue35566] DOC: Add links to annotation glossary term

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10537 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue35566] DOC: Add links to annotation glossary term

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b7105c9c9663637e4500bfcac75c911e78d9a1c0 by Raymond Hettinger (Cheryl Sabella) in branch 'master': bpo-35566: Add links to annotation glossary term (GH-11291) https://github.com/python/cpython/commit/b7105c9c9663637e4500bfcac75c911e78d9a1c0

[issue34764] Improve documentation example for using iter() with sentinel value

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10536 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34764] Improve documentation example for using iter() with sentinel value

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d378b1f8ed7919f65a89f026bc899204be3773d4 by Raymond Hettinger (Chris Rands) in branch 'master': bpo-34764: improve docs example of iter() with sentinel value (GH-11222) https://github.com/python/cpython/commit/d378b1f8ed7919f65a89f026bc899204

[issue35555] IDLE: Gray out Code Context on non-editor windows

2018-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d4f7616da3c9aa870e9e2580e1019d6a62173e12 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.7': bpo-3: IDLE: Gray out Code Context menu item on non-editors (GH-11282) (GH-11300) https://github.com/python/cpython/commit/d4f7616da3c9aa870

[issue35555] IDLE: Gray out Code Context on non-editor windows

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10535 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35555] IDLE: Gray out Code Context on non-editor windows

2018-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8874f511e7473b08d6b0ccd9261dd415a072a34d by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-3: IDLE: Gray out Code Context menu item on non-editors (#11282) https://github.com/python/cpython/commit/8874f511e7473b08d6b0ccd9261dd415a0

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread Ned Deily
Ned Deily added the comment: New changeset 68f5dfd955ee7a16fabf90d7c370159cc0ca9b75 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) (GH-11299) https://github.com/python/cpython/commit/68f5dfd955ee7a16fabf90d7c370159cc0ca9b75

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 3d4b4b80f290e622b05ca219ad6dabc07b49421a by Miss Islington (bot) in branch '3.7': bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) https://github.com/python/cpython/commit/3d4b4b80f290e622b05ca219ad6dabc07b49421a --

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10534 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10533 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35568] Expose the C raise() function in the signal module, for use on Windows

2018-12-24 Thread Steve Dower
Steve Dower added the comment: That implementation will require some more of our usual macros around the call itself (for GIL and invalid values), and maybe clinicisation, as well as more through tests, which are probably going to be the hardest part. Nathaniel - were you planning to do this

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 44a3ee07e30e18d83e2730c093d8b0e930f0a06c by Miss Islington (bot) (Ned Deily) in branch 'master': bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) https://github.com/python/cpython/commit/44a3ee07e30e18d83e2730c093d8b0e930f0a06c -

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 44a3ee07e30e18d83e2730c093d8b0e930f0a06c by Miss Islington (bot) (Ned Deily) in branch 'master': bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) https://github.com/python/cpython/commit/44a3ee07e30e18d83e2730c093d8b0e930f0a06c -

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2018-12-24 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +10532 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35500] Align expected and actual calls on mock.assert_called_with error message

2018-12-24 Thread Chris Withers
Change by Chris Withers : -- Removed message: https://bugs.python.org/msg332464 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35567] Convert membership test from dict-of-constants to a set

2018-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 68151553845199136794bd60dcec238d8bfe0bdb by Raymond Hettinger (Cheryl Sabella) in branch 'master': bpo-35567: Convert dict of constants to a set (GH-11296) https://github.com/python/cpython/commit/68151553845199136794bd60dcec238d8bfe0bdb --

[issue35500] Align expected and actual calls on mock.assert_called_with error message

2018-12-24 Thread Chris Withers
Change by Chris Withers : -- Removed message: https://bugs.python.org/msg332462 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35500] Align expected and actual calls on mock.assert_called_with error message

2018-12-24 Thread Adnan Umer
Adnan Umer added the comment: Please ignore my above message. I accidentally added that here. Sorry :( -- ___ Python tracker ___ __

[issue35564] [DOC] Sphinx 2.0 will require master_doc variable set in conf.py

2018-12-24 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35577] side_effect mocked method lose reference to instance

2018-12-24 Thread Adnan Umer
New submission from Adnan Umer : When a method/bounded function is mocked and side_effect is supplied to it, the side_effect function doesn't get the reference to the instance. Suppose we have something like this class SomeClass: def do_something(self, x): pass def some_function

[issue35500] Align expected and actual calls on mock.assert_called_with error message

2018-12-24 Thread Adnan Umer
Adnan Umer added the comment: When a method/bounded function is mocked and side_effect is supplied to it, the side_effect function doesn't get the reference to the instance. Suppose we have something like this class SomeClass: def do_something(self, x): pass def some_function(x

[issue35564] [DOC] Sphinx 2.0 will require master_doc variable set in conf.py

2018-12-24 Thread Julien Palard
Julien Palard added the comment: New changeset fc8284e22074af8154e9865c8391b955f13a308b by Julien Palard (Jean-François B) in branch 'master': bpo-35564: add master_doc='contents' to conf.py (GH-11290) https://github.com/python/cpython/commit/fc8284e22074af8154e9865c8391b955f13a308b

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue30455] Generate all tokens related code and docs from Grammar/Tokens

2018-12-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8ac658114dec4964479baecfbc439fceb40eaa79 by Serhiy Storchaka in branch 'master': bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) https://github.com/python/cpython/commit/8ac658114dec4964479baecfbc439fceb40e

[issue22703] Idle Code Context menu entrie(s)

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 48a206978c890387aa573991cfe992d0c1951048 by Miss Islington (bot) in branch '3.7': bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214) https://github.com/python/cpython/commit/48a206978c890387aa573991cfe992d0c1951048 --

[issue22703] Idle Code Context menu entrie(s)

2018-12-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +10531 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22703] Idle Code Context menu entrie(s)

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset c1b4b0f6160e1919394586f44b12538505fed300 by Miss Islington (bot) (Cheryl Sabella) in branch 'master': bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214) https://github.com/python/cpython/commit/c1b4b0f6160e1919394586f4

[issue30802] datetime.datetime.strptime('200722', '%Y%U')

2018-12-24 Thread Sergey Bon.
Sergey Bon. added the comment: If %W and %U are allowed to be used without specifying the weekday by assuming it to be the first day of the week, then the same rule should apply to %V (ISO 8601 week) for consistency. -- ___ Python tracker

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset c046d6b6187e4de98a29e67ccbfd9b1b8790ee2f by Miss Islington (bot) in branch '3.7': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/c046d6b6187e4de98a29e67ccbfd9b1b8790ee2f -- n

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset c046d6b6187e4de98a29e67ccbfd9b1b8790ee2f by Miss Islington (bot) in branch '3.7': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/c046d6b6187e4de98a29e67ccbfd9b1b8790ee2f -- n

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f by INADA Naoki (Matt McCormick) in branch '2.7': bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283) https://github.com/python/cpython/commit/000b8093a13f1c5bfe4b65a4dc1b23e0db553a8f

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread INADA Naoki
INADA Naoki added the comment: New changeset 87667c54c6650751c5d7bf7b9e465c8c4af45f71 by INADA Naoki (Matt McCormick) in branch 'master': bpo-11566: Extension build errors on Windows for _hypot (GH-11283) https://github.com/python/cpython/commit/87667c54c6650751c5d7bf7b9e465c8c4af45f71

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2018-12-24 Thread Matthew McCormick
Change by Matthew McCormick : -- pull_requests: +10529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33830] Error in the output of one example in the httplib docs

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 26ab036098cc0f9e884ef87894f064268a24da0f by Miss Islington (bot) in branch '3.7': bpo-33830: Fix an example in http.client docs for 404. (GH-7780) https://github.com/python/cpython/commit/26ab036098cc0f9e884ef87894f064268a24da0f -- __

[issue33830] Error in the output of one example in the httplib docs

2018-12-24 Thread miss-islington
miss-islington added the comment: New changeset 26ab036098cc0f9e884ef87894f064268a24da0f by Miss Islington (bot) in branch '3.7': bpo-33830: Fix an example in http.client docs for 404. (GH-7780) https://github.com/python/cpython/commit/26ab036098cc0f9e884ef87894f064268a24da0f -- __

  1   2   >