[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-23 Thread Yury Selivanov
Yury Selivanov added the comment: > Is the problem because traceback_extract_stack is NULL? It's not NULL, it's just a broken reference at that point. -- ___ Python tracker

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
New submission from William Grzybowski : Hello, Currently the GIL is not disabled when calling pwd.getpwnam nor pwd.getpwuid. It could be the C library call may take some time for completion, especially when using third-party modules on the system (nss-ldap, nss-pgsql,

[issue33618] Support TLS 1.3

2018-05-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 529525fb5a8fd9b96ab4021311a598c77588b918 by Christian Heimes in branch 'master': bpo-33618: Enable TLS 1.3 in tests (GH-7079) https://github.com/python/cpython/commit/529525fb5a8fd9b96ab4021311a598c77588b918 --

[issue33618] Support TLS 1.3

2018-05-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +6713 ___ Python tracker ___

Re: best way to remove leading zeros from a tuple like string

2018-05-23 Thread Dan Stromberg
On Sun, May 20, 2018 at 12:54 PM, wrote: > Lets say I have the following tuple like string. > (128, 020, 008, 255) > > What is the best way to to remove leading zeroes and end up with the > following. > (128, 20, 8, 255)-- I do not care about spaces > > This

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Steve Dower
Steve Dower added the comment: Okay, I'll take a look now. -- ___ Python tracker ___

Re: how to get INDEX count, or last number of Index

2018-05-23 Thread asa32sd23
On Wednesday, May 23, 2018 at 5:56:26 PM UTC-4, Rob Gaddi wrote: > On 05/23/2018 02:51 PM, asa32s...@gmail.com wrote: > > s = "kitti" > > > > 0,1,2,3,4 > > k,i,t,t,i > > > > how do i retrieve '4'. i know i can do a len(s)-1, but i assume there is a > > function that gives me last number of

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Ned Deily added the comment: Steve: just a minute ago, zware out the win8.1 bot's repo and restarted a 3.7 build. -- ___ Python tracker

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Ned Deily added the comment: er, "cleaned out" -- ___ Python tracker ___ ___

[issue25612] nested try..excepts don't work correctly for generators

2018-05-23 Thread Ned Deily
Ned Deily added the comment: New changeset 508d7693bc09affd99fdaa4a321cc3da0638c8a0 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread Ned Deily
Ned Deily added the comment: New changeset 508d7693bc09affd99fdaa4a321cc3da0638c8a0 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
Change by William Grzybowski : -- keywords: +patch pull_requests: +6711 stage: -> patch review ___ Python tracker ___

[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then we should find what callable is NULL and fix the place where it is called. _PyObject_FastCallDict() should never be called with NULL. -- ___ Python tracker

RE: "Data blocks" syntax specification draft

2018-05-23 Thread Schachner, Joseph
I understand that the /// data representation is meant to emphasize data structure (and de-emphasize existing Python syntax for that purpose). It's already been discussed that Python can export to pickle format, JSON, csv, XML and possibly others I can't think of right now. So having a data

Re: Indented multi-line strings

2018-05-23 Thread MRAB
On 2018-05-23 19:36, Mikhail V wrote: On Wed, May 23, 2018 at 8:08 PM, Mikhail V wrote: On Wed, May 23, 2018 at 4:19 PM, Dan Strohl wrote: data = /// sN # and data = /// tN Where N - is the amount of characters, spaces (s) or tabs (t). This

Re: Indented multi-line strings

2018-05-23 Thread Bob van der Poel
On Wed, May 23, 2018 at 1:45 PM, MRAB wrote: > On 2018-05-23 19:36, Mikhail V wrote: > >> On Wed, May 23, 2018 at 8:08 PM, Mikhail V wrote: >> >>> On Wed, May 23, 2018 at 4:19 PM, Dan Strohl wrote: >>> >> >> data = /// sN

Re: how to get INDEX count, or last number of Index

2018-05-23 Thread asa32sd23
On Wednesday, May 23, 2018 at 5:51:42 PM UTC-4, asa3...@gmail.com wrote: > s = "kitti" > > 0,1,2,3,4 > k,i,t,t,i > > how do i retrieve '4'. i know i can do a len(s)-1, but i assume there is a > function that gives me last number of index > > thanks thanks, it seems just a len(s) -1 is the

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-23 Thread David Bolen
David Bolen added the comment: The win7 builder isn't on Azure, so changing host type isn't an option at the moment. For my part, I'd prefer removing the largefile tests for that one rather than increasing timeout. The tests generate a huge amount of I/O, so my guess is

[issue33618] Support TLS 1.3

2018-05-23 Thread Ned Deily
Ned Deily added the comment: As long as it doesn't break 1.0.2 and 1.1.0 support, sure :) -- ___ Python tracker ___

[issue33609] Document that dicts preserve insertion order

2018-05-23 Thread Ned Deily
Ned Deily added the comment: I agree with Yury's suggestions; the entry in the "Dictionary view objects" section, that Cheryl points to, is not sufficient. Is somebody willing to write a PR? -- priority: normal -> high stage: -> needs patch type: enhancement ->

[issue33618] Support TLS 1.3

2018-05-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 72ef4fc32b354f8e56eec64f4c15ac2e07d118be by Christian Heimes (Miss Islington (bot)) in branch '3.7': [3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)

Re: Getting Unicode decode error using lxml.iterparse

2018-05-23 Thread Peter Otten
digi...@gmail.com wrote: > I'm trying to read my iTunes library in Python using iterparse. My current > stub is: > parser.add_argument('infile', nargs='?', > type=argparse.FileType('r'), default=sys.stdin) > I'm getting an error on one part of the XML: > > > File

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Ned Deily added the comment: (for example, http://buildbot.python.org/all/#/builders/133/builds/251 ) -- ___ Python tracker ___

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: test_mmap.test_large_offset() failed on x86 Windows7 3.7: http://buildbot.python.org/all/#/builders/111/builds/265 David Bolen: do you prefer to upgrade the VM to a faster account on Azure, or change the timeout? 0:41:01 [144/415/1]

[issue33618] Support TLS 1.3

2018-05-23 Thread Christian Heimes
Christian Heimes added the comment: Yes, if that's ok with you. It's only documentation and test updates. -- ___ Python tracker ___

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

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe we will need to return to this issue in future and merge Inada's patch. IPython has been needed to add a workaround for this change. [1] And maybe Python will be needed to add that workaround if once it will add the

[issue33618] Support TLS 1.3

2018-05-23 Thread Christian Heimes
Christian Heimes added the comment: Tests with 1.0.2o and 1.1.0h are passing. -- ___ Python tracker ___

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-05-23 Thread Dan Stromberg
On Sat, May 19, 2018 at 3:58 PM, wrote: > On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminarayanan wrote: >> > It does auto-detect it as cp1252- look at the files in the traceback and >> > you'll see lib\encodings\cp1252.py. Since cp1252 seems to be the

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: Mark Shannon, the author of the assertion, approved my PR to remove the assertion: https://github.com/python/cpython/pull/7069#issuecomment-391342700 The initial issue, the failing assertion, has been fixed. Well, to be honest, I failed

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Ned Deily added the comment: > All the critical builds should forcibly rebuild it, so this isn't urgent, but > I'll take a look next time I get a chance to work on the build files. It's more than a *bit* urgent since it is causing one of the 3.7 stable buildbots to fail to

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue33605] Detect accessing event loop from a different thread outside of _debug

2018-05-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Heh, should we sacrifice performance? Documentation for asyncio explicitly states that the only safe interthreading call is `call_soon_threadsafe()`. If people use multithreaded environments with asyncio (Why? Usually

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-23 Thread Michael Selik
Michael Selik added the comment: I changed the PR to simply replace OrderedDict with dict. For the docs warnings, if I'm understanding correctly, those should be separate pulls for older branches? -- ___ Python tracker

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-23 Thread Eric Snow
Eric Snow added the comment: FTR, this started happening after the following commit: commit 6d2cd9036c0ab78a83de43d1511befb7a7fc0ade Author: Eric Snow Date: Wed May 16 15:04:57 2018 -0400 bpo-32604: Improve subinterpreter tests.

Re: how to get INDEX count, or last number of Index

2018-05-23 Thread bartc
On 23/05/2018 22:51, asa32s...@gmail.com wrote: s = "kitti" 0,1,2,3,4 k,i,t,t,i how do i retrieve '4'. i know i can do a len(s)-1, but i assume there is a function that gives me last number of index Not for that trivial task. But you can create your own: def upb(x): return len(x)-1 #

[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is the problem because traceback_extract_stack is NULL? But this will not fix the problem completely. For example calling repr() on a future can crash because of asyncio_future_repr_info_func == NULL. And many other operations

[issue33618] Support TLS 1.3

2018-05-23 Thread Ned Deily
Ned Deily added the comment: > Ned, Benjamin, are you OK with that? Just to be clear, you wish to merge a backport of PR 7079 for 3.7.0rc1? -- ___ Python tracker

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread Christian Heimes
Christian Heimes added the comment: Since your patch is a bug fix, it can be back-ported to 2.7 and 3.6/3.7. -- nosy: +christian.heimes type: -> behavior versions: +Python 2.7, Python 3.7, Python 3.8 ___ Python tracker

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-05-23 Thread Chris Angelico
On Thu, May 24, 2018 at 6:48 AM, Dan Stromberg wrote: > On Sat, May 19, 2018 at 3:58 PM, wrote: >> On Thursday, 29 January 2009 12:09:29 UTC-5, Anjanesh Lekshminarayanan >> wrote: >>> > It does auto-detect it as cp1252- look at the files in the

Re: decorat{or,ion}

2018-05-23 Thread Mike McClain
On Mon, May 21, 2018 at 09:11:02AM +0200, dieter wrote: < lots if good info snipped > Hi dieter, I'm still working my way through the info you posted and making sense of it (mostly) but didn't want to wait any longer to say 'Thanks.' Thanks, Mike -- Even duct tape can't fix stupid ... But it

Re: how to get INDEX count, or last number of Index

2018-05-23 Thread Rob Gaddi
On 05/23/2018 02:51 PM, asa32s...@gmail.com wrote: s = "kitti" 0,1,2,3,4 k,i,t,t,i how do i retrieve '4'. i know i can do a len(s)-1, but i assume there is a function that gives me last number of index thanks Not sure I'm following your question; len(s)-1 is much faster than enumerating

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: Alexander Mohr reported a memory leak in his code using botocore (Python client for Amazon S3): bpo-33565. His code emited ResourceWarning, but these warnings are ignored by default. The link between ignored warnings and a memory leak is

how to get INDEX count, or last number of Index

2018-05-23 Thread asa32sd23
s = "kitti" 0,1,2,3,4 k,i,t,t,i how do i retrieve '4'. i know i can do a len(s)-1, but i assume there is a function that gives me last number of index thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Ian Kelly
On Wed, May 23, 2018 at 12:49 AM, Steven D'Aprano wrote: > On Tue, 22 May 2018 09:43:55 -0600, Ian Kelly wrote: > >> In other words, the rule is not really as simple as "commas make >> tuples". I stand by what I wrote. > > Being pedantic is great, but if

[issue33330] Better error handling in PyImport_Cleanup()

2018-05-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6696 ___ Python tracker ___ ___

[issue33330] Better error handling in PyImport_Cleanup()

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue because I created the PR 7068 to propose further checks (in debug mode). -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner ___ Python tracker ___ ___

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: 11. Use read-only Text instead of Label for context. Text.index(f'@{e.x},{e.y}', where e is event, converts mouse click to line number. That can be mapped to text line number for 8. above. Text also enables 12. If context box is too short

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread Antoine Pitrou
Change by Antoine Pitrou : -- priority: normal -> critical ___ Python tracker ___ ___

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: The assertion has been added by bpo-25612: commit ae3087c6382011c47db82fea4d05f8bbf514265d Author: Mark Shannon Date: Sun Oct 22 22:41:51 2017 +0100 Move exc state to generator. Fixes bpo-25612 (#1773) Move

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-23 Thread s
New submission from s : Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' ### Process: Python [1889] Path:

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : I got the following output when run tests in the huntrleaks mode. $ ./python -We -m test -R 3:3 -x test_builtin -x test_urlparse ... 1:24:54 load avg: 2.48 [225/414] test_multiprocessing_fork beginning 6 repetitions 123456

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: Failing assertion: /* The stack of exception states should contain just this thread. */ assert(tstate->exc_info->previous_item == NULL); "test_multiprocessing_fork passed in 9 min 13 sec" Oh. A child process crashed on "self.pid

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: Note: I found this bug while working on bpo-33612. -- ___ Python tracker ___

[issue33565] strange tracemalloc results

2018-05-23 Thread Alexander Mohr
Alexander Mohr added the comment: INADA Naoki: Unfortunately you'll need to use credentials from a free AWS account: https://aws.amazon.com/free/. Then create a credentials file in ~/.aws/credentials:

[issue26826] Expose new copy_file_range() syscall in os module.

2018-05-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This is a great addition. I have a working patch adding sendfile() support for shutil.copyfileobj() which speeds it up by a factor of 1.3x on Linux. According to this

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Comments, suggestions are welcome. > nice effort well as far as i've seen, it is more suited as a data standard than a direct python integration why? same as why do we write .json files, xml files, csv files apart as, in-source you

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-33613: "test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error". I don't think that it's directly related. -- ___ Python tracker

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-05-23 Thread STINNER Victor
New submission from STINNER Victor : test_semaphore_tracker_sigint() emits a warning. If the test is run with -W error, the test fails. vstinner@apu$ ./python -m test test_multiprocessing_fork -v -m test_semaphore_tracker_sigint (...) test_semaphore_tracker_sigint

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: > Maybe, your Python installation is broken, or you have wrong PYTHONPATH > envvar. We should maybe dump sys.path into stderr on the specific "unable to load the file system codec" error. -- nosy: +vstinner

[issue19251] bitwise ops for bytes of equal length

2018-05-23 Thread Matthias Gilch
Change by Matthias Gilch : -- nosy: +MGilch ___ Python tracker ___ ___

[issue26826] Expose new copy_file_range() syscall in os module.

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: > As for the patch attached to this ticket, is there anything missing in order > to push it forward? IMHO the next step would be to create a pull request on GitHub. -- ___ Python tracker

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-23 Thread INADA Naoki
INADA Naoki added the comment: It seems not a bug of Python. Maybe, your Python installation is broken, or you have wrong PYTHONPATH envvar. -- nosy: +inada.naoki ___ Python tracker

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Chris Angelico
On Wed, May 23, 2018 at 3:32 PM, Christian Gollwitzer wrote: > Am 23.05.18 um 07:22 schrieb Chris Angelico: >> >> On Wed, May 23, 2018 at 9:51 AM, bartc wrote: >>> >>> Sorry, but I don't think you're right at all. unless the official >>> references >>> for the

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Marko Rauhamaa
Christian Gollwitzer : > I'd think that the definitive answer is in the grammar, because that is > what is used to build the Python parser: > > https://docs.python.org/3/reference/grammar.html > > Actually, I'm a bit surprised that tuple, list etc. does not appear > there

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Steven D'Aprano
On Tue, 22 May 2018 09:43:55 -0600, Ian Kelly wrote: > In other words, the rule is not really as simple as "commas make > tuples". I stand by what I wrote. Being pedantic is great, but if you're going to be pedantic, it pays to be *absolutely correctly* pedantic *wink* Chris is right to say

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Ian Kelly
On Wed, May 23, 2018 at 12:01 AM, Ian Kelly wrote: > On Tue, May 22, 2018 at 11:32 PM, Christian Gollwitzer > wrote: >> Am 23.05.18 um 07:22 schrieb Chris Angelico: >>> >>> On Wed, May 23, 2018 at 9:51 AM, bartc wrote: Sorry,

Re: Getting Unicode decode error using lxml.iterparse

2018-05-23 Thread dieter
digi...@gmail.com writes: > I'm trying to read my iTunes library in Python using iterparse. My current > stub is: > ... > My input file (reduced to home in on the error) is: > > snip - > > > > > > 15078 > > NamePart 2. The

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Steven D'Aprano
On Tue, 22 May 2018 18:51:30 +0100, bartc wrote: > On 22/05/2018 15:25, Chris Angelico wrote: [...] >> The tuple has nothing to do with the parentheses, except for the >> special case of the empty tuple. It's the comma. > > No? Take these: > > a = (10,20,30) > a = [10,20,30] > a =

Re: "Data blocks" syntax specification draft

2018-05-23 Thread Ian Kelly
On Tue, May 22, 2018 at 11:32 PM, Christian Gollwitzer wrote: > Am 23.05.18 um 07:22 schrieb Chris Angelico: >> >> On Wed, May 23, 2018 at 9:51 AM, bartc wrote: >>> >>> Sorry, but I don't think you're right at all. unless the official >>> references >>> for the

Re: Spam levels.

2018-05-23 Thread dieter
"Peter J. Holzer" writes: > ... > I didn't read on Gmane. I read on my usenet server. But the broken > messages were all coming from Gmane. I am reading with an NNTP client connected to the Gmane NNTP server and and threading works - with very rare exceptions. The exeptions

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-05-23 Thread Steven D'Aprano
On Wed, 23 May 2018 00:31:03 +0200, Peter J. Holzer wrote: > On 2018-05-23 07:38:27 +1000, Chris Angelico wrote: [...] >> You can find an encoding which is capable of decoding a file. That's >> not the same thing. > > If the result is correct, it is the same thing. But how do you know what is

Re: Tkinter and root vs. Wayland

2018-05-23 Thread Terry Reedy
On 5/22/2018 5:52 PM, Grant Edwards wrote: For a couple decades now, I've been distributing a couple smallish Tkinter applications that need to run as root for a variety of reasons (raw Ethernet access, starting/stopping daemons, loading and unloading kernel modules, reading and writing config

Re: Indented multi-line strings

2018-05-23 Thread Mikhail V
On Wed, May 23, 2018 at 11:56 PM, Bob van der Poel wrote: > On Wed, May 23, 2018 at 1:45 PM, MRAB wrote: > >> If you want additional indentation, then provide a string literal: >> >> def func(): >> foobar >> data = >> '': >> first

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-05-23 Thread Ned Deily
Ned Deily added the comment: > Is there then no pathway for actually fixing the bug? aka how can I get > `required=True` to be the default. There may very well be but, unfortunately, dealing with this newly-identified 3.x compatibility issue takes precedence for 3.7.0. In

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-23 Thread Ned Deily
Ned Deily added the comment: The same intermittent failure was seen on the ARMv7 Ubuntu 3.7 builder: http://buildbot.python.org/all/#/builders/117/builds/314/steps/4/logs/stdio 0:00:36 load avg: 5.14 [ 48/415/1] test_numeric_tower crashed (Exit code -11) -- running:

[issue32493] UUID Module - FreeBSD build failure

2018-05-23 Thread Ned Deily
Ned Deily added the comment: This problem is still unresolved and causing buildbot failures. It really should be fixed before we tag 3.7.0rc1. Serhiy, could you take a look at it, please? Thanks! http://buildbot.python.org/all/#/builders/87/builds/1014/steps/4/logs/stdio

Re: how to get INDEX count, or last number of Index

2018-05-23 Thread Terry Reedy
On 5/23/2018 8:46 PM, bartc wrote: On 24/05/2018 00:44, Terry Reedy wrote: On 5/23/2018 5:56 PM, Rob Gaddi wrote: On 05/23/2018 02:51 PM, asa32s...@gmail.com wrote: s = "kitti" 0,1,2,3,4 k,i,t,t,i how do i retrieve '4'. i know i can do a len(s)-1, Use -1, which is the same as len(s)-1 but

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-23 Thread Ned Deily
Ned Deily added the comment: That Windows8.1 buildbot sure keeps busy with all those builders assigned to it :) Those refleaks builds take a *long* time! http://buildbot.python.org/all/#/workers/11 But I see at least one builder has made it through successfully and no

Re: how to return last condition if other 2 not met?

2018-05-23 Thread asa32sd23
On Wednesday, May 23, 2018 at 8:55:59 PM UTC-4, MRAB wrote: > On 2018-05-24 00:57, asa32s...@gmail.com wrote: > > i want to check/return for 3 conditions, it loops shortest str and finds > > diff in other > > 1. if difference is immediate before end of range, return index, exit > > 2. if string

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread miss-islington
miss-islington added the comment: New changeset 935c81bbbca28ca23862d7ee1f79cd502e447edd by Miss Islington (bot) in branch '3.6': bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread miss-islington
miss-islington added the comment: New changeset b2ab5dc72b36d074a86f2b1d91ae804e5a7210f8 by Miss Islington (bot) in branch '3.7': bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-23 Thread Ned Deily
Ned Deily added the comment: Update: we flubbed the first attempt at altering the Windows7 buildbot config and, at the moment, I'm waiting for the fix for that to get manually copied to the buildbot. -- ___ Python tracker

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-23 Thread s
s added the comment: Guys, First of all - thank you for accepting it and trying to fix it. I lost two days attempting to resurrect python3 on my laptop and ended up with uninstalling it and restoring python 2.7.10. I agree (and I think it is separate and well known python's

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems there are 2 or 3 different bugs here. Race condition, using freed memory, and maybe something other. I take this. -- assignee: -> serhiy.storchaka type: -> behavior ___ Python

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-05-23 Thread Ned Deily
Ned Deily added the comment: Since this is just an intermittent test failure and we have lived with it this long, I think it can wait for 3.7.1 at this point. Downgrading to "critical". -- priority: deferred blocker -> critical

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Because I don't want that this fix be missed in the next bugfix release. I think this documentation is important enough. There may be no chance to document it later. -- ___ Python

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is \udcdb\udcdb\udcdb...? Looks like a corrupted memory. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32493] UUID Module - FreeBSD build failure

2018-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I will be busy next few hours, but will take this issue as soon as I can. However I do not promise the result. -- ___ Python tracker

[issue32947] Support OpenSSL 1.1.1

2018-05-23 Thread Ned Deily
Ned Deily added the comment: Christian, I'm not sure how this issue now differs from Issue33618 (and whether it can be closed as a duplicate) but, with the delay in OpenSSL 1.1.1 and as discussed over there, full 1.1.1 support will have to wait for 3.7.1 et al so I'm

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-23 Thread Ned Deily
Ned Deily added the comment: Thanks, David. Yes, I think disabling "largefile" tests on that buildbot makes the most sense. We're working on it. -- nosy: +ned.deily ___ Python tracker

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread STINNER Victor
Change by STINNER Victor : -- title: Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW -> [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW ___ Python tracker

[issue33627] test_numeric_tower.test_complex() crashed on

2018-05-23 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/88/builds/1044 0:07:59 load avg: 1.58 [107/416/1] test_numeric_tower crashed (Exit code -11) Fatal Python error: Segmentation fault Current thread 0x405c4dc0 (most recent call first): File

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread Larry Hastings
Larry Hastings added the comment: Documentation changes are okay. -- ___ Python tracker ___

[issue33627] test_numeric_tower.test_complex() crashed on x86 Ubuntu Shared 3.x

2018-05-23 Thread STINNER Victor
Change by STINNER Victor : -- components: +Tests title: test_numeric_tower.test_complex() crashed on -> test_numeric_tower.test_complex() crashed on x86 Ubuntu Shared 3.x type: -> crash versions: +Python 3.8 ___ Python tracker

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread STINNER Victor
STINNER Victor added the comment: If the issue is specific to Python 3.5, we can no longer fix it since 3.5 doesn't accept bugfixes anymore. No? -- nosy: +vstinner ___ Python tracker

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-23 Thread Larry Hastings
Larry Hastings added the comment: Serhiy, why did you mark this as a release blocker? This is a proposed documentation fix. -- priority: release blocker -> low ___ Python tracker

[issue33628] IDLE: Code cleanup on codecontext

2018-05-23 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +6718 stage: -> patch review ___ Python tracker ___

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-23 Thread Cheryl Sabella
Cheryl Sabella added the comment: For item 2 - #33628 -- dependencies: +IDLE: Code cleanup on codecontext ___ Python tracker

  1   2   3   >