[issue33743] test_asyncio raises a deprecation warning

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -We -m test -v -m test__register_task_3 test_asyncio
...
==
ERROR: test__register_task_3 (test.test_asyncio.test_tasks.CIntrospectionTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_asyncio/test_tasks.py", line 
2616, in test__register_task_3
self.assertEqual(asyncio.Task.all_tasks(loop), {task})
PendingDeprecationWarning: Task.all_tasks() is deprecated, use 
asyncio.all_tasks() instead

==
ERROR: test__register_task_3 (test.test_asyncio.test_tasks.PyIntrospectionTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_asyncio/test_tasks.py", line 
2616, in test__register_task_3
self.assertEqual(asyncio.Task.all_tasks(loop), {task})
PendingDeprecationWarning: Task.all_tasks() is deprecated, use 
asyncio.all_tasks() instead

--

And the test is failed if run with -We.

--
components: Tests
messages: 318524
nosy: asvetlov, giampaolo.rodola, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: test_asyncio raises a deprecation warning
type: behavior
versions: Python 3.7, Python 3.8

___
Python tracker 

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



[issue33712] OrderedDict can set an exception in tp_clear

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +6975
stage:  -> patch review

___
Python tracker 

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



[issue30516] Documentation for datetime substract operation incorrect?

2018-06-03 Thread Farhaan Bukhsh


Change by Farhaan Bukhsh :


--
keywords: +patch
pull_requests: +6974
stage: needs patch -> patch review

___
Python tracker 

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



[issue33742] Unsafe memory access in PyStructSequence_InitType

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Could you please provide a C code that reproduces the crash?

--
components: +Interpreter Core
nosy: +serhiy.storchaka
versions: +Python 3.8 -Python 3.5

___
Python tracker 

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



[issue33274] minidom removeAttributeNode returns None

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Please add a test and document the new feature (add a versionchanged directive 
in the module documentation, add a news entry and an entry in What's New).

--
nosy: +serhiy.storchaka
stage:  -> test needed

___
Python tracker 

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



[issue5945] PyMapping_Check returns 1 for lists

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Are these changes enough? Can this issue be closed now?

--

___
Python tracker 

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



[issue33725] High Sierra hang when using multi-processing

2018-06-03 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

Antoine, the issue is not necessarily related to POSIX compliance, AFAIK 
strictly POSIX compliant code should work just fine. The problem is in 
higher-level APIs (CoreFoundation, Foundation, AppKit, ...), and appears to be 
related to using multi-threading in those libraries without spending effort on 
pre/post fork handlers to ensure that new processes are in a sane state after 
fork().  In older macOS versions this could result in hard to debug issues, in 
newer versions APIs seem to guard against this by aborting when the detect that 
the pid changed.

Anyways... I agree that we shouldn't try to work around this in CPython, 
there's bound to more problems that are hidden with the proposed workaround.

---


 describes what the environment variable does, and this "just" changes behavior 
of the ObjC runtime, and doesn't make using macOS system frameworks after a 
fork saver.

--

___
Python tracker 

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



[issue33725] High Sierra hang when using multi-processing

2018-06-03 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

@Ned: In the long run the macOS installers should be build using the latest 
SDK, primarily to get full API coverage and access to all system APIs.

AFAIK building using the macOS 10.9 SDK still excludes a number of libSystem 
APIs that would be made available through the posix module when building with a 
newer SDK. 

That's something that would require some effort though to ensure that the 
resulting binary still works on older versions of macOS (basically similar to 
the work I've done in the post to weak link some other symbols in the posix 
module).

--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

Separate tests in test_uu leak files of depend on the file leaked in other 
tests.

$ ./python -m test -m test_decode test_uu 
...
Warning -- files was modified by test_uu
  Before: []
  After:  ['@test_12637_tmpi'] 
test_uu failed (env changed)

$ ./python -m test -m test_decode_filename test_uu
...
Warning -- files was modified by test_uu
  Before: []
  After:  ['@test_12627_tmpi'] 
test_uu failed (env changed)

$ ./python -m test -m test_decodetwice test_uu
...
test test_uu failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_uu.py", line 263, in 
test_decodetwice
f = open(self.tmpin, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '@test_12622_tmpi'

--
assignee: serhiy.storchaka
components: Tests
messages: 318530
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix and improve tests for the uu module
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +6977
stage:  -> patch review

___
Python tracker 

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



[issue28962] Crash when throwing an exception with a malicious __hash__ override

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
superseder:  -> traceback module can't format/print unhashable exceptions

___
Python tracker 

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



[issue28962] Crash when throwing an exception with a malicious __hash__ override

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

It was fixed in issue28603.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue18533] Avoid error from repr() of recursive dictview

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue32584] Uninitialized free_extra in code_dealloc

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy: +brett.cannon
priority: normal -> high
versions: +Python 3.6, Python 3.8

___
Python tracker 

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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-03 Thread Ned Batchelder


New submission from Ned Batchelder :

I'm not sure if this is a regression or an intentional change.  I know that the 
behavior has changed.

If a function has a docstring but no other body, Python 3.7b5 assigns the line 
number of the docstring to the implicit "return None".  Previous versions 
(including 3.7b4) used the line number of the "def".

Demonstration:

$ cat /tmp/empty.py
def empty():
pass

def empty_with_docstring():
'''Docstring'''

def docstring():
'''Docstring'''
return 1

import dis, sys

print(sys.version)

for fn in [empty, empty_with_docstring, docstring]:
print(fn.__name__)
dis.dis(fn)

$ /usr/local/pythonz/pythons/CPython-2.7.14/bin/python2.7 /tmp/empty.py
2.7.14 (default, Oct  4 2017, 09:45:53)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
empty
  2   0 LOAD_CONST   0 (None)
  3 RETURN_VALUE
empty_with_docstring
  4   0 LOAD_CONST   1 (None)
  3 RETURN_VALUE
docstring
  9   0 LOAD_CONST   1 (1)
  3 RETURN_VALUE

$ /usr/local/pythonz/pythons/CPython-3.6.4/bin/python3.6 /tmp/empty.py
3.6.4 (default, Dec 19 2017, 08:11:42)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
empty
  2   0 LOAD_CONST   0 (None)
  2 RETURN_VALUE
empty_with_docstring
  4   0 LOAD_CONST   1 (None)
  2 RETURN_VALUE
docstring
  9   0 LOAD_CONST   1 (1)
  2 RETURN_VALUE

$ /usr/local/pythonz/pythons/CPython-3.7.0b4/bin/python3.7 /tmp/empty.py
3.7.0b4 (default, May  2 2018, 21:07:21)
[Clang 9.0.0 (clang-900.0.39.2)]
empty
  2   0 LOAD_CONST   0 (None)
  2 RETURN_VALUE
empty_with_docstring
  4   0 LOAD_CONST   1 (None)
  2 RETURN_VALUE
docstring
  9   0 LOAD_CONST   1 (1)
  2 RETURN_VALUE

$ /usr/local/pythonz/pythons/CPython-3.7.0b5/bin/python3.7 /tmp/empty.py
3.7.0b5 (default, Jun  2 2018, 11:27:19)
[Clang 9.1.0 (clang-902.0.39.2)]
empty
  2   0 LOAD_CONST   0 (None)
  2 RETURN_VALUE
empty_with_docstring
  5   0 LOAD_CONST   1 (None)
  2 RETURN_VALUE
docstring
  9   0 LOAD_CONST   1 (1)
  2 RETURN_VALUE

--
keywords: 3.7regression
messages: 318532
nosy: nedbat
priority: normal
severity: normal
status: open
title: 3.7.0b5 changes the line number of empty functions with docstrings
versions: Python 3.7

___
Python tracker 

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



[issue33746] testRegisterResult in test_unittest fails in verbose mode

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -m testRegisterResult test_unittest
Run tests sequentially
0:00:00 load avg: 4.42 [1/1] test_unittest

== Tests result: SUCCESS ==

1 test OK.

Total duration: 98 ms
Tests result: SUCCESS

$ ./python -m test -v -m testRegisterResult test_unittest
== CPython 3.8.0a0 (heads/master-dirty:a801cf164b, Jun 3 2018, 12:58:45) [GCC 
7.3.0]
== Linux-4.15.0-22-generic-x86_64-with-glibc2.9 little-endian
== cwd: /home/serhiy/py/cpython/build/test_python_3610
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 load avg: 4.17 [1/1] test_unittest
testRegisterResult (unittest.test.test_break.TestBreak) ... FAIL
testRegisterResult (unittest.test.test_break.TestBreakDefaultIntHandler) ... ok
testRegisterResult (unittest.test.test_break.TestBreakSignalDefault) ... ok
testRegisterResult (unittest.test.test_break.TestBreakSignalIgnored) ... ok

==
FAIL: testRegisterResult (unittest.test.test_break.TestBreak)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/unittest/test/test_break.py", line 48, in 
testRegisterResult
self.fail("odd object in result set")
AssertionError: odd object in result set

--
Ran 4 tests in 0.002s

FAILED (failures=1)
test test_unittest failed
test_unittest failed

== Tests result: FAILURE ==

1 test failed:
test_unittest

Total duration: 138 ms
Tests result: FAILURE


The test is passed in 2.7 and 3.4. It fails only starting from 3.5.

--
components: Tests
messages: 318533
nosy: ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: testRegisterResult in test_unittest fails in verbose mode
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_patch_propogrates_exc_on_exit test_unittest
...
test_patch_propogrates_exc_on_exit (unittest.test.testmock.testpatch.PatchTest) 
... ERROR

==
ERROR: test_patch_propogrates_exc_on_exit 
(unittest.test.testmock.testpatch.PatchTest)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/unittest/test/testmock/testpatch.py", line 
1699, in test_patch_propogrates_exc_on_exit
self.assertRaises(RuntimeError, test)
  File "/home/serhiy/py/cpython/Lib/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
  File "/home/serhiy/py/cpython/Lib/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
  File "/home/serhiy/py/cpython/Lib/unittest/mock.py", line 1183, in patched
arg = patching.__enter__()
  File "/home/serhiy/py/cpython/Lib/unittest/mock.py", line 1239, in __enter__
self.target = self.getter()
  File "/home/serhiy/py/cpython/Lib/unittest/mock.py", line 1409, in 
getter = lambda: _importer(target)
  File "/home/serhiy/py/cpython/Lib/unittest/mock.py", line 1092, in _importer
thing = __import__(import_path)
ModuleNotFoundError: No module named 'squizz'

--

--
components: Tests
messages: 318534
nosy: michael.foord, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Failed separate test_patch_propogrates_exc_on_exit in test_unittest
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_discovery_failed_discovery test_unittest
...
Warning -- sys.path was modified by test_unittest
  Before: (139720094056760, ['/home/serhiy/py/cpython', 
'/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', 
'/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', 
'/home/serhiy/.local/lib/python3.8/site-packages'], ['/home/serhiy/py/cpython', 
'/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', 
'/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', 
'/home/serhiy/.local/lib/python3.8/site-packages'])
  After:  (139720094056760, ['/home/serhiy/py/cpython', 
'/usr/local/lib/python38.zip', '/home/serhiy/py/cpython/Lib', 
'/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', 
'/home/serhiy/.local/lib/python3.8/site-packages'], 
['/home/serhiy/py/cpython/build/test_python_8308/package', 
'/home/serhiy/py/cpython', '/usr/local/lib/python38.zip', 
'/home/serhiy/py/cpython/Lib', 
'/home/serhiy/py/cpython/build/lib.linux-x86_64-3.8-pydebug', 
'/home/serhiy/.local/lib/python3.8/site-packages']) 
test_unittest failed (env changed)

--
components: Tests
messages: 318535
nosy: ezio.melotti, michael.foord, rbcollins, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_discovery_failed_discovery in test_unittest modifies sys.path
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread Michiel


New submission from Michiel :

It looks like there's possibly a typo/small bug in the pdb.Pdb code. If I 
supply the stdin argument to the constructor, and provide e.g. a io.StringIO 
object, then I expect commands to be read from there. This however doesn't 
happen. If I additionally supply a stdout argument, then it works.

This is because use_rawinput is only disabled if stdout is specified, see 
https://github.com/python/cpython/blob/3.7/Lib/pdb.py#L144:

...
def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None,
 nosigint=False, readrc=True):
bdb.Bdb.__init__(self, skip=skip)
cmd.Cmd.__init__(self, completekey, stdin, stdout)
if stdout:
self.use_rawinput = 0
...

I think it should be disabled if stdin is supplied, or possibly if either is 
specified (I'm not sure).

Repro:

import pdb
import io
pdb_script = io.StringIO("p 'hello';; c")
output = io.StringIO()

Buggy behaviour:

In [5]: pdb.Pdb(stdin=pdb_script).set_trace()
--Call--
> /usr/lib/python3.6/site-packages/IPython/core/displayhook.py(247)__call__()
-> def __call__(self, result=None):
(Pdb) c

Expected behaviour:

(Pdb) 'hello'

Working if stdout is supplied:

In [6]: pdb_script.seek(0)
Out[6]: 0

In [7]: pdb.Pdb(stdin=pdb_script, stdout=output).set_trace()

In [8]: print(output.getvalue())
--Call--
> /usr/lib/python3.6/site-packages/IPython/core/displayhook.py(247)__call__()
-> def __call__(self, result=None):
(Pdb) 'hello'


I would've had a go at fixing this, but even after reading the docs at 
https://docs.python.org/3/library/cmd.html#cmd.Cmd.use_rawinput it's not 
entirely obvious to me which combinations of stdin/stdout overrides should be 
valid and when use_rawinput should be set to 0. However, I'm pretty sure it 
should at least be set to 0 if stdin is supplied, which currently isn't the 
case.

--
components: Library (Lib)
messages: 318536
nosy: m01
priority: normal
severity: normal
status: open
title: pdb.Pdb constructor stdout override required to disable use_rawinput
type: behavior
versions: Python 3.6

___
Python tracker 

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



[issue9141] Allow objects to decide if they can be collected by GC

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Is this issue still actual after PEP 442?

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

The problem with invalid function signatures was initially reported in old 
issue1648268.

--

___
Python tracker 

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



[issue1648268] Parameter list mismatches (portation problem)

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This issue has been partially (for METH_NOARGS methods) fixed in issue33012.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue4896] Faster why variable manipulation in ceval.c

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This issue is outdated since moving unwinding of stack for "pseudo exceptions" 
from interpreter to compiler in issue17611.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue17045] Improve C-API doc for PyTypeObject

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Do you mind to create a PR Eric?

--
nosy: +serhiy.storchaka
versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.3, Python 3.4

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_from_tuple test_decimal
...
test_from_tuple (test.test_decimal.CWhitebox) ... FAIL

==
FAIL: test_from_tuple (test.test_decimal.CWhitebox)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_decimal.py", line 5413, in 
test_from_tuple
self.assertEqual(str(c.create_decimal(x)), '-0E-126')
AssertionError: '-0E-107' != '-0E-126'
- -0E-107
?  ^^
+ -0E-126
?  ^^


--

--
components: Tests
messages: 318542
nosy: facundobatista, mark.dickinson, rhettinger, serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: Failed separate test_from_tuple in test_decimal
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33751] Failed separate testTruncateOnWindows in test_file

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m testTruncateOnWindows test_file
...
testTruncateOnWindows (test.test_file.COtherFileTests) ... ERROR
testTruncateOnWindows (test.test_file.PyOtherFileTests) ... ERROR

==
ERROR: testTruncateOnWindows (test.test_file.COtherFileTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_file.py", line 188, in 
testTruncateOnWindows
os.unlink(TESTFN)
FileNotFoundError: [Errno 2] No such file or directory: '@test_8845_tmp'

==
ERROR: testTruncateOnWindows (test.test_file.PyOtherFileTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_file.py", line 188, in 
testTruncateOnWindows
os.unlink(TESTFN)
FileNotFoundError: [Errno 2] No such file or directory: '@test_8845_tmp'

--

--
components: Tests
messages: 318543
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Failed separate testTruncateOnWindows in test_file
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33752] Leaked file in test_anydbm_creation_n_file_exists_with_invalid_contents in test_dbm

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m 
test_anydbm_creation_n_file_exists_with_invalid_contents test_dbm
...
test_anydbm_creation_n_file_exists_with_invalid_contents 
(test.test_dbm.TestCase-dbm.gnu) ... ok
test_anydbm_creation_n_file_exists_with_invalid_contents 
(test.test_dbm.TestCase-dbm.ndbm) ... ok
test_anydbm_creation_n_file_exists_with_invalid_contents 
(test.test_dbm.TestCase-dbm.dumb) ... ok

--
Ran 3 tests in 0.011s

OK
Warning -- files was modified by test_dbm
  Before: []
  After:  ['@test_17166_tmp.dir'] 
test_dbm failed (env changed)

--
components: Tests
messages: 318544
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Leaked file in test_anydbm_creation_n_file_exists_with_invalid_contents 
in test_dbm
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33753] Leaked file in test_nextfile_oserror_deleting_backup in test_fileinput

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_nextfile_oserror_deleting_backup test_fileinput
...
Warning -- files was modified by test_fileinput
  Before: []
  After:  ['@test_23936_tmp1.bak'] 
test_fileinput failed (env changed)

--
components: Tests
messages: 318545
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Leaked file in test_nextfile_oserror_deleting_backup in test_fileinput
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:

I think the tests are order-dependent in multiple places.  Personally, I don't 
see much value in fixing that because it has little effect on the actual code.

--

___
Python tracker 

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



[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread David Halter

New submission from David Halter :

Currently f-strings are a bit of a hack. They certainly work very well for 
users, but they are implemented in ast.c and therefore not part of the Python 
grammar and the tokenizer.

I want to change this. I wrote an alternative implementation of f-strings in 
parso (http://parso.readthedocs.io/en/latest/). The idea I have is to modify 
the Python grammar slightly 
(https://github.com/davidhalter/parso/blob/master/parso/python/grammar37.txt#L149):

fstring: FSTRING_START fstring_content* FSTRING_END
fstring_content: FSTRING_STRING | fstring_expr
fstring_conversion: '!' NAME
fstring_expr: '{' testlist [ fstring_conversion ] [ fstring_format_spec ] '}'
fstring_format_spec: ':' fstring_content*

We would push most of the hard work to the tokenizer. This obviously means that 
we have to add a lot of code there. I wrote a tokenizer in Python for parso 
here: in 
https://github.com/davidhalter/parso/blob/master/parso/python/tokenize.py. It 
is definitely working well. The biggest difference to the current tokenizer.c 
is that you have to work with stacks and be way more context-sensitive.

There were attempts to change the Grammar of f-strings like 
https://www.python.org/dev/peps/pep-0536/. It hasn't caught on, because it 
tried to change the semantics of f-strings. The implementation in parso has not 
changed the semantics of f-strings.

In a first step I would like to get this working for CPython and not 
tokenize.py. Modifying tokenize.py will not be part of my initial work here.

I have discussed this with Łukasz Langa, so if you guys have no objections I 
will start working on it. Please let me know if you support this or not.

--
components: Interpreter Core
messages: 318547
nosy: davidhalter
priority: normal
severity: normal
status: open
title: f-strings should be part of the Grammar
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[issue33664] IDLE: scroll text by lines, not pixels.

2018-06-03 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords: +patch
pull_requests: +6978
stage: test needed -> patch review

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Doesn't this mean that the test is incorrect? It expects the result be 
'-0E-126', but actually it should be '-0E-107', and it is '-0E-126' 
only after performing some actions outside of the test. Or maybe that there is 
a leak of the state out of localcontext?

--

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:

The test is insignificant. The real tests are mpdecimal-testit- 2.4.1.tar.gz 
(http://www.bytereef.org/mpdecimal/download.html), deccheck.py and my private 
python test suite.

This test uses the global context that has been modified somewhere. I think I 
added that test to increase code coverage.

--

___
Python tracker 

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



[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread Berker Peksag


Change by Berker Peksag :


--
nosy: +eric.smith

___
Python tracker 

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



[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread Eric V. Smith


Eric V. Smith  added the comment:

What is the goal here? Are you just trying to simplify ast.c?

My concern is that there are many, many edge cases, and that you'll be 
unknowingly changing the behavior of f-strings.

One of the goals of the f-string specification is for a simple third-party 
parser to be able to lexically recognize f-strings just like normal, raw, or 
byte strings. It should require no change to such a lexer except for adding "f" 
where "b", "r", or "u" is currently allowed. I do not want to break that design 
principle. There are plenty of examples in the wild where this design was 
leveraged.

--

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_resource test_importlib
...
==  

 
ERROR: test_is_submodule_resource 
(test.test_importlib.test_resource.ResourceFromZipsTest)

   
--  

 
Traceback (most recent call last):  

 
  File "/home/serhiy/py/cpython/Lib/test/test_importlib/test_resource.py", line 
113, in test_is_submodule_resource  
 
submodule = import_module('ziptestdata.subdirectory')   

 
  File "/home/serhiy/py/cpython/Lib/importlib/__init__.py", line 127, in 
import_module   


return _bootstrap._gcd_import(name[level:], package, level) 

 
  File "", line 1006, in _gcd_import   

 
  File "", line 983, in _find_and_load 

 
  File "", line 965, in _find_and_load_unlocked

 
ModuleNotFoundError: No module named 'ziptestdata.subdirectory' 

 


 
==  

 
ERROR: test_read_submodule_resource_by_name 
(test.test_importlib.test_resource.ResourceFromZipsTest)

 
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_importlib/test_resource.py", line 
119, in test_read_submodule_resource_by_name
resources.is_resource('ziptestdata.subdirectory', 'binary.file'))
  File "/home/serhiy/py/cpython/Lib/importlib/resources.py", line 223, in 
is_resource
package = _get_package(package)
  File "/home/serhiy/py/cpython/Lib/importlib/resources.py", line 47, in 
_get_package
module = import_module(package)
  File "/home/serhiy/py/cpython/Lib/importlib/__init__.py", line 127, in 
import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1006, in _gcd_import
  File "", line 983, in _find_and_load
  File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'ziptestdata.subdirectory'

==
ERROR: test_submodule_contents 
(test.test_importlib.test_resource.ResourceFromZipsTest)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_importlib/test_resource.py", line 
122, in test_submodule_contents
submodule = import_module('ziptestdata.subdirectory')
  File "/home/serhiy/py/cpython/Lib/importlib/__init__.py

[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 027f95c736457f12c5713d9cf5b95ac335e583df by Serhiy Storchaka in 
branch 'master':
bpo-33744: Fix test_uu. (GH-7350)
https://github.com/python/cpython/commit/027f95c736457f12c5713d9cf5b95ac335e583df


--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6979

___
Python tracker 

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



[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread David Halter


David Halter  added the comment:

As I wrote before, I'm not trying to change anything about the f-string 
behavior. It is a refactoring. If anyone wants to change the behavior, I feel 
like they should probably write a PEP anyway.

I personally don't like that f-strings get parsed multiple times. It just 
smells bad. Also f-strings are IMO not just strings. They should maybe look 
like strings for other tools to parse them. But they are more or less 
statements that get executed.

The code in ast.c is not bad. Don't get me wrong. I just think that it's the 
wrong approach.

Regarding the edge cases: I don't think there are that many. In the end the ast 
output will look similar anyway. All the backslashes, string literals and 
comments can be checked and rejected in the tokenizer already.

--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6980

___
Python tracker 

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



[issue27485] urllib.splitport -- is it official or not?

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 867b825830b9b0baff791c9bcda57bba3809722a by Serhiy Storchaka 
(Cheryl Sabella) in branch 'master':
bpo-27485: Change urlparse tests to use private methods. (GH-7070)
https://github.com/python/cpython/commit/867b825830b9b0baff791c9bcda57bba3809722a


--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +6981

___
Python tracker 

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



[issue27485] urllib.splitport -- is it official or not?

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka


New submission from Manjusaka :

When I build 3.70.b5 in Mac , the compiler raise an error show that 

"./Modules/posixmodule.c:6018:11: error: implicit declaration of function 
'forkpty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pid = forkpty(&master_fd, NULL, NULL, NULL);"

the makefile was generated by './configuration" command without no argument.

--
components: Build
messages: 318555
nosy: Manjusaka
priority: normal
severity: normal
status: open
title: Python 3.7.0b5 build error
type: compile error
versions: Python 3.7

___
Python tracker 

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



[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread Eric V. Smith


Eric V. Smith  added the comment:

I'm not completely opposed to it, but I need to understand the benefits and 
side effects.

And I wouldn't exactly describe the multiple passes over the string as 
"parsing", but I see your point.

--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset da7f8ce21adc6cd0d7f86f5784a1d477891976f7 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.6':
bpo-33744: Fix test_uu. (GH-7350) (GH-7353)
https://github.com/python/cpython/commit/da7f8ce21adc6cd0d7f86f5784a1d477891976f7


--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset ad4c7954df11b45ab2d17eefeb42bb7385615697 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.7':
bpo-33744: Fix test_uu. (GH-7350) (GH-7352)
https://github.com/python/cpython/commit/ad4c7954df11b45ab2d17eefeb42bb7385615697


--

___
Python tracker 

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



[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread Michiel


Michiel  added the comment:

Based on code inspection, this affects 2.7 - current master

--
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33757] Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_pdb_next_command_in_generator_for_loop test_pdb
...
test_pdb_next_command_in_generator_for_loop (test.test_pdb)
Doctest: test.test_pdb.test_pdb_next_command_in_generator_for_loop ... FAIL

==
FAIL: test_pdb_next_command_in_generator_for_loop (test.test_pdb)
Doctest: test.test_pdb.test_pdb_next_command_in_generator_for_loop
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython-tmp2/Lib/doctest.py", line 2193, in runTest
test, out=new.write, clear_globs=False)
AssertionError: Failed doctest test for 
test.test_pdb.test_pdb_next_command_in_generator_for_loop
  File "/home/serhiy/py/cpython-tmp2/Lib/test/test_pdb.py", line 1035, in 
test_pdb_next_command_in_generator_for_loop

--
File "/home/serhiy/py/cpython-tmp2/Lib/test/test_pdb.py", line 1048, in 
test.test_pdb.test_pdb_next_command_in_generator_for_loop
Failed example:
with PdbTestInput(['break test_gen',
   'continue',
   'next',
   'next',
   'next',
   'continue']):
test_function()
Expected:
> (3)test_function()
-> for i in test_gen():
(Pdb) break test_gen
Breakpoint 6 at :1
(Pdb) continue
> (2)test_gen()
-> yield 0
(Pdb) next
value 0
> (3)test_gen()
-> return 1
(Pdb) next
Internal StopIteration: 1
> (3)test_function()
-> for i in test_gen():
(Pdb) next
> (5)test_function()
-> x = 123
(Pdb) continue
Got:
> (3)test_function()
-> for i in test_gen():
(Pdb) break test_gen
Breakpoint 1 at :1
(Pdb) continue
> (2)test_gen()
-> yield 0
(Pdb) next
value 0
> (3)test_gen()
-> return 1
(Pdb) next
Internal StopIteration: 1
> (3)test_function()
-> for i in test_gen():
(Pdb) next
> (5)test_function()
-> x = 123
(Pdb) continue


--

--
components: Tests
messages: 318560
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue24215] test_trace uses test_pprint

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

There is different failure when run this test separately:

$ ./python -m test -v -m test_coverage test_trace
...
==
FAIL: test_coverage (test.test_trace.TestCoverage)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_trace.py", line 318, in 
test_coverage
self.assertIn("pprint.cover", files)
AssertionError: 'pprint.cover' not found in ['warnings.cover', 
'unittest.case.cover', 'test.support.__init__.cover', 'test.test_pprint.cover', 
'trace.cover', 'platform.cover', 'weakref.cover', 'unittest.loader.cover', 
'unittest.util.cover', 'copy.cover', 'unittest.runner.cover', 
'unittest.result.cover', 'unittest.suite.cover', 'unittest.signals.cover', 
'test.test_set.cover']

--

--

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

After writing the above, I realized that line scroll only touches editor.py, 
not codecontext.py.  On the other hand, the next item, 8. jump to context line 
did have to wait.  Replacing Label with Text will require explicit height 
setting with each context change.  The click handler will be a simplified 
version of the scroll handler you just wrote.  Jumping to a line will look much 
better when it jumps to a whole rather than a fractional line.  Again, one of 
us should say something before starting.

--

___
Python tracker 

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



[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_get_type_hints_modules_forwardref test_typing
...
test_get_type_hints_modules_forwardref (test.test_typing.GetTypeHintTests) ... 
unexpected success

--
Ran 1 test in 0.001s

FAILED (unexpected successes=1)

--
components: Tests
messages: 318563
nosy: levkivskyi, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Unexpected success of test_get_type_hints_modules_forwardref  in 
test_typing
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This test is failed with -We.

$ ./python -We -m test -v test_warnings
...
==
ERROR: test_module_globals (test.test_warnings.CFilterTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_warnings/__init__.py", line 226, 
in test_module_globals
module_globals=None)
UserWarning: msg

==
ERROR: test_module_globals (test.test_warnings.PyFilterTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_warnings/__init__.py", line 226, 
in test_module_globals
module_globals=None)
  File "/home/serhiy/py/cpython/Lib/warnings.py", line 375, in warn_explicit
raise message
UserWarning: msg

--

--
status: closed -> open

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Change by Stefan Krah :


--
keywords: +patch
pull_requests: +6982
stage:  -> patch review

___
Python tracker 

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



[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m ServerProxyTestCase test_xmlrpc
...
==
ERROR: test_close (test.test_xmlrpc.ServerProxyTestCase)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_xmlrpc.py", line 1181, in 
test_close
p = xmlrpclib.ServerProxy(self.url)
  File "/home/serhiy/py/cpython/Lib/xmlrpc/client.py", line 1416, in __init__
type, uri = urllib.parse._splittype(uri)
  File "/home/serhiy/py/cpython/Lib/urllib/parse.py", line 967, in _splittype
match = _typeprog.match(url)
TypeError: expected string or bytes-like object

==
ERROR: test_transport (test.test_xmlrpc.ServerProxyTestCase)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_xmlrpc.py", line 1186, in 
test_transport
p = xmlrpclib.ServerProxy(self.url, transport=t)
  File "/home/serhiy/py/cpython/Lib/xmlrpc/client.py", line 1416, in __init__
type, uri = urllib.parse._splittype(uri)
  File "/home/serhiy/py/cpython/Lib/urllib/parse.py", line 967, in _splittype
match = _typeprog.match(url)
TypeError: expected string or bytes-like object

--

--
components: Tests
messages: 318565
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Failed separate ServerProxyTestCase tests in test_xmlrpc
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:

The thread local context was modified in test_round(), so prec=28 was used in 
test_from_tuple() when running the whole test suite but prec=9 when running the 
single test.

I don't really consider that a bug, but it is easy to "fix".

I wouldn't be surprised if other similar cases exist.

--

___
Python tracker 

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



[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m 
test.test_io.CBufferedReaderTest.test_garbage_collection test_io
...
Warning -- files was modified by test_io
  Before: []
  After:  ['@test_18627_tmp'] 
test_io failed (env changed)


$ ./python -m test -v -m 
test.test_io.CBufferedWriterTest.test_garbage_collection test_io
...
Warning -- files was modified by test_io
  Before: []
  After:  ['@test_18654_tmp'] 
test_io failed (env changed)


$ ./python -m test -v -m test.test_io.CBufferedWriterTest.test_truncate test_io
...
Warning -- files was modified by test_io
  Before: []
  After:  ['@test_18663_tmp'] 
test_io failed (env changed)


$ ./python -m test -v -m 
test.test_io.CBufferedWriterTest.test_truncate_after_write test_io
...
Warning -- files was modified by test_io
  Before: []
  After:  ['@test_18666_tmp'] 
test_io failed (env changed)


And the same for PyBufferedWriterTest, CBufferedRandomTest and 
PyBufferedRandomTest.

--
messages: 318567
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Leaked files in test_io

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

$ ./python -m test -v -m test_iterparse test_xml_etree
...
Warning -- files was modified by test_xml_etree
  Before: []
  After:  ['@test_18721_tmp'] 
test_xml_etree failed (env changed)

--
components: Tests
messages: 318568
nosy: eli.bendersky, scoder, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Leaked file in test_iterparse in test_xml_etree
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-03 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

The test fails also on x86 Windows7 3.x:
http://buildbot.python.org/all/#/builders/58/builds/947

--
nosy: +pablogsal

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I ran all tests separately and this was the only case. PR 7355 fixes it. There 
are no other failures, errors or warnings.

./python -m test -uall --list-cases test_decimal | xargs -n1 -I '{}' 
./python -We -m test -vuall -m '{}' test_decimal

--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 9b5c9488c77aeaddeafa7e2302bdc87dd77ac084 by Serhiy Storchaka in 
branch '2.7':
[2.7] bpo-33744: Fix test_uu. (GH-7350) (GH-7354)
https://github.com/python/cpython/commit/9b5c9488c77aeaddeafa7e2302bdc87dd77ac084


--

___
Python tracker 

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



[issue33744] Fix and improve tests for the uu module

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:


New changeset e95dfc5006d19e59c7871faa9973356844ddb3ae by Stefan Krah in branch 
'master':
bpo-33750: Reset thread-local context precision in test_round(). (#7355)
https://github.com/python/cpython/commit/e95dfc5006d19e59c7871faa9973356844ddb3ae


--

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6983

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6984

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +6985
stage:  -> patch review

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:


New changeset 7f1bcda9bc3c04100cb047373732db0eba00e581 by Stefan Krah (Miss 
Islington (bot)) in branch '3.6':
bpo-33750: Reset thread-local context precision in test_round(). (GH-7355) 
(#7356)
https://github.com/python/cpython/commit/7f1bcda9bc3c04100cb047373732db0eba00e581


--

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:


New changeset bdab3ea8b98db2133ef1e2d92b2a2c539f08ddaf by Stefan Krah (Miss 
Islington (bot)) in branch '3.7':
bpo-33750: Reset thread-local context precision in test_round(). (GH-7355) 
(#7357)
https://github.com/python/cpython/commit/bdab3ea8b98db2133ef1e2d92b2a2c539f08ddaf


--

___
Python tracker 

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



[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:

OK, thanks for checking the other tests!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 13f51d9eec569e08475390e2a8f49f4afed1ea06 by Serhiy Storchaka in 
branch 'master':
bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358)
https://github.com/python/cpython/commit/13f51d9eec569e08475390e2a8f49f4afed1ea06


--

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6986

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6987

___
Python tracker 

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



[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +6988
stage:  -> patch review

___
Python tracker 

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



[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
components: +Tests
stage: patch review -> 
versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-03 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset ded666ff0ce44785a495ff89b676ca68e4cc08e8 by Antoine Pitrou in 
branch '2.7':
[2.7] bpo-30654: Do not reset SIGINT handler to SIG_DFL in finisignal (GH-7146) 
(GH-7347)
https://github.com/python/cpython/commit/ded666ff0ce44785a495ff89b676ca68e4cc08e8


--

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +barry

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Brett Cannon


Brett Cannon  added the comment:

Was this on your machine or has this started across CI or buildbots? And was 
this from a build or installed copy?

--

___
Python tracker 

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



[issue32584] Uninitialized free_extra in code_dealloc

2018-06-03 Thread Brett Cannon


Change by Brett Cannon :


--
nosy: +dino.viehland

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington


miss-islington  added the comment:


New changeset 2332fedb8d7037172946520bb1a552c7018261d5 by Miss Islington (bot) 
in branch '3.7':
bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358)
https://github.com/python/cpython/commit/2332fedb8d7037172946520bb1a552c7018261d5


--
nosy: +miss-islington

___
Python tracker 

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



[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +6989
stage:  -> patch review

___
Python tracker 

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



[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-03 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

So this is in 2.7 finally.  Closing again.

--
stage: patch review -> resolved
status: open -> closed
versions: +Python 2.7

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Tests are passed if run the whole test_importlib. They are failed only when run 
the test_resource subset of them. This means that test_resource tests depend on 
the global environment changed by other tests. And this also means that some 
changes of the global environment are leaked from some tests, and may affect 
also other tests.

--

___
Python tracker 

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



[issue9141] Allow objects to decide if they can be collected by GC

2018-06-03 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

It's hard to say as I never fully understood the underlying intent.

Perhaps Kristján or some other developer who better understood than me can 
chime in.

--

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Barry A. Warsaw


Change by Barry A. Warsaw :


--
assignee:  -> barry

___
Python tracker 

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



[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Barry A. Warsaw


Barry A. Warsaw  added the comment:

I can take a look at this tomorrow.

--

___
Python tracker 

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



[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +6990

___
Python tracker 

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



[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily


Ned Deily  added the comment:

Have you run "xcode-select --install" to ensure system header files are 
installed?  If so, what compiler are you using from what source?  What version 
of macOS are you using?

https://devguide.python.org/setup/#macos

--
nosy: +ned.deily

___
Python tracker 

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



[issue33762] temp file isn't IOBase

2018-06-03 Thread Dutcho


New submission from Dutcho :

I'd expect isinstance(tempfile.TemporaryFile(), io.IOBase) to be True as you 
can read() from and write() to the temp file.

However, on Python 3.6.5 64 bit on Windows 7 above isinstance() == False and 
and type(tempfile.TemporaryFile()) == tempfile._TemporaryFileWrapper, which has 
no super class (other than object).
Whereas, on Python 3.6.1 on iOS 11.4 (Pythonista 3.2) above isinstance() == 
True and type(tempfile.TemporaryFile()) == io.BufferedRandom, which has 
io.IOBase as its (indirect) super class.
The difference is likely caused by tempfile line 565 that equals TemporaryFile 
= NamedTemporaryFile in case of Windows.

This may be somewhat related to issue 26175, but isn't a duplicate as 26175 is 
on a temp file's attributes, and this issue is on its type

--
components: Library (Lib)
messages: 318585
nosy: Dutcho
priority: normal
severity: normal
status: open
title: temp file isn't IOBase
type: behavior
versions: Python 3.6

___
Python tracker 

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



[issue33713] memoryview can set an exception in tp_clear

2018-06-03 Thread Stefan Krah


Stefan Krah  added the comment:

Okay that makes sense. :)

I looked a bit at the gc code. A consumer object always has one
reference to a memoryview with an export, which isn't visited. So
it looks to me that the gc_refs of that memoryview cannot fall to 0.

So memory_clear() isn't called in that case, but mbuf_clear() is, which
is known and expected to handle mbuf->exports >= 0.

Indeed let's perhaps just add "if (self->exports > 0) return 0" to 
memory_clear() if those assumptions are too complex.

--

___
Python tracker 

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



[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-03 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +6991
stage: resolved -> patch review

___
Python tracker 

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



[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread R. David Murray


R. David Murray  added the comment:

This is a duplicate of 2571 and 10396.  As I commented in 10396, if you want to 
work on an enhancement request (for cmd) that improves the situation, it will 
be welcome; but as you observed what to do isn't immediately obvious, so 
discussion before implementation is probably a good idea.  I'm going to close 
this, but feel free to open an enhancement issue with a proposal.

--
nosy: +r.david.murray
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread R. David Murray


Change by R. David Murray :


--
superseder:  -> can cmd.py's API/docs for the use of an alternate stdin be 
improved?

___
Python tracker 

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



[issue17909] Autodetecting JSON encoding

2018-06-03 Thread Anthony Sottile


Change by Anthony Sottile :


--
pull_requests: +6992

___
Python tracker 

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



[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-03 Thread Cheryl Sabella


New submission from Cheryl Sabella :

Item 11 from #33610.
Use read-only Text instead of Label for context. 

* Change widget type from Label to Text and remove Label-only arguments.
* Add height and state arguments.
* Change widget name from self.label to self.context.
* Tests: change widget name and method for getting text.

--
assignee: terry.reedy
components: IDLE
messages: 318588
nosy: cheryl.sabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Use text widget for code context instead of label widget
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-03 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords: +patch
pull_requests: +6993
stage:  -> patch review

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
dependencies: +IDLE: Use text widget for code context instead of label widget

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

For item 11 - #33763

--

___
Python tracker 

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



[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor


New submission from STINNER Victor :

While looking at AppVeyor history, I saw two builds which seem like interrupted 
in the middle of the test

3.6:
https://ci.appveyor.com/project/python/cpython/build/3.6build16876/job/t9nyt59wkwcn68nk

...
0:04:32 [312/407] test_genexps passed -- running: test_largefile (2 min 21 
sec), test_mmap (4 min 30 sec)
0:04:32 [313/407] test_weakset passed -- running: test_largefile (2 min 21 
sec), test_mmap (4 min 30 sec)
0:04:32 [314/407] test_fractions passed -- running: test_largefile (2 min 21 
sec), test_mmap (4 min 31 sec)

3.8:
https://ci.appveyor.com/project/python/cpython/build/3.8build16878

...
0:06:07 [290/416] test_frame passed -- running: test_io (4 min 1 sec), 
test_mmap (5 min 45 sec)
0:06:09 [291/416] test_codecmaps_cn passed -- running: test_io (4 min 3 sec), 
test_mmap (5 min 47 sec)
fetching http://www.pythontest.net/unicode/gb-18030-2000.xml ...
fetching http://www.pythontest.net/unicode/EUC-CN.TXT ...
fetching http://www.pythontest.net/unicode/CP936.TXT ...


Terry Reedy also noticed the issue:
https://mail.python.org/pipermail/python-committers/2018-June/005527.html


https://appveyor.statuspage.io/ says that all services are operational.

--
components: Tests
messages: 318590
nosy: vstinner
priority: normal
severity: normal
status: open
title: AppVeyor builds interrupted before tests complete

___
Python tracker 

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



[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-33765: "AppVeyor didn't start on my PR 7365".

--

___
Python tracker 

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



[issue33765] AppVeyor didn't start on my PR 7365

2018-06-03 Thread STINNER Victor

New submission from STINNER Victor :

I created the PR 7365:
https://github.com/python/cpython/pull/7365

AppVeyor job is required to pass to allow me to merge my PR. But AppVeyor job 
didn't start: 

"continuous-integration/appveyor/pr Expected — Waiting for status to be 
reported"

I cannot find any job related to my PR in the AppVeyor history:
https://ci.appveyor.com/project/python/cpython/history

The latest build was 5 hours ago.

See also bpo-33764.

--
components: Tests
messages: 318591
nosy: vstinner
priority: normal
severity: normal
status: open
title: AppVeyor didn't start on my PR 7365

___
Python tracker 

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



  1   2   >