[issue33065] debugger issue concerning importing user created modules into another program

2018-03-12 Thread Joshua De La Rosa
New submission from Joshua De La Rosa : Taking my first coding class, so I don't know much about coding or python in general, but I ran into a problem when using the Debugger function for a homework assignment that neither I nor my professor could make sense of. My

Re: Stock quote AP

2018-03-12 Thread ROGER GRAYDON CHRISTMAN
On Mon, Mar 12, 2018 12:00 PM, Irv Kalb wrote: > > On Mar 10, 2018, at 9:26 PM, Chris Angelico wrote: >> >> On Sun, Mar 11, 2018 at 4:18 PM, Irv Kalb wrote: >> Hi, >> >> I teach courses on beginning Python (Python3). In one of my >topics, I explain how

[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature

2018-03-12 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch, patch pull_requests: +5858, 5859 ___ Python tracker ___

[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature

2018-03-12 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +5858 ___ Python tracker ___

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-12 Thread Siming Yuan
Siming Yuan added the comment: tested again with Python 3.4.8 and the bug is observed. patch & builds fine. strangely, tested building python 3.6.4 on the same environment without patch, no issues, even though the ffi.c code is exactly the same. -- components:

[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature

2018-03-12 Thread Łukasz Langa
Łukasz Langa added the comment: Ned, I'd like this to make into 3.6.5 if at all possible. -- nosy: +ned.deily stage: -> patch review type: -> behavior ___ Python tracker

[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature

2018-03-12 Thread Łukasz Langa
New submission from Łukasz Langa : Title says all. I have a patch. -- assignee: lukasz.langa messages: 313718 nosy: lukasz.langa priority: normal severity: normal status: open title: lib2to3 fails on a trailing comma after **kwargs in a function signature versions:

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-12 Thread Siming Yuan
Siming Yuan added the comment: attached patch that fixes the build issue. credit to davin @ https://bugs.python.org/issue23042 -- keywords: +patch Added file: https://bugs.python.org/file47479/ffi.patch ___ Python tracker

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-12 Thread Siming Yuan
New submission from Siming Yuan : compiling Python 3.5.5 under RHEL 6.4, 32-bit: build/temp.linux-x86_64-3.5/opt/python/Python-3.5.5/Modules/_ctypes/libffi/src/x86/ffi.o: In function `ffi_prep_closure_loc': /opt/python/Python-3.5.5/Modules/_ctypes/libffi/src/x86/ffi.c:678:

[issue33038] GzipFile doesn't always ignore None as filename

2018-03-12 Thread bbayles
Change by bbayles : -- pull_requests: +5857 stage: -> patch review ___ Python tracker ___

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Ned Deily
Ned Deily added the comment: > I believe this can be closed as 'fixed'? Well, it *was* fixed! But then I reintroduced the boilerplate when I created the 3.7 and 3.8 whatsnew files - now fixed. Thanks for the reminder! -- assignee: -> docs@python components:

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Ned Deily
Ned Deily added the comment: New changeset d461ed84b57aae0bdccd117dc38109c087444d50 by Ned Deily in branch '3.7': bpo-29719: Remove Date and Release field in whatsnew/3.7 (GH-6094) https://github.com/python/cpython/commit/d461ed84b57aae0bdccd117dc38109c087444d50 --

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Ned Deily
Ned Deily added the comment: New changeset a34510a4c562b4b23c7f9da6ff6e2318484f5f1a by Ned Deily in branch 'master': bpo-29719: Remove Date and Release field in whatsnew/3.7 and 8 (GH-6093) https://github.com/python/cpython/commit/a34510a4c562b4b23c7f9da6ff6e2318484f5f1a

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +5856 ___ Python tracker ___ ___ Python-bugs-list

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +5855 stage: -> patch review ___ Python tracker ___

Re: Enumerating all 3-tuples (Posting On Python-List Prohibited)

2018-03-12 Thread Ben Bacarisse
Lawrence D’Oliveiro writes: > On Sunday, March 11, 2018 at 2:40:16 PM UTC+13, Ben Bacarisse wrote: >> It would be nice to avoid relying on any value-based ordering. > > I don’t see why. The set of elements has to have the same cardinality > as the set of natural numbers,

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Separate PRs for doc and code changes will be needed anyway if the code change is restricted to 3.8. To me, changing keyword.iskeyword.__doc__ from the irrelevant Python tautology 'x.__contains__(y) <==> y in x.' to something that says what

[issue20917] Idle: Enhance font change notification system

2018-03-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- dependencies: +IDLE: Add docstrings and tests for codecontext versions: +Python 3.8 -Python 3.6 ___ Python tracker

Re: test

2018-03-12 Thread Yuan Xue
Alister writes: > On Mon, 12 Mar 2018 13:43:01 -0500, Yuan Xue wrote: > >> test > > failed Funny, I am wodering what type of persons are still using this clumsy system, and their purposes of using it. -- https://mail.python.org/mailman/listinfo/python-list

[issue29719] "Date" of what's new is confusing

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this can be closed as 'fixed'? -- nosy: +csabella ___ Python tracker ___

test

2018-03-12 Thread Yuan Xue
test -- https://mail.python.org/mailman/listinfo/python-list

[issue24518] json.dumps should accept key function for ``sort_keys``

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: As there was interest in this patch, @catherinedevlin would you be able to make a Github pull request for it? Thanks! -- nosy: +csabella stage: -> needs patch versions: +Python 3.8 -Python 3.6

[issue32085] [Security] A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages!

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since issue 32185 has been patched, should this one be revisited to see if that solution helped fixed this one? -- nosy: +christian.heimes, csabella ___ Python tracker

Re: test

2018-03-12 Thread Cameron Simpson
On 17Mar2014 11:42, Mark H Harris wrote: On 3/16/14 5:07 AM, Chris “Kwpolska” Warrick wrote: Why not use the mailing list instead? It’s a much easier way to access this place. I prefer to 'pull' rather than receive the 'push'. The newsreader idea is better because

[issue21018] [patch] added missing documentation about escaping characters for configparser

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: @Arun.Persaud, would you be interested in converting your patch to a Github pull request? -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for StackOverflow links provided by Robert, it looks to me that float.is_integer() is always used improperly. If keep this method it would be worth to warn against improper use of it. Bad: (x/5).is_integer() Good:

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-12 Thread Vitaly Kruglikov
New submission from Vitaly Kruglikov : I need to write a test for my client to make sure it's non-blocking ssl interactions are able to survive SSL renegotiation. However, I can't seem to find anything in our python ssl API that calls `SSL_renegotiate()` in order to

[issue33061] NoReturn missing from __all__ in typing.py

2018-03-12 Thread Allen Tracht
Change by Allen Tracht : -- components: Library (Lib) nosy: Allen Tracht priority: normal severity: normal status: open title: NoReturn missing from __all__ in typing.py type: behavior versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

[issue33056] LEaking files in concurrent.futures.process

2018-03-12 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +5854 stage: -> patch review ___ Python tracker

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Change by Eddie Elizondo : -- keywords: +patch pull_requests: +5852 stage: -> patch review ___ Python tracker ___

[issue33060] Installation hangs at "Publishing product information"

2018-03-12 Thread Carol Willing
Carol Willing added the comment: Hi Bob, Your best option to get timely help information about installation is to visit one of the support channels for Python: - python-help mailing list https://www.python.org/community/lists/ - #python IRC channel

[issue33023] Unable to copy ssl.SSLContext

2018-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: You won't have any session resumption tickets until a connection succeeds. And even then, I don't think it would be a problem. By design, SSL contexts are meant to be re-used accross multiple connections. --

[issue33023] Unable to copy ssl.SSLContext

2018-03-12 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: > What would those side-effects be? Christian Heimes suggested that > A context contains elements that can't be cloned easily, e.g. session > resumption tickets. My concern then would be potential side-effects from such session

[issue33060] Installation hangs at "Publishing product information"

2018-03-12 Thread Bob Klahn
New submission from Bob Klahn : I am unable to install Python 2.7.14 on my Windows 7 PC. Using python-2.7.14.amd64.msi . The installation hangs at the "Publishing product information" step. Subsequent installation attempts result in the message "Python 2.7.14 (64-bit)

[issue33059] netrc module validates file mode only for /home/user/.netrc

2018-03-12 Thread Andreas Költringer
New submission from Andreas Költringer : On my first try to use the netrc module I got back the error: "~/.netrc access too permissive: access permissions must restrict access to only the owner" I changed the file permissions and wrapped this up in

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Yury Selivanov
Yury Selivanov added the comment: > - I would say event loop per class. If someone really needs event loop per > method, they can create separate classes per method. It's ugly, but > effective. +1. - We should have an async setUp capability. Maybe we could add a

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Zachary Ware
Zachary Ware added the comment: Ok, Yury clarified a few points before I got my message submitted there, so some of my last message may be a bit misguided. In particular, the problems with just using `asyncio.run` are clearer to me now. To give my answers to Yury's

[issue32911] Doc strings no longer stored in body of AST

2018-03-12 Thread Łukasz Langa
Łukasz Langa added the comment: Python's AST already doesn't include a lot of syntax that has no runtime effect: - comments; - whitespace and punctuation. The situation is now made "worse" with constant folding. You won't have full line information on the full expression,

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Too bad we couldn't do: iskeyword = frozenset(kwlist).__contains__ iskeyword.__doc__ = 'Test whether a string is a reserved identifier.' But I'm sure there are reasons for this: AttributeError: attribute '__doc__' of

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Zachary Ware
Zachary Ware added the comment: 1. I'm still -1 on a separate subclass, especially since the subclass should still be compatible with the base class. 2. This is only in consideration for 3.8 (even 3.7 is past feature freeze at this point), so the version-dependent

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Yury Selivanov
Yury Selivanov added the comment: First, John and Peter, let's not have two competing PRs. I'd prefer to have only one to make things easier to review. So far it looks like Peter's is slightly more developed. And this also seems to be a complex issue, so there's

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Carol Willing
Carol Willing added the comment: I've made an additional suggestion on the open PR to add an example to the `.rst` doc that better clarifies the differences and usage of `iskeyword` and `isidentifier`. Perhaps making that addition and skipping the updates to the C source

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Robert Smallshire
Robert Smallshire added the comment: Thank you Raymond. I'll work up a PR shortly. -- ___ Python tracker ___

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Petter S
Petter S added the comment: Personally, I think John's PR is fine. (but the test class could arguably live in asyncio) I like that setUp, tearDown and test methods all can be async. But if setUp and tearDown should never be async as Yury commented above, they

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Eddie Elizondo added the comment: @serhiy.storchaka tracemalloc can't distinguish between the usage of gc allocs, normal mallocs, and free list reuse. -- ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I would rather deprecate float.is_integer() if it looks as a magnet of bad code. -- ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Robert, would you please update you patch and submit it to Github as a pull request. It is looking like this will likely go forward after all. -- stage: patch review -> needs patch

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For changing a docstring we have to change the implementation of iskeyword(). It seems to me that the current implementation is the fastest, and any other implementation will be a tiny bit slower. I just wanted to say that this

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread Petter S
Petter S added the comment: John: inspect.iscoroutinefunction(meth) does not work if the method is decorated with e.g. unittest.mock.patch. -- ___ Python tracker

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could tracemalloc help you? -- nosy: +serhiy.storchaka, vstinner ___ Python tracker

Re: Can mock.mock_open.read return different values?

2018-03-12 Thread codewizard
On Monday, March 12, 2018 at 4:51:53 AM UTC-4, Tim Golden wrote: > I'm contributing to a codebase which makes heavy use of mock in the test > suite, a technique which I'm aware of but have used only rarely. In one > situation it uses mock.mock_open(read_data="...") and then asserts again >

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Eddie Elizondo added the comment: Currently, Python has very few instrumentation when it comes to the types of allocations that it's doing. For instance, we currently can't identify how many times an object uses free lists vs actual mallocs. Currently,

[issue33058] Enhance Python's Memory Instrumentation with COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
New submission from Eddie Elizondo : [WIP] -- title: [WIP] Enhance Python's Memory Instrumentation with COUNT_ALLCOS -> Enhance Python's Memory Instrumentation with COUNT_ALLOCS ___ Python tracker

[issue33058] Enhancing Python

2018-03-12 Thread Eddie Elizondo
Change by Eddie Elizondo : -- nosy: elizondo93 priority: normal severity: normal status: open title: Enhancing Python type: enhancement versions: Python 3.8 ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Stefan Krah
Stefan Krah added the comment: I agree with Mark's mailing list statements: There is no ambiguity for decimal, given that the existing predicates ignore the context. -- ___ Python tracker

[issue33058] [WIP] Enhance Python's Memory Instrumentation with COUNT_ALLCOS

2018-03-12 Thread Eddie Elizondo
Change by Eddie Elizondo : -- title: [WIP] Enhancing Python's COUNT_ALLOCS -> [WIP] Enhance Python's Memory Instrumentation with COUNT_ALLCOS ___ Python tracker

Re: test

2018-03-12 Thread Alister via Python-list
On Mon, 12 Mar 2018 13:43:01 -0500, Yuan Xue wrote: > test failed -- Mollison's Bureaucracy Hypothesis: If an idea can survive a bureaucratic review and be implemented it wasn't worth doing. -- https://mail.python.org/mailman/listinfo/python-list

[issue33058] [WIP] Enhancing Python's COUNT_ALLOCS

2018-03-12 Thread Eddie Elizondo
Change by Eddie Elizondo : -- title: Enhancing Python -> [WIP] Enhancing Python's COUNT_ALLOCS ___ Python tracker ___

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I posted above, keywork.iskeyword already has a bizarrely incorrect docstring, so how can there be a performance impact? And why single out such a rarely used function? -- ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the use case of float.is_integer() at all? I haven't found its usages in large projects on GitHub. Only in playing examples where it is (mis)used in cases like (x/5).is_integer() (x % 5 == 0 is better) or

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Mark Dickinson
Mark Dickinson added the comment: Ongoing discussion here: https://mail.python.org/pipermail/python-dev/2018-March/152358.html -- ___ Python tracker

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 019f5b3e9e4c2a1297580483c3d5a5a10bddb93b by Antoine Pitrou (Antoine Pietri) in branch 'master': bpo-22674: fix test_strsignal on OSX (GH-6085) https://github.com/python/cpython/commit/019f5b3e9e4c2a1297580483c3d5a5a10bddb93b

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33057] logging.Manager.logRecordFactory is never used

2018-03-12 Thread Ben Feinstein
Change by Ben Feinstein : Removed file: https://bugs.python.org/file47478/issue_logRecordFactory.py ___ Python tracker ___

[issue33048] macOS job broken on Travis CI

2018-03-12 Thread Ned Deily
Ned Deily added the comment: Thanks, Carol! -- ___ Python tracker ___ ___ Python-bugs-list

Re: Enumerating all 3-tuples

2018-03-12 Thread Chris Angelico
On Tue, Mar 13, 2018 at 5:42 AM, Skip Montanaro wrote: 4 (0, 0, 1) 9 (0, 0, 1) 18 (0, 0, 2) 32 (0, 0, 2) >> >> I spy duplicates. > > I didn't realize we'd started playing "I Spy." > We're actually playing Calvinball, but don't tell the others.

Re: Enumerating all 3-tuples

2018-03-12 Thread Skip Montanaro
>>> 4 (0, 0, 1) >>> 9 (0, 0, 1) >>> 18 (0, 0, 2) >>> 32 (0, 0, 2) > > I spy duplicates. I didn't realize we'd started playing "I Spy ." ​ ​ Skip -- https://mail.python.org/mailman/listinfo/python-list

[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2018-03-12 Thread Guillaume Carre
Guillaume Carre added the comment: Yes these were pretty large zip 30 to 60Gb with thousands of small files in them I've fixed locally on our servers and we've been happy even after accepting similar sized files from linux machine. I'm also quite surprised about this not

Re: Initializing error

2018-03-12 Thread Chris Angelico
On Tue, Mar 13, 2018 at 2:53 AM, Michael F. Stemper wrote: > On 2018-03-10 09:41, Harsh Bhardwaj wrote: >> >> On Mar 5, 2018 11:16 AM, "Harsh Bhardwaj" wrote: >> >> Plz fix this problem for me. I tried every way to fix this. >> Windows 7(32-bit)

Re: Enumerating all 3-tuples

2018-03-12 Thread Chris Angelico
On Tue, Mar 13, 2018 at 2:54 AM, Robin Becker wrote: > On 12/03/2018 13:17, Robin Becker wrote: > An alternative approach gives more orderly sequences using a variable base > number construction > >> 4 (0, 0, 1) >> 9 (0, 0, 1) >> 18 (0, 0, 2) >> 32 (0, 0, 2) I spy

[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2018-03-12 Thread Ewoud Kohl van Wijngaarden
Ewoud Kohl van Wijngaarden added the comment: It's interesting to note that neither IPv4Network[1] nor IPv4Network docs mention reverse_pointer. That means it could also remove them (which essentially also throws an exception) since they don't make sense

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The change that will add a docstring to keyword.iskeyword() inevitable will have a negative performance effect. Is it worth it? -- nosy: +rhettinger, serhiy.storchaka ___ Python

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: float.is_integer() was added 6f34109384f3a78d5f4f8bdd418a89caca19631e (unfortunately no issue number for looking at the discussion preceded it). I don't know reasons. The same changeset added implementations of

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Sanyam Khurana
Sanyam Khurana added the comment: Carol, Yes, I've raised a PR. Currently, I've updated the docs for `str.isidentifier` clarifying the usage of `keyword.iskeyword` For updating the docstring of `keyword.iskeyword`, I saw that `Lib/Keyword.py` defines this on line

[issue33048] macOS job broken on Travis CI

2018-03-12 Thread Carol Willing
Carol Willing added the comment: I've opened a WIP PR to fix the Travis test config on macOS. Antoine is correct that the recent brew changes related to Python caused the test failure. I will try to get working on Python3 first and then Python2. -- nosy: +willingc

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +5850 stage: needs patch -> patch review ___ Python tracker

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2018-03-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +5849 stage: -> patch review ___ Python tracker ___

[issue33057] logging.Manager.logRecordFactory is never used

2018-03-12 Thread Ben Feinstein
Change by Ben Feinstein : -- keywords: +patch pull_requests: +5848 stage: -> patch review ___ Python tracker ___

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Ned Deily
Ned Deily added the comment: > Ned, this is why I'd like issue33048 to be solved :-) Having to rely on the > buildbot fleet for bugfix iteration is not convenient at all. I want to see it solved, too. :-) But there are other core-devs out there who are in a better position

[issue33048] macOS job broken on Travis CI

2018-03-12 Thread Carol Willing
Change by Carol Willing : -- keywords: +patch pull_requests: +5847 stage: -> patch review ___ Python tracker ___

[issue33056] LEaking files in concurrent.futures.process

2018-03-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 095ee415cee41bf24c3a1108c23307e5baf168dd by Andrew Svetlov (Thomas Moreau) in branch 'master': bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (#6084)

[issue12345] Add math.tau

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Because of its lucky number. See https://github.com/python/core-workflow/issues/223 (fixed). -- ___ Python tracker

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pietri
Antoine Pietri added the comment: Done, https://github.com/python/cpython/pull/6085 As I said in the PR body, I can't test it myself, I don't have an OSX VM setup. -- ___ Python tracker

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pietri
Change by Antoine Pietri : -- pull_requests: +5846 stage: needs patch -> patch review ___ Python tracker ___

[issue33055] bytes does not implement __bytes__()

2018-03-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This isn't one exception. For example complex doesn't have the __complex__ method. __str__, __float__, __int__ and __bool__ are implemented in str, float, int and bool because there are corresponding special slots in a type

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Should I submit a new PR for this? Please do. -- ___ Python tracker ___

[issue12345] Add math.tau

2018-03-12 Thread Mark Dickinson
Mark Dickinson added the comment: Why does this issue keep ending up as the target of unrelated PR notifications? -- ___ Python tracker

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pietri
Antoine Pietri added the comment: Yes, sorry, the issue is that we decided with pitrou to remove the osx specific handling. The fix should be: diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index fbb12a5b67..ae0351e992 100644 ---

[issue33057] logging.Manager.logRecordFactory is never used

2018-03-12 Thread Ben Feinstein
New submission from Ben Feinstein : In logging.Manager, the logRecordFactory attribute is never used. One would expect that makeRecord() (in logging.Logger) would generate a record using its manager's logRecordFactory, or fallback to the global _logRecordFactory (if

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ned, this is why I'd like issue33048 to be solved :-) Having to rely on the buildbot fleet for bugfix iteration is not convenient at all. -- ___ Python tracker

[issue22674] RFE: Add signal.strsignal(): string describing a signal

2018-03-12 Thread Ned Deily
Ned Deily added the comment: test_strsignal is failing on macOS. == FAIL: test_strsignal (test.test_signal.PosixTests) -- Traceback (most

[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2018-03-12 Thread Thomas Kluyver
Thomas Kluyver added the comment: If every Windows 7 computer is generating zipfiles which are invalid in this way, that would be a pretty strong argument for Python (and other tools) to accept it. But if that was the case, I would also expect that there would be many

Re: Initializing error

2018-03-12 Thread Michael F. Stemper
On 2018-03-10 09:41, Harsh Bhardwaj wrote: On Mar 5, 2018 11:16 AM, "Harsh Bhardwaj" wrote: Plz fix this problem for me. I tried every way to fix this. Windows 7(32-bit) That's a pretty bad problem. Fortunately, there is a fix: --

Re: Enumerating all 3-tuples

2018-03-12 Thread Robin Becker
On 12/03/2018 13:17, Robin Becker wrote: It's possible to generalize the cantor pairing function to triples, but that may not give you what you want. Effectively you can generate an arbitrary number of triples using an iterative method. My sample code looked like this ct mapping of

[issue32972] unittest.TestCase coroutine support

2018-03-12 Thread John Andersen
John Andersen added the comment: I've updated my pull request to do the following: 1. Provide a new AsyncTestCase class which is a subclass of TestCase 2. Run coroutines with a coroutineRunner property. a. In 3.6 this calls get_evet_loop.run_until_complete b. In

Re: Enumerating all 3-tuples

2018-03-12 Thread Elliott Roper
On 10 Mar 2018, Paul Moore wrote (in article): > On 10 March 2018 at 02:18, MRAB wrote: > > On 2018-03-10 01:13, Steven D'Aprano wrote: > > > > > > I am trying to enumerate all the three-tuples (x, y, z) where each of

[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2018-03-12 Thread Guillaume Carre
Guillaume Carre added the comment: Hi, In my case the zip file was created from windows 7 context menu (send to) Regards, Guillaume On Mon, Mar 12, 2018 at 5:08 AM, Thomas Kluyver wrote: > > Thomas Kluyver added the comment:

[issue33056] LEaking files in concurrent.futures.process

2018-03-12 Thread Thomas Moreau
New submission from Thomas Moreau : The recent changes introduced by https://github.com/python/cpython/pull/3895 leaks some file descriptors (the Pipe open in _ThreadWakeup). They should be properly closed at shutdown. -- components: Library (Lib)

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2018-03-12 Thread Robert Smallshire
Robert Smallshire added the comment: Apologies for the email splurge. That's the first and last time I'll use the email interface to bugs.python.org. -- ___ Python tracker

  1   2   >