[issue35327] Using skipTest with subTest gives a misleading UI.

2018-11-30 Thread Martin Panter
Martin Panter added the comment: Sounds very similar to Issue 25894, discussing how to deal with tests where different subtests errored, failed, skipped and passed. -- nosy: +martin.panter ___ Python tracker __

[issue34850] Emit a syntax warning for "is" with a literal

2018-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10058 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35336] Bug in C locale coercion with PYTHONCOERCECLOCALE=1

2018-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 55e498058faf8c97840556f6d791c2c392732dc3 by Victor Stinner in branch 'master': bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) https://github.com/python/cpython/commit/55e498058faf8c97840556f6d791c2c392732dc3 -- __

[issue35352] test_asyncio fails on RHEL8

2018-11-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: The strange thing is these tests are passed on our build bots. In logs I see only ConnectionResetError. Can it be related to your configuration? -- ___ Python tracker

[issue35358] avoid '-' in importlib.import_module and builtins.__import__

2018-11-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: hi @serhiy, I understand but today, by error my CI has started to run the tests of an external python package and in the tests, there was a lot of `from my-module import XYZ` but in the django project, they load this module via importlib.import_module or bu

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2018-11-30 Thread Paul Moore
Paul Moore added the comment: The proposed wording seems a bit over-complex to me. Maybe the following re-wording would be easier to understand? The character encoding is platform-dependent. Non-Windows platforms use the locale encoding (see locale.getpreferredencoding()).

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2018-11-30 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue35358] avoid '-' in importlib.import_module and builtins.__import__

2018-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: '-' is not special. The import statement requires the module name been an identifier. This is just a requirement of Python syntax. But when pass the module name as a string, there is no such limitation in CPython. This is like an attribute name or keyword

[issue35350] importing "ctypes" immediately causes a segmentation fault

2018-11-30 Thread David
David added the comment: Small update: After commenting out Py_XDECREF(self->restype) in function CThunkObject_dealloc(PyObject *_self), I can import ctypes without getting a segmentation fault. static void CThunkObject_dealloc(PyObject *_self) { CThunkObject *self = (CThunkObject *)_se

[issue35358] avoid '-' in importlib.import_module and builtins.__import__

2018-11-30 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : maybe related to this issue: https://bugs.python.org/issue18831 we can't import a module where the name contains '-', for example from my-module import my_function but with importlib.import_module we can import this module. import_module does not respect

[issue35353] Add frame command to pdb

2018-11-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: Add frame command to pub -> Add frame command to pdb ___ Python tracker ___ ___ Pytho

[issue35356] A possible reference leak in the nis module

2018-11-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35356] A possible reference leak in the nis module

2018-11-30 Thread miss-islington
miss-islington added the comment: New changeset f3fe21a3cacbc5d13c3e61cefb36ce0efe617cd7 by Miss Islington (bot) in branch '2.7': bpo-35356: Fix a possible reference leak in nis.maps(). (GH-10808) https://github.com/python/cpython/commit/f3fe21a3cacbc5d13c3e61cefb36ce0efe617cd7 --

[issue35356] A possible reference leak in the nis module

2018-11-30 Thread miss-islington
miss-islington added the comment: New changeset e604b6c53e7dce6d4cf52525f4ae57352d489cba by Miss Islington (bot) in branch '3.7': bpo-35356: Fix a possible reference leak in nis.maps(). (GH-10808) https://github.com/python/cpython/commit/e604b6c53e7dce6d4cf52525f4ae57352d489cba --

[issue35356] A possible reference leak in the nis module

2018-11-30 Thread miss-islington
miss-islington added the comment: New changeset 3473ca424142cb8f1453ba802ba642060b5ce779 by Miss Islington (bot) in branch '3.6': bpo-35356: Fix a possible reference leak in nis.maps(). (GH-10808) https://github.com/python/cpython/commit/3473ca424142cb8f1453ba802ba642060b5ce779 -- n

<    1   2