[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 a given instance of `IocpProactor` only calls 
`GetQueuedCompletionStatus` from a single thread, probably this arg doesn't 
matter, and the value `1` would be more explicit about the pattern asyncio is 
using?  A huge number is, presumably, either not relevant or, at worst, 
wasteful of some kernel resource.  

Am I correct that only one thread calls `GetQueuedCompletionStatus` on a given 
`iocp` object in asyncio under Windows `IocpProactor`?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 code itself is rather elusive since it's ran so much 
earlier and just causes this issue downstream later in execution. Unfortunately 
the extensions I'm dealing with also happen to take a lifetime to compile, 
exacerbated by the fact that they are dependent upon one another.

Can we please apply this to 3.x's tree?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.deily, trevorj
versions: +Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 privilegy to decide what number of IO threads is optimal 
is not a bad idea, I don't know.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/createiocompletionport

It looks like the 4th arg (NumberOfConcurrentThreads) is meant to be either a 
positive integer or 0.  0 is a special value meaning "If this parameter is 
zero, the system allows as many concurrently running threads as there are 
processors in the system."

Why does asyncio use 0x instead as the default value?

--
components: asyncio
messages: 332498
nosy: asvetlov, je...@livedata.com, yselivanov
priority: normal
severity: normal
status: open
title: Windows IocpProactor: CreateIoCompletionPort 4th arg 0x -- why 
is this value the default?
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 which implement  __subclasshook__.  `Collection` is one of those, so 
using the original example:

>>> from collections.abc import Sequence, Container, Sized, Collection
>>> class MySequence(object):
... def __contains__(self, item): pass
... def __len__(self): pass
... def __iter__(self): pass
... def __getitem__(self, index): pass
... def __len__(self): pass
... def __reversed__(self): pass
... def index(self, item): pass
... def count(self, item): pass
... 
>>> issubclass(MySequence, Container)
True
>>> issubclass(MySequence, Sized)
True
>>> issubclass(MySequence, Sequence)
False
>>> issubclass(MySequence, Collection)
True

Collection is not a "One Trick Pony" because it is used for Sized, Iterable 
Containers.

Generator, Coroutine, and ASyncGenerator are also not "One Trick Ponies" 
(although they are defined under that section in _collections_abc.py).

Again, for reference, the definition of One Trick Pony from PEP3119 is:
These abstract classes represent single methods like __iter__ or __len__.

If only One Trick Ponies implemented __subclasshook__, then the original 
documentation issue:
> These ABCs allow us to ask classes or instances if they provide particular 
> functionality, for example:

maybe could have been changed to:
> These ABCs allow us to ask classes or instances if they provide singular 
> functionality, for example:

But, that's not really correct anymore.

--
nosy: +cheryl.sabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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."

It should be "this function", without "s".

--
assignee: docs@python
components: Documentation, asyncio
messages: 332495
nosy: Antoine Wecxsteen, asvetlov, docs@python, eric.araujo, ezio.melotti, mdk, 
willingc, yselivanov
priority: normal
severity: normal
status: open
title: Typo in in asyncio-task documentation
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 programming interface of Argument Clinic is complex, and it is hard to 
write tests for testing only specific functionality. The simplest way of 
testing Argument Clinic is to write a C file containing declarations and 
generated code for all test cases. Although this does not allow to test error 
cases.

The proposed PR adds Lib/test/clinic_test.c which contains tests for all 
standard converters. It will be extended in bpo-20180 (PR #9828) and bpo-23867.

--
components: Argument Clinic, Tests
messages: 332493
nosy: larry, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Add test for Argument Clinic converters
type: enhancement
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/ffc106c596d87e6e41bf9a3b69a5943317914afd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/4db9a3fffa232e88fcc2ad3b5ce35e9f8657bbe5


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

New changeset 92f90242994652d6b7afe0a2c8a61cf2bccc8c32 by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)
https://github.com/python/cpython/commit/92f90242994652d6b7afe0a2c8a61cf2bccc8c32


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/7e4e4bd2b8245426fe733f3c57238acf41f17900


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/00a48d57dfd52a968b357d68f63c51db3a451566


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/bc64123335a4b6e2c1e4be532c60e5e1086db59a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.
...
"

That applies to both snake_casing (no functional improvement) and the 
basicConfig change (no worthwhile functional improvement; documentation covers, 
or should cover, the actual keyword arguments; it's not clear in what context 
improved inspection capabilities would be particularly helpful for basicConfig. 
It's not as if this is the only usage of **kwargs in the stdlib).

The energy that would be spent on doing this would be better spent on other 
things, IMO.

--
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/d378b1f8ed7919f65a89f026bc899204be3773d4


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/d4f7616da3c9aa870e9e2580e1019d6a62173e12


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/8874f511e7473b08d6b0ccd9261dd415a072a34d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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? Or should we put the "easy (C)" 
keyword on it and wait for some sprints?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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(x):
cls = SomeClass()
y = class.do_something(x)
return y


And the test for some_function will be 


def do_something_side_effect(x):
retrun x

def test_some_function():
with mock.path("SomeCass.do_something") as do_something_mock:
do_something_mock.side_effect = do_something_side_effect
assert some_function(1)


Here do_something_side_effect mock will not have access to SomeClass instance.

--
components: Library (Lib)
messages: 332463
nosy: Adnan Umer
priority: normal
severity: normal
status: open
title: side_effect mocked method lose reference to instance
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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):
cls = SomeClass()
y = class.do_something(x)
return y


And the test for some_function will be 


def do_something_side_effect(x):
retrun x

def test_some_function():
with mock.path("SomeCass.do_something") as do_something_mock:
do_something_mock.side_effect = do_something_side_effect
assert some_function(1)


Here do_something_side_effect mock will not have access to SomeClass instance.

--
nosy: +Adnan Umer
versions:  -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/8ac658114dec4964479baecfbc439fceb40eaa79


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/c1b4b0f6160e1919394586f44b12538505fed300


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington, miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +inada.naoki

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >