[issue34086] logging.Handler.handleError regressed in python3

2018-07-31 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving the scrollwheel in either direction scrolls down, so I have to use the scrollbar once stuck on the bottom of the file. (The Macbook has no PageUp key.) For me, this is the most obnoxious bug. Tomorrow, I will add prints to the scroll event

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you! Adding update worked for calltip_w. Adding update to tooltip and copying tw.lift() # work around bug in Tk 8.5.18+ (issue #24570) from calltip worked for tooltip. (It seems the bug is still present. ;-) I will either patch these files

Re: How to start gnuradio

2018-07-31 Thread Ross Wilson
I had a paddle through the manual at https://www.gnuradio.org/doc/doxygen/page_python_blocks.html and apparently some DSP operations use numpy. Ross On Wed, 1 Aug 2018 at 11:56 wrote: > > > After some research I found out that "sudo apt-get install python-numpy" > solved the problem. > > Can

[issue34304] clarification on escaping \d in regular expressions

2018-07-31 Thread Saba Kauser
New submission from Saba Kauser : Hello, I have a program that works well upto python 3.6 but fails with python 3.7. import re pattern="DBMS_NAME: string(%d) %s" sym = ['\[','\]','\(','\)'] for chr in sym: pattern = re.sub(chr, '\\' + chr, pattern) print(pattern)

[issue34303] micro-optimizations in functools.reduce()

2018-07-31 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +8107 stage: -> patch review ___ Python tracker ___ ___

[issue34303] micro-optimizations in functools.reduce()

2018-07-31 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : `PyTuple_SetItem()` can be replaced with macro version and `PyObject_Call()` can be used instead of `PyEval_CallObject()`. Here's benchmark results: $ python -m perf timeit --compare-to ~/tmp/cpython-master-venv/bin/python -s "from functools import

[issue34269] logging in 3.7 behaves different due to caching

2018-07-31 Thread Vinay Sajip
Vinay Sajip added the comment: > But, seems like one has no public api to reinitialize logging to a like-fresh > state For the use case of testing, you could use a context manager approach as described here in the logging cookbook:

Re: How to start gnuradio

2018-07-31 Thread bengt . tornq
After some research I found out that "sudo apt-get install python-numpy" solved the problem. Can anyone clarify how python-numpy solves the problem? -- https://mail.python.org/mailman/listinfo/python-list

[issue25095] test_httpservers hangs since Python 3.5

2018-07-31 Thread Martin Panter
Martin Panter added the comment: I reproduced the problem on a Windows computer, and now understand why my "Content-Length: 0" suggestion isn't good enough on its own. It does solve the initial deadlock, but there is a further deadlock. The main thread is waiting for the server to shut down

[issue29502] Should PyObject_Call() call the profiler on C functions, use C_TRACE() macro?

2018-07-31 Thread INADA Naoki
INADA Naoki added the comment: FYI, _lsprof uses PyObject_Call() https://github.com/python/cpython/blob/ea68d83933e6de6cabfb115ec1b301947369/Modules/_lsprof.c#L120-L123 If PyObject_Call() trigger profiler, lsprof should avoid recursion. -- ___

Confused on git commit tree about Lib/datetime.py

2018-07-31 Thread Jeffrey Zhang
I found a interesting issue when checking the Lib/datetime.py implementation in python3 This patch is introduced by cf86e368ebd17e10f68306ebad314eea31daaa1e [0]. But if you check the github page[0], or using git tag --contains, you will find v2.7.x includes this commit too. $ git tag --contains

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-31 Thread Kevin Walzer
Kevin Walzer added the comment: Removing the call "self.grab_set" in configdialog.py (line 87 or so) and help_about.py (line 47 or so) appears to fix the problem with the main window freezing when the modal dialog is destroyed on macOS. "Grab" has never worked properly on Tk on the Mac, but

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-31 Thread Kevin Walzer
Kevin Walzer added the comment: With the attached patch, the calltip now displays in the test in calltips_w.py on macOS. As I suspected, a judicious call to "update" forces the event loop to cycle on macOS. It should be harmless on other platforms, but if it causes some sort of performance

[issue34298] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Seonggi Kim added the comment: Request PR again : https://bugs.python.org/issue34302 -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34302] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread ksg97031
New submission from ksg97031 : Source base : heads/master:b75d7e2435, Aug 1 2018, 10:32:28 $ cat test.py import timeit queue_setup = ''' from collections import deque q = deque() start = 10**5 stop = start + 500 for i in range(0, stop): q.append(i) ''' code = ''' index = q.index(30, 1,

[issue29502] Should PyObject_Call() call the profiler on C functions, use C_TRACE() macro?

2018-07-31 Thread ppperry
ppperry added the comment: issue30990 is related -- nosy: +ppperry ___ Python tracker ___ ___ Python-bugs-list mailing list

i have add mouse motion feature to turtle

2018-07-31 Thread Coding Kids
i have add mouse motion event to turtle i think it's an small but excellent imporovement and made turtle could create more interesting project for kids any possiblity add this feature to offical version?is so what a exciting things! -- https://mail.python.org/mailman/listinfo/python-list

[issue34298] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Seonggi Kim added the comment: Base commit : Python 3.8.0a0 (heads/master:b75d7e2435, Aug 1 2018, 10:32:28) $ test.py import timeit queue_setup = ''' from collections import deque q = deque() start = 10**5 stop = start + 500 for i in range(0, stop): q.append(i) ''' code = ''' index =

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9851227382431a40a138fdff994278d9e7743c74 by Victor Stinner in branch 'master': bpo-34170: Rename _PyCoreConfig.unbuffered_stdip (GH-8594) https://github.com/python/cpython/commit/9851227382431a40a138fdff994278d9e7743c74 --

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea68d83933e6de6cabfb115ec1b301947369 by Victor Stinner in branch 'master': bpo-34170: _PyCoreConfig_Read() defaults to argc=0 (GH-8595) https://github.com/python/cpython/commit/ea68d83933e6de6cabfb115ec1b301947369 --

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset a4d20b2e5ece2120f129cb4dda951a6c2461e92d by Victor Stinner in branch 'master': bpo-34170: Py_Main() updates config when setting Py_InspectFlag (GH-8593) https://github.com/python/cpython/commit/a4d20b2e5ece2120f129cb4dda951a6c2461e92d

[issue33499] Environment variable to set alternate location for pycache tree

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8106 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8105 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8104 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset b75d7e243512afcfb2285e6471262478383e09db by Victor Stinner in branch 'master': bpo-34170: Add _PyCoreConfig._frozen parameter (GH-8591) https://github.com/python/cpython/commit/b75d7e243512afcfb2285e6471262478383e09db --

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8103 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34301] Add _PyInterpreterState_Get() helper function

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8102 stage: -> patch review ___ Python tracker ___ ___

[issue34301] Add _PyInterpreterState_Get() helper function

2018-07-31 Thread STINNER Victor
New submission from STINNER Victor : Add _PyInterpreterState_Get() helper function: IMHO it's more explicit to call _PyInterpreterState_Get() than having to write PyThreadState_GET()->interp or PyThreadState_Get()->interp. -- components: Interpreter Core messages: 322827 nosy:

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 10.13.6 with 3.7.0, 'python3 -m idlelib.configdialog' in bash terminal runs configdialog unittests and brings up a human-verified test (htest) driver box with a ttk scrollbar whose slider does not stick. I has a dead zone beneath or above, but I wonder

Re: Python Console Menu

2018-07-31 Thread Juraj Papic via Python-list
Thanks for the links [image: cid:D5DA6341-AA78-4808-9639-F19B8AB3CBE8] *Juraj A. Papic* Arquitecto de Soluciones juraj.pa...@bghtechpartner.com Arias 1639/41. C1429DWA. Bs. As., Argentina. T. +54 11 5080-7400 M. +54 911 3445-6944 Skype juraj.papic www.bghtechpartner.com 2018-07-31

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with the tooltip modules (see #34275, msg322824), the dialog modules all have run-when-main test functions. Unittests are also run, before the human-verified test. python3 -m idlelib.searchbases fails in that the driver-box is not activated (lighted)

[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8101 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Peter Otten
Uri Even-Chen wrote: > Do you know what is the problem and why I receive these deprecation > warnings? I poked around a bit and found https://bugs.python.org/issue24134 Perhaps you can make sense of it (I can't). -- https://mail.python.org/mailman/listinfo/python-list

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-07-31 Thread Ionut Turturica
Change by Ionut Turturica : -- nosy: +jonozzz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Peter Otten
Uri Even-Chen wrote: > Hi, > > We are using unittest.TestCase.assertRaisesRegex in our Django project > (Speedy Net / Speedy Match - https://github.com/urievenchen/speedy-net), > and I always prefer calling Python function parameters by name. So we call > self.assertRaisesRegex with parameters

[issue28695] Add SSL_CTX_set_client_cert_engine

2018-07-31 Thread Bryan Hunt
Change by Bryan Hunt : -- nosy: +bryguy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34275] Problems with tkinter and tk8.6 on MacOS

2018-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE currently uses tooltips only for calltips describing a function's call signature. Within Lib/idlelib: calltip.py (renamed from calltips.py after the 3.7.0/3.6.6 release) has the logic for when to raise one and its content. calltip_w.py (which I intend

[issue34211] Cygwin build broken due to use of _Type in static declaration in _abc module

2018-07-31 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: For those who are not very aware of Cygwin issues: what is wrong with PyVarObject_HEAD_INIT(_Type, 0); -- nosy: +jdemeyer ___ Python tracker

[issue34299] argparse description formatting

2018-07-31 Thread Phillip M. Feldman
Phillip M. Feldman added the comment: That works. Thanks! I think that this boils down to a documentation issue. The following says that the default behavior is to line-wrap the help messages. At least to me, this doesn't imply that whitespace is getting eaten. RawDescriptionHelpFormatter

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-31 Thread Berker Peksag
Change by Berker Peksag : -- assignee: -> berker.peksag stage: -> needs patch type: -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue34248] dbm errors should contain file names

2018-07-31 Thread Zsolt Cserna
Zsolt Cserna added the comment: Alright, I created a PR for this. We will see if this can be merged to upstream or not. -- ___ Python tracker ___

[issue29400] Add instruction level tracing via sys.settrace

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34113] LLTRACE segv

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: Thanks Constantin Petrisor to fix and thanks Andrew Valencia for the bug report! It was the first time that I see a bug report on LLTRACE on the last 5 years, it seems like almost no one uses it. Likely because you need to compile Python manually (or find a

[issue34248] dbm errors should contain file names

2018-07-31 Thread Zsolt Cserna
Change by Zsolt Cserna : -- pull_requests: +8100 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34113] LLTRACE segv

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8ed317f1ca42a43df14282bbc3ccc0b5610432f4 by Victor Stinner (costypetrisor) in branch 'master': bpo-34113: Fix a crash when using LLTRACE is on (GH-8517) https://github.com/python/cpython/commit/8ed317f1ca42a43df14282bbc3ccc0b5610432f4

[issue33083] math.factorial accepts non-integral Decimal instances

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: >> Is it really important to accept integral float? > Possibly not, but acceptance of integral floats is deliberate, by-design, > tested behaviour, so it at least deserves a deprecation period if we're going > to get rid of it. Ok. Let's keep it in that

[issue34113] LLTRACE segv

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: By the way, see also bpo-25571. -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list

[issue22852] urllib.parse wrongly strips empty #fragment, ?query, //netloc

2018-07-31 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34248] dbm errors should contain file names

2018-07-31 Thread sds
sds added the comment: thanks for the patch. alas, I do not build python myself, so I cannot try it. -- ___ Python tracker ___ ___

[issue34248] dbm errors should contain file names

2018-07-31 Thread Zsolt Cserna
Zsolt Cserna added the comment: I've made a patch which works for me. >>> dbm.gnu.open("/tmp/z") Traceback (most recent call last): File "", line 1, in _gdbm.error: [Errno 2] No such file or directory: '/tmp/z' >>> Could you please give it a try? -- keywords: +patch

[issue33089] Add multi-dimensional Euclidean distance function to the math module

2018-07-31 Thread Mark Dickinson
Mark Dickinson added the comment: For the record, let me register my objection here. I'm not convinced by adding math.dist, and am surprised that this was committed. Almost all the discussion in this issue was about adding multi-argument hypot, which seems like an obviously useful building

ANN: Wing Python IDE version 6.1 released

2018-07-31 Thread Wingware
Hi, Wingware has just released Wing 6.1 , which adds PEP 8 reformatting, includes a How-To for Windows Subsystem for Linux, supports the Qt5Agg backend for matplotlib, allows configuring a path for code snippets, supports evaluating generator expressions

[issue33083] math.factorial accepts non-integral Decimal instances

2018-07-31 Thread Mark Dickinson
Mark Dickinson added the comment: [Victor] > Is it really important to accept integral float? Possibly not, but acceptance of integral floats is deliberate, by-design, tested behaviour, so it at least deserves a deprecation period if we're going to get rid of it. (I'm -0.0 on such a

[issue34300] gcc 7.3 causes a warning when compiling getpath.c in python 2.7

2018-07-31 Thread tzickel
tzickel added the comment: Changing Py_FatalError prototype to add: __attribute__((noreturn)) also stops the warning. -- ___ Python tracker ___

[issue34299] argparse description formatting

2018-07-31 Thread Zsolt Cserna
Zsolt Cserna added the comment: You would need to use the RawTextHelpFormatter as format_class for the constructor. In this case, argparse will apply no re-wrapping of the description. import argparse parser = argparse.ArgumentParser(description="""foo bar baz""",

unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Uri Even-Chen
Hi, We are using unittest.TestCase.assertRaisesRegex in our Django project (Speedy Net / Speedy Match - https://github.com/urievenchen/speedy-net), and I always prefer calling Python function parameters by name. So we call self.assertRaisesRegex with parameters (keyword arguments)

[issue29502] Should PyObject_Call() call the profiler on C functions, use C_TRACE() macro?

2018-07-31 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I always assumed that enabling profiling only from the Python bytecode interpreter was a deliberate choice. -- nosy: +jdemeyer ___ Python tracker

[issue34300] gcc 7.3 causes a warning when compiling getpath.c in python 2.7

2018-07-31 Thread tzickel
New submission from tzickel : When compiling on ubuntu 18.04 the 2.7 branch, I get this warning: gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux2:lib-tk:lib-old"' \

[issue34299] argparse description formatting

2018-07-31 Thread Phillip M. Feldman
New submission from Phillip M. Feldman : With `argparse`, I'm providing a triple-quoted string via the `description` argument of the constructor. When I invoke the script with the -h or --help argument, all formatting in the triple-quoted string is lost, i.e., all paragraphs are run

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-07-31 Thread Brett Cannon
Brett Cannon added the comment: Could be related to https://bugs.python.org/issue21446 . -- nosy: +berker.peksag ___ Python tracker ___

[issue34269] logging in 3.7 behaves different due to caching

2018-07-31 Thread Thomas Waldmann
Thomas Waldmann added the comment: I agree that we should not dig that deep into logging internals and clear that dict from borg code. But, seems like one has no public api to reinitialize logging to a like-fresh state, right? So maybe THAT is the real problem. Add some .reset() method to

Re: Python Console Menu

2018-07-31 Thread Jerry Hill
On Tue, Jul 31, 2018 at 12:31 PM juraj.papic--- via Python-list wrote: > I will check the links thanks for that tips, is there any page where I can > see more examples? I like Doug Hellmann's Python Module of the Week site for in-depth looks at particular modules (including subprocess). If

[issue34007] test_gdb fails in s390x SLES buildbots

2018-07-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New failure on s390x SLES 3.7: https://buildbot.python.org/all/#/builders/122/builds/540 -- ___ Python tracker ___

[issue34203] documentation: recommend Python 3 over 2 in faq

2018-07-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34298] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Raymond Hettinger
New submission from Raymond Hettinger : Please run some timings to show whether the improvement is significant. Also, please sign a CLA. -- components: +Library (Lib) -Extension Modules nosy: +rhettinger versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

[issue34298] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Change by Seonggi Kim : -- keywords: +patch pull_requests: +8098 stage: -> patch review ___ Python tracker ___ ___

[issue34298] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Change by Seonggi Kim : -- components: Extension Modules nosy: hacksg priority: normal severity: normal status: open title: Avoid inefficient way to find start point in deque.index type: enhancement versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

[issue34295] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: OP closed the PR. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue34297] Windows py.exe launcher fail to handle quote correctly

2018-07-31 Thread Francois Godin
Change by Francois Godin : -- type: -> behavior versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue34297] Windows py.exe launcher fail to handle quote correctly

2018-07-31 Thread Francois Godin
New submission from Francois Godin : Using double quote around the version argument will cause a failure. Ex (failure): "py.exe" "-3" "test.py" => run_child: about to run '3" "...\python.exe" "test.py"' => ...\python.exe: can't open file '3 test.py': [Errno 22] Invalid argument Removing the

[issue34295] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Raymond Hettinger
New submission from Raymond Hettinger : Can you run some timings to show the difference. Also, you need to sign a CLA. -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker

[issue34296] Speed up python startup by pre-warming the vm

2018-07-31 Thread Cyker Way
New submission from Cyker Way : I'm currently writing some shell tools with python3. While python can definitely do the job succinctly, there is one problem which made me feel I might have to switch to other languages or even pure bash scripts: python startup time. Shell tools are used very

[issue34295] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Change by Seonggi Kim : -- components: +Extension Modules -ctypes ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34295] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Change by Seonggi Kim : -- keywords: +patch pull_requests: +8097 stage: -> patch review ___ Python tracker ___ ___

[issue34295] Avoid inefficient way to find start point in deque.index

2018-07-31 Thread Seonggi Kim
Change by Seonggi Kim : -- components: ctypes nosy: hacksg priority: normal severity: normal status: open title: Avoid inefficient way to find start point in deque.index type: enhancement versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

[issue34294] re.finditer and lookahead bug

2018-07-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: ➜ cpython git:(70d56fb525) ✗ ./python.exe Python 3.7.0a2+ (tags/v3.7.0a2-341-g70d56fb525:70d56fb525, Jul 31 2018, 21:58:10) [Clang 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> ➜

Re: Python Console Menu

2018-07-31 Thread juraj.papic--- via Python-list
El martes, 31 de julio de 2018, 11:56:47 (UTC-3), Tcpip escribió: > Hi all, > > Im new with python, im working on a Python console Menu, I found some > examples on Git, but what I need to understand is how I can call a > subprocess. > > Here is an Example , > > if choice==1: > print

[issue33729] Hashlib/blake2* missing 'data' keyword argument

2018-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In case of int() the name of it's first argument was documented, in both the module documentation, and in interactive help. But the documented name of the first blake2b() argument was "data", and it never worked. Since help() was not worked for blake2b,

[issue34294] re.finditer and lookahead bug

2018-07-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34269] logging in 3.7 behaves different due to caching

2018-07-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34269] logging in 3.7 behaves different due to caching

2018-07-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Okay, I did some code search on GitHub for `logging.Logger.manager.loggerDict.clear()` (https://github.com/search?q=logging.Logger.manager.loggerDict.clear%28%29=Code) and there was some code in the test_logging where it was used in tearDown and

[issue34232] Python3.7.0 exe installers (32 and 64 bit) failing on Windows7

2018-07-31 Thread Wolfgang Maier
Wolfgang Maier added the comment: Oh, sorry, I didn't realize there was another file and it seems I did not keep it so I just ran the installer again to reproduce. Attached is the new pair of log files. -- Added file: https://bugs.python.org/file47722/Python 3.7.0

[issue34232] Python3.7.0 exe installers (32 and 64 bit) failing on Windows7

2018-07-31 Thread Wolfgang Maier
Change by Wolfgang Maier : Added file: https://bugs.python.org/file47723/Python 3.7.0 (64-bit)_20180731180657.log ___ Python tracker ___

[issue32947] Support OpenSSL 1.1.1

2018-07-31 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Yes test_poplib and test_ftplib on fedora rawhide when run against openssl 1.1.1 pre8. Haven't tried the pr7, but assuming that the tests were fine before here is the list of changes between pre7 and pre8:

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-31 Thread Chris Angelico
Chris Angelico added the comment: BTW, sorry for sounding a bit snippy in my comment. Jonathan, in future, rather than dropping someone an email, it'd be more normal to just ping the person on the issue itself. -- ___ Python tracker

[issue34237] faq/design: PEP 572 adds assignment expressions

2018-07-31 Thread Emily Morehouse
Emily Morehouse added the comment: This issue was brought to my attention -- I'm helping build the PEP 572 implementation. I'll make sure the docs get updated (and Jonathan, I didn't actually know that assignment expressions were mentioned in the FAQ, so this was still helpful!) --

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Chris Angelico
On Wed, Aug 1, 2018 at 1:28 AM, MRAB wrote: > On 2018-07-31 08:40, Robin Becker wrote: >> >> A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings >> for some reportlab code; the >> example boils down to the following >> >> ## >> C:\code\hg-repos\reportlab\tmp>cat

[issue29036] logging module: Add `full_module_name` to LogRecord details

2018-07-31 Thread Vinay Sajip
Vinay Sajip added the comment: If you use the recommended approach of using logger = logging.getLogger(__name__), then the logger's name (the name field in the LogRecord) will be the full module path. -- ___ Python tracker

[issue34269] logging in 3.7 behaves different due to caching

2018-07-31 Thread Vinay Sajip
Vinay Sajip added the comment: Well, loggerDict is an internal implementation detail which shouldn't be directly called by the code in borgbackup. Hence I'm not sure you can call it a bug. When messing around with internals of objects, caveats apply. Note that loggerDict isn't mentioned in

[issue34244] Add support of check logger

2018-07-31 Thread Vinay Sajip
Vinay Sajip added the comment: What is your use case? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24218] Also support SMTPUTF8 in smtplib's send_message method.

2018-07-31 Thread Jens Troeger
Jens Troeger added the comment: > Well, posting on a closed issue is generally not the best way :) Fair enough ;) > The multiple carriage returns is a bug, and there is an open issue for it, > though I'm not finding it at the moment. Oh good, yes that should be fixed! My current

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-31 Thread Yury Selivanov
Yury Selivanov added the comment: Merged. Thank you, hope that you'll keep contributing! :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-31 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 6f16ffc1879fc934eba297b3e81bd940e32a7e03 by Yury Selivanov (Miss Islington (bot)) in branch '3.6': [3.6] bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532) (GH-8587)

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread MRAB
On 2018-07-31 08:40, Robin Becker wrote: A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings for some reportlab code; the example boils down to the following ## C:\code\hg-repos\reportlab\tmp>cat tb.py if __name__=='__main__': d={'a':1} d[b'a'] =

[issue34263] asyncio: "relative *delay* or absolute *when* should not exceed one day"

2018-07-31 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 172a81e42bc30da1bd4027db9cd3b6172469f7fe by Yury Selivanov (Miss Islington (bot)) in branch '3.7': [3.7] bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532) (GH-8586)

[issue34035] Several AttributeError in zipfile seek() methods

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: Note: the seek() method has been added by bpo-22908 (commit 066df4fd454d6ff9be66e80b2a65995b10af174f), and Python 3.6 is not affected. -- nosy: +vstinner ___ Python tracker

[issue34125] Profiling depends on whether **kwargs is given

2018-07-31 Thread STINNER Victor
STINNER Victor added the comment: I opened a wider discussion: bpo-29502. The discussion didn't go anywhere yet. -- nosy: +vstinner ___ Python tracker ___

RE: Python Console Menu

2018-07-31 Thread David Raymond
Take a look at the subprocess module for how to "spawn new processes, connect to their input/output/error pipes, and obtain their return codes." https://docs.python.org/2/library/subprocess.html -Original Message- From: Python-list

Python Console Menu

2018-07-31 Thread Tcpip via Python-list
Hi all, Im new with python, im working on a Python console Menu, I found some examples on Git, but what I need to understand is how I can call a subprocess. Here is an Example , if choice==1: print "Test SSH Connection (check ssh to all hosts)" ## You can add your code or

  1   2   >