[issue35105] Document that CPython accepts "invalid" identifiers

2019-01-04 Thread Windson Yang
Windson Yang added the comment: I agreed with @Raymond Hettinger, I will update the PR from your suggestion if no other ideas in next week. -- ___ Python tracker ___

[issue35328] Set a environment variable for venv prompt

2019-01-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue34439 seems like a similar proposal. I am adding @vinay.sajip. Since this seems like a new feature I have removed 3.7 from the version list. -- components: +Library (Lib) nosy: +vinay.sajip, xtreak type: -> enhancement versions:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859, 10860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859, 10860, 10861 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch pull_requests: +10862, 10863 stage: -> patch review ___ Python tracker ___

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10862 stage: -> patch review ___ Python tracker ___ ___

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
New submission from Brett Cannon : When creating the pyvenv.cfg file, the prompt setting should be stored there so that tools can introspect on it (e.g. VS Code could read the value to tell users the name of the venv they have selected in the status bar). -- assignee: brett.cannon

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread Christian Heimes
Christian Heimes added the comment: I have no plans to work on the issue any more. OpenSSL 1.1.1 has fixed the RNG issue with a new DRBG implementation. Eventually all platforms will move to 1.1.1 because it also provides TLS 1.3. In the mean time, application can work around the limitation

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
Change by Wanja Chresta : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -10860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch, patch, patch pull_requests: +10865, 10866, 10867 stage: -> patch review ___ Python tracker ___

[issue35432] str.format and string.Formatter bug with French (and other) locale

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: This bug is a duplicate of bpo-33954. Good news: it's now fixed in Python 3.6.8! https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-8-release-candidate-1 "bpo-33954: For str.format(), float.__format__() and complex.__format__() methods for

[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: We should remove the "equivalent to for-loops" wording for list comprehensions. That is a hold-over from 2.7 where it used to be true. That said, the list comprehension section is too early in the tutorial to go into scopes and generators, so a full

[issue35663] webbrowser.py firefox bug [python3, windows 10]

2019-01-04 Thread Tanmay Jain
New submission from Tanmay Jain : https://docs.python.org/3/library/webbrowser.html#webbrowser.controller.open browser_controller = webbrowser.get() result = browser_controller.open(url)# <-- return False even though firefox successfully opens url # expected behavior when url is opened

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
New submission from Cheryl Sabella : Remove use of `from tkinter import *` from windows.py. -- assignee: terry.reedy components: IDLE messages: 333028 nosy: cheryl.sabella, terry.reedy priority: normal severity: normal status: open title: IDLE: Remove import * from window.py type:

[issue35624] Shelve sync issues while using Gevent

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs already note a restriction: "the shelve module does not support concurrent read/write access to shelved objects". We should further document that sync() is not thread-safe. When sync() is running, the *writeback* attribute is set to False and

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Steve Dower
Steve Dower added the comment: There's an existing issue for this somewhere - we've tried a couple times to switch over and run into various issues. I'm not in a place to find it right now, but worth looking. -- ___ Python tracker

[issue9305] Don't use east/west of UTC in date/time documentation

2019-01-04 Thread Ajay Mahato
Ajay Mahato added the comment: I am taking up this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Tim Peters
Tim Peters added the comment: For history, note that `bisect` doesn't always work in this context either: a heap is NOT always in sorted order. For example, this is "a (min) heap" too: [1, 3, 2]. More, that's "the real" problem. If we could find the element to be removed in log(n)

[issue35325] imp.find_module() return value documentation discrepancy

2019-01-04 Thread Windson Yang
Windson Yang added the comment: > The documentation should state that "pathname" will be None (not the empty > string) for built-in and frozen modules in order to be in line with the > implementation. Both the "file" and "pathname" will be None for built-in and frozen modules, right? In

[issue35325] imp.find_module() return value documentation discrepancy

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
Jeff Robbins added the comment: I did a search and couldn't find exactly this issue. This issue is about a broken function. It is broken because it treats a timeout as a fatal error which crashes your Python program. I supplied a proposed fix for the function. If there are other known issues

[issue35664] Optimize itemgetter()

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please provide microbenchmark results also for the following cases: * Negative index with tuple. * Slice index with tuple. * Tuple subclass. * List. * Large (2**61 and -2**61) index. I do not expect significant regression, but if it is, we should be aware.

[issue13927] Document time.ctime format

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: Extra spaces in the output of time.ctime -> Document time.ctime format versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
New submission from Wanja Chresta : Heap Queues are extremely useful data structures. They can, for example, be used to implement Dijkstra's algorithm for finding the shortest paths between nodes in a graph in O(edge * log vertices) time instead of (edge * vertices) without heaps. One

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch, patch pull_requests: +10862, 10863, 10864 stage: -> patch review ___ Python tracker ___

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
New submission from Jeff Robbins : Python 3.x defaults to using emulated condition variables on Windows. I tested a build with native Windows condition variables (#define _PY_EMULATED_WIN_CV 0), and found a serious issue. The problem is in condvar.h, in this routine: /* This

[issue35663] webbrowser.py firefox bug [python3, windows 10]

2019-01-04 Thread Tanmay Jain
Tanmay Jain added the comment: >>> import webbrowser >>> brwsr = webbrowser.get("C:/Program Files/Mozilla Firefox/firefox.exe %s") >>> brwsr.open('www.google.com') False # <-- even though firefox opens the url >>> brwsr = webbrowser.get("C:/Program Files >>>

[issue34439] Expose venv --prompt value to an environment value

2019-01-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue35328 seems like a related issue with a PR that sets VIRTUAL_ENV_PROMPT. Also see issue35661 to store the venv prompt in config file. -- nosy: +xtreak versions: -Python 3.5, Python 3.6, Python 3.7

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
New submission from Raymond Hettinger : Improve performance by 33% by optimizing argument handling and by adding a fast path for the common case of a single non-negative integer index into a tuple (which is the typical use case in the standard library). -- components: Library (Lib)

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch, patch pull_requests: +10865, 10866 stage: -> patch review ___ Python tracker ___

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +10865 stage: -> patch review ___ Python tracker ___ ___

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch pull_requests: +10868, 10869 stage: -> patch review ___ Python tracker ___

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +10868 stage: -> patch review ___ Python tracker ___ ___

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch, patch pull_requests: +10868, 10869, 10870 stage: -> patch review ___ Python tracker ___

[issue28108] Python configure fails to detect tzname on platforms that have it.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35385. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35385] time module: why not using tzname from the glibc?

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-28108. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
Wanja Chresta added the comment: After thinking about it some more I realised that this doesn't make sense since heapq is based on lists and lists have an insertion complexity of O(n). Thus, they'll never read the needed O(log n) and heapq is the wrong place. Never mind. --

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -10861 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread Stefan Seefeld
Stefan Seefeld added the comment: That's quite an unfortunate limitation ! I'm working on a GUI frontend to a Python tool I wrote using asyncio, and the GUI (Qt-based) itself insists to run its own event loop in the main thread. I'm not sure how to work around this limitation, but I can

[issue35606] Add prod() function to the math module

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't like the name overlap with itertools.product(). Currently, math and itertools have no overlapping names. Also, I expect that like sum(), the prod() function will be used with generator comprehensions and should best be kept short and not

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > Am I missing something ? Given the complexity of this, I would expect this to > be better documented in the sections explaining how `asyncio.subprocess` and > `threading` interact. The current documentation says: "To handle signals and to execute

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: By the way, asyncio doc is outdated: "The default asyncio event loop implementation on Windows does not support subprocesses. Subprocesses are available for Windows if a ProactorEventLoop is used. See Subprocess Support on Windows for details."

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I ran mp_hang.py on Windows 10 with Python 3.7.2: the script completes (it doesn't hang). The issue might be specific to VS Code (on Windows?). -- ___ Python tracker

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: bpo-35629 has been marked as a duplicate of this issue. -- ___ Python tracker ___ ___

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I suggest you to write: with multiprocessing.Pool(4) as pool: result = tuple(pool.imap(print, (1, 2, 3))) On Python 3.8, your example will now log a resource warning since you don't close/terminate explicitly the pool. -- nosy: +vstinner

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread Anthony Sottile
Anthony Sottile added the comment: If you see the bottom of my issue, I've suggested (nearly) the same thing -- though I require python2.x compatibility so I'm using `contextlib.closing` -- ___ Python tracker

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: test_eintr fails on AIX since fcntl functions were modified -> test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX ___ Python tracker

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Does the test pass if you open the file in read+write ("w+b") mode rather than write-only ("wb") mode? I'm talking about this line: open(support.TESTFN, 'wb') Note: if you want to test, you have the modify the mode twice: "with open('%s', 'wb') as f:" %

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: The issue is closed. If you want to change anything, please open a new issue. IMHO this issue is too long, it's better to start a fresh issue with up to date info, just mention this old issue: bpo-18747. -- ___

[issue35616] Change references to '4.0'.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I disagree. It's acceptable to break the C API in a minor release if the change has been properly promoted, documented, announced, etc. IMHO breaking the C API in 4.0 is going to send a bad signal to users. Multiple core developers asked multiple times to

[issue35616] Change references to '4.0'.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > One or two versions after using Py_DEPRECATED for all deprecated functions > (but not earlier than EOL of 2.7) we can make them issuing run-time warnings. Maybe we can experiment adding warnings only in development mode, when python3 -X dev is used? >

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > I'm using `contextlib.closing` Oh, I missed that: good! -- ___ Python tracker ___ ___

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Michael created bpo-35633: test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX. -- ___ Python tracker

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Previous discussion at: https://bugs.python.org/issue35189#msg332580 -- ___ Python tracker ___

[issue8538] Add FlagAction to argparse

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue since it seems like there are people requesting the feature. (I also removed myself from the issue, I'm not interested to implement it.) -- resolution: out of date -> status: closed -> open ___

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread Huazuo Gao
New submission from Huazuo Gao : import os import time from multiprocessing import Process p = Process(target=lambda:os.execlp('bash', 'bash', '-c', 'sleep 1.5')) t0 = time.time() p.start() p.join(0.1) print(time.time() - t0) --- Python 3.5 - 3.8 take 1.5 sec to finish Python 2.7 take 0.1

[issue35609] Improve of abc.py docstring

2019-01-04 Thread Emmanuel Arias
Emmanuel Arias added the comment: > No plan for removal. See https://bugs.python.org/issue28886#msg282582 Thanks! -- ___ Python tracker ___

[issue35655] documentation have wrong info about fibo module examples

2019-01-04 Thread Juan
New submission from Juan : The below sections in modules documentation have wrong information about fibo module: 6. Modules 6.1. More on Modules 6.1.1. Executing modules as scripts 6.3. The dir() Function The name of module is Fibo not fibo and the attributes are fab,fab2 not fib,fib2.

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: While the PR probably solves this - there is a 'bug' in pandas (I expect) that prevents me from completing the test - as, I expect LONG before the .cpp source is to be compiled - there is a error because a wrong flag is passed to the compiler

[issue35655] documentation have wrong info about fibo module examples

2019-01-04 Thread Christian Heimes
Christian Heimes added the comment: The documentation examples are not based on the 3rd party Fibo Python package. All examples are based on the short script https://docs.python.org/3/tutorial/modules.html?highlight=fibo#modules : For instance, use your favorite text editor to create a

[issue10948] Trouble with dir_util created dir cache

2019-01-04 Thread Malcolm Smith
Malcolm Smith added the comment: Please reopen this issue. The distutils2 project has now been abandoned, so that's no longer a justification for taking no action. At the very least, the documentation should be fixed to either warn about this surprising behavior, or make it clear that the

[issue35658] Reggie_Linear_Regression_Solution.ipynb devide by 10 diff with multiply by .1

2019-01-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: Not a bug. 0.1 is a binary floating point value, please read the FAQs: https://docs.python.org/3/faq/design.html#why-are-floating-point-calculations-so-inaccurate 1/10 = 0.1 in decimal cannot be represented *exactly* in binary floating point, so when you

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Nice optimization! I wanted to implement it, but then I forgot. -- ___ Python tracker ___ ___

[issue35654] Remove 'guarantee' that sorting only relies on __lt__ from sorting howto

2019-01-04 Thread Martijn Pieters
Martijn Pieters added the comment: Well, if this is indeed by design (and I missed the list.sort() reference) then I agree the HOWTO should not be changed! I'd be happy to change this to asking for more explicit mentions in the docs for sorted, heapq and bisect that using only < (__lt__) is

[issue35654] Remove 'guarantee' that sorting only relies on __lt__ from sorting howto

2019-01-04 Thread Martijn Pieters
Martijn Pieters added the comment: (I have no opinion on this having to be a language feature however) -- ___ Python tracker ___

[issue35656] More matchers in unittest.mock

2019-01-04 Thread Petter S
New submission from Petter S : The ``ANY`` object in ``unittest.mock`` is also pretty useful when verifying dicts in tests: self.assertEqual(result, { "message": "Hi!", "code": 0, "id": mock.ANY }) Then it does not matter what the (presumably randomly

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-04 Thread Emmanuel Arias
Emmanuel Arias added the comment: ping Vaibhav :-) > I would like to make a PR for this. -- nosy: +eamanu ___ Python tracker ___

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-04 Thread Vaibhav Gupta
Vaibhav Gupta added the comment: Hi Emmanuel Please go ahead and make a PR. :) -- ___ Python tracker ___ ___ Python-bugs-list

[issue35658] Reggie_Linear_Regression_Solution.ipynb devide by 10 diff with multiply by .1

2019-01-04 Thread Bart van den Donk
New submission from Bart van den Donk : possible_ms1 = [i*.1 for i in range(-100, 101, 1)] #your list comprehension here print(possible_ms1) possible_ms2 = [i/10 for i in range(-100, 101, 1)] #your list comprehension here print(possible_ms2) Multiply by .1 gives dirty results. Divide by 10

[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-04 Thread twisteroid ambassador
twisteroid ambassador added the comment: Oh wait, there's also this in asyncio docs for loop.sock_connect: Changed in version 3.5.2: address no longer needs to be resolved. sock_connect will try to check if the address is already resolved by calling socket.inet_pton(). If not,

[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-04 Thread twisteroid ambassador
twisteroid ambassador added the comment: I just noticed that in the socket module, an AF_INET address tuple is allowed to have an unresolved host name. Quote: A pair (host, port) is used for the AF_INET address family, where host is a string representing either a hostname in Internet domain

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
miss-islington added the comment: New changeset 902196d867a34cc154fa9c861c883e69232251c6 by Miss Islington (bot) in branch '3.7': bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) https://github.com/python/cpython/commit/902196d867a34cc154fa9c861c883e69232251c6

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: I don't know what triggered the change, but I strongly suspect this is not a supported use of the multiprocessing module; Process is for worker processes (still running Python), and it has a lot of coordination machinery set up between parent and child (for

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853, 10854, 10855, 10856, 10857, 10858 ___ Python tracker ___ ___ Python-bugs-list

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Kevin
Kevin added the comment: Ah. We always compile with GCC, so would not have hit that particular problem. -- ___ Python tracker ___

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think this can be closed now. Whether to merge doc-fix backport to now security-only 3.6 branch is up to Ned. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 31ec52a9afedd77e36a3ddc31c4c45664b8ac410 by Ivan Levkivskyi (Ville Skyttä) in branch 'master': bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396)

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10854, 10856 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10856, 10857, 10858 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853, 10854 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10856, 10857 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: Looks like the cause of the change was when os.pipe was changed to create non-inheritable pipes by default; if I monkey-patch multiprocessing.popen_fork.Popen._launch to use os.pipe2(0) instead of os.pipe() to get inheritable descriptors or just clear

[issue9305] Don't use east/west of UTC in date/time documentation

2019-01-04 Thread Ajay Mahato
Ajay Mahato added the comment: I would like to work on this issue. Please assign this to me. -- nosy: +Ajay Mahato ___ Python tracker ___

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Yash Aggarwal
Yash Aggarwal added the comment: @tim.peters Got it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19120] shlex.shlex.lineno reports a different number depending on the previous token

2019-01-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: There was a parameter `punctuation_chars` added to the shlex.shlex class with issue 1521950 (implemented for 3.6). Although the comma is not one of the default punctuation characters (setting the parameter to punctuation_chars=True won't change the

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Yash Aggarwal
Yash Aggarwal added the comment: @steven.daprano > Are you also providing a perm(n, k) function? I didn't know it is also being implemented. Should I start on that too? My implementation is based on these requirements: > - Spell it comb(n, k). > - TypeError if args aren't ints. > -

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Tim Peters
Tim Peters added the comment: Please resist pointless feature creep. The original report was about comb(n, k) for integer n and k with 0 <= k <= n and that's all. Everyone who commented appeared to agree they'd find that useful. But nobody has said they'd find generalizing beyond those

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: On 04/01/2019 17:08, Kevin wrote: > Kevin added the comment: > > Ah. We always compile with GCC, so would not have hit that particular problem. > > -- > > ___ > Python tracker > >

[issue35168] shlex punctuation_chars inconsistency

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> docs@python components: +Documentation -Library (Lib) keywords: +easy nosy: +docs@python stage: -> needs patch versions: -Python 3.6 ___ Python tracker

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: Further along - however, I never get to the "link" routine. Again, this is likely a pandas coding issue - currently python is calling xlc_r ..., but when I manually modify it to xlC_r I get the same error. xlc_r -D_LARGE_FILES -O -I/opt/include -O2

[issue35617] unittest discover does not work with implicit namespaces

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this is truly a duplicate, this should be closed and the issue number in the pr title changed to 23882. Any reviewer should look at both proposed fixes, as they are not the same. The other patch has what looks like the beginning of a test. --

[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: documentation of list, set & dict comprehension make no mention of buggy class scope behavior -> Comprehension doc doesn't mention buggy class scope behavior versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5, Python 3.6

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pitrou versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33896] Document what components make up the filecmp.cmp os.stat signature.

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python versions: -Python 3.6 ___ Python tracker ___

[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would not be better to just remove a backslash? -- nosy: +serhiy.storchaka ___ Python tracker ___

  1   2   >