[issue45930] Lambda function bug

2021-11-29 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This is known behaviour due to binding. Please see  
https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result

--
nosy: +xtreak

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



[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This seems to be similar to https://bugs.python.org/issue23882

--
nosy: +methane, xtreak

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



[issue45756] mock raises exception when using a spec with an attribute that raises exception on access

2021-11-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This seems to be similar to https://bugs.python.org/issue41768 .

--
nosy: +xtreak

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



[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Running it in debug build mode

./python -X dev ../bpo45826.py
python: Python/suggestions.c:215: offer_suggestions_for_name_error: Assertion 
`frame != NULL' failed.
Fatal Python error: Aborted

Current thread 0x7f4c717f3280 (most recent call first):
  
[1]15180 abort (core dumped)  ./python -X dev ../bpo45826.py

--
nosy: +pablogsal, xtreak

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



[issue45814] Use the same function signature for datetime.time.strftime

2021-11-16 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +belopolsky, p-ganssle, xtreak

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



[issue45725] test_freeze doesn't clean up after itself

2021-11-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

https://github.com/python/cpython/pull/29527 uses a temporary directory for the 
test instead that should help with the cleanup.

--
nosy: +xtreak

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



[issue45292] Implement PEP 654: Exception Groups

2021-11-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:


New changeset 8b06d01507fd708468570eaa43a349828784489a by Irit Katriel in 
branch 'main':
bpo-45292: Use raw strings for regex in tests (GH-29545)
https://github.com/python/cpython/commit/8b06d01507fd708468570eaa43a349828784489a


--

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



[issue45755] Specialized generic class does not return class attributes in dir

2021-11-12 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This seems to be an issue with typing than mock since mock just uses the output 
from dir() . I am not able to bisect the relevant change but below is the 
output of dir(Foo[int]) in Python 3.6 and master.

Python 3.6.9

['__abstractmethods__', '__args__', '__class__', '__delattr__', '__dict__', 
'__dir__', '__doc__', '__eq__', '__extra__', '__format__', '__ge__', 
'__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', 
'__le__', '__lt__', '__module__', '__ne__', '__new__', '__next_in_mro__', 
'__orig_bases__', '__origin__', '__parameters__', '__reduce__', 
'__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__slots__', 
'__str__', '__subclasshook__', '__tree_hash__', '__weakref__', '_abc_cache', 
'_abc_generic_negative_cache', '_abc_generic_negative_cache_version', 
'_abc_registry', '_gorg', 'bar']


master branch : 

['__args__', '__call__', '__class__', '__delattr__', '__dict__', '__dir__', 
'__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', 
'__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', 
'__instancecheck__', '__le__', '__lt__', '__module__', '__mro_entries__', 
'__ne__', '__new__', '__or__', '__origin__', '__parameters__', '__reduce__', 
'__reduce_ex__', '__repr__', '__ror__', '__setattr__', '__sizeof__', 
'__slots__', '__str__', '__subclasscheck__', '__subclasshook__', '__weakref__', 
'_inst', '_name', '_paramspec_tvars', '_typevar_types', 'copy_with']

--
nosy: +gvanrossum, kj
title: Mock spec with a specialized generic class does not mock class 
attributes -> Specialized generic class does not return class attributes in dir

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



[issue45292] Implement PEP 654: Exception Groups

2021-11-12 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The tests emit some deprecation warnings : 

PYTHONWARNINGS=always ./python -Wall -m test test_exception_group
0:00:00 load avg: 0.39 Run tests sequentially
0:00:00 load avg: 0.39 [1/1] test_exception_group
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:41: 
DeprecationWarning: invalid escape sequence '\('
  MSG = 'second argument \(exceptions\) must be a sequence'
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:47: 
DeprecationWarning: invalid escape sequence '\('
  MSG = 'second argument \(exceptions\) must be a non-empty sequence'
/home/karthikeyan/stuff/python/cpython/Lib/test/test_exception_group.py:52: 
DeprecationWarning: invalid escape sequence '\('
  MSG = ('Item [0-9]+ of second argument \(exceptions\)'

== Tests result: SUCCESS ==

1 test OK.

Total duration: 51 ms
Tests result: SUCCESS

--
nosy: +xtreak

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



[issue45755] Mock spec with a specialized generic class does not mock class attributes

2021-11-08 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

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



[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-15 Thread Karthikeyan Singaravelan

Karthikeyan Singaravelan  added the comment:

This might be related to below commit : 

commit d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e
Author: Inada Naoki 
Date:   Tue Apr 13 13:51:49 2021 +0900

bpo-43787: Add __iter__ to GzipFile, BZ2File, and LZMAFile (GH-25353)


python -m gzip README.rst
(myenv) ➜  cpython git:(main) ✗ git checkout 
d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e~1 Lib/gzip.py
Updated 1 path from 2ea7c00ab4
(myenv) ➜  cpython git:(main) ✗ ./python
Python 3.11.0a1+ (heads/main:160c38df7f, Oct 15 2021, 11:25:16) [GCC 9.3.0] on 
linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gzip
>>> len([None for _ in gzip.GzipFile("README.rst.gz")])
267
>>> 
(myenv) ➜  cpython git:(main) ✗ git checkout 
d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e Lib/gzip.py 
Updated 1 path from 1f9874eec6
(myenv) ➜  cpython git:(main) ✗ ./python
Python 3.11.0a1+ (heads/main:160c38df7f, Oct 15 2021, 11:25:16) [GCC 9.3.0] on 
linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gzip
>>> len([None for _ in gzip.GzipFile("README.rst.gz")])
Traceback (most recent call last):
  File "", line 1, in 
  File "", line 1, in 
ValueError: readline of closed file

--
components: +Library (Lib)
keywords: +3.10regression
nosy: +methane, xtreak

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



[issue45370] Typo in pep-0636 page

2021-10-05 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks for the report and fix. Closing it as third party since PEPs are 
maintained in different repo using GitHub issues.

--
nosy: +xtreak
resolution:  -> third party
stage:  -> resolved
status: open -> closed

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



[issue45366] dataclass init=False field with default works but default_factory does not

2021-10-04 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue45338] Add key argument to collections.Counter

2021-10-01 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +rhettinger

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



[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Slightly related, inspect.getfullargspec was also deprecated and later 
undeprecated. Please find the discussion post this message

https://bugs.python.org/issue36751#msg341128

https://bugs.python.org/issue37010

--
nosy: +xtreak

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



[issue45293] List inplace addition different from normal addition

2021-09-26 Thread Karthikeyan Singaravelan

Karthikeyan Singaravelan  added the comment:

https://docs.python.org/3/faq/programming.html#faq-augmented-assignment-tuple-error

> for lists, __iadd__ is equivalent to calling extend on the list and returning 
> the list. That’s why we say that for lists, += is a “shorthand” for 
> list.extend

This example is calling extend on list of strings with another string as 
argument. Hence the target string is iterated and each character is added as an 
element. __add__ is different compared __iadd__. For += __iadd__ is called if 
defined and falls back to __add__

--
nosy: +xtreak

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



[issue35077] Make TypeError message less ambiguous

2021-09-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

https://bugs.python.org/issue44110 did some improvements to error message to 
include type.

--

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



[issue45284] Better `TypeError` message when a string is indexed using a non int

2021-09-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue44110 . This looks like a duplicate. Also 
https://bugs.python.org/issue35077

--
nosy: +xtreak

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



[issue45019] Freezing modules has manual steps but could be automated.

2021-09-15 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The PR 28319 seems to have introduced a new deprecation warning in tests : 

0:00:13 load avg: 2.82 [ 98/427] test_ctypes passed
Hello world!
/home/karthikeyan/stuff/python/cpython/Lib/ctypes/test/test_values.py:5: 
DeprecationWarning: the imp module is deprecated in favour of importlib and 
slated for removal in Python 3.12; see the module's documentation for 
alternative uses
  import imp

--
nosy: +xtreak

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



[issue45156] mock.seal has infinite recursion with int class attributes

2021-09-11 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

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



[issue45135] dataclasses.asdict() incorrectly calls __deepcopy__() on values.

2021-09-08 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue45110] argparse repeats itself when formatting help metavars

2021-09-05 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +paul.j3, rhettinger

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



[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: compile error -> behavior

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



[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

AsyncMock is a feature of Python 3.8 . Please upgrade to Python 3.8 or use mock 
backport for AsyncMock in Python 3.7 https://github.com/testing-cabal/mock . I 
guess this can be closed as not a bug.

--

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



[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

What version of Python are you using?

--

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



[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

2021-08-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Can you please add a sample script to reproduce the problem. It will be also 
helpful to add how you run the script and also attach the error message you are 
getting. Given that you have selected Python 3.7 version AsyncMock was added in 
Python 3.8 . For Python 3.7 you might want to use the backport of mock.

--
nosy: +xtreak

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



[issue43826] Resource warnings in test_subprocess

2021-08-24 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 3.10

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



[issue43826] Resource warnings in test_subprocess

2021-08-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:


New changeset 7179930ab5f5b2dea039023bec968aadc03e3775 by Karthikeyan 
Singaravelan in branch 'main':
bpo-43826: Fix resource warning due to unclosed objects. (GH-25381)
https://github.com/python/cpython/commit/7179930ab5f5b2dea039023bec968aadc03e3775


--

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



[issue33710] Deprecate gettext.lgettext()

2021-08-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

It seems like the docs have a note that these functions were removed in Python 
3.10 but they probably missed the release. Doc : 
https://docs.python.org/3.10/library/gettext.html#gettext.lgettext

--

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



[issue41322] unittest: deprecate test methods returning non-None values

2021-08-21 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Deprecation warnings are not on by default in tests. You can pass -Wall while 
running tests to turn on all warnings.

./python -Wall -m test test_capi
0:00:00 load avg: 2.46 Run tests sequentially
0:00:00 load avg: 2.46 [1/1] test_capi
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
()
  warnings.warn(f'It is deprecated to return a value!=None from a '

== Tests result: SUCCESS ==

1 test OK.

Total duration: 5.2 sec
Tests result: SUCCESS

--

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



[issue41322] unittest: deprecate test methods returning non-None values

2021-08-21 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

There are few deprecation warnings in other tests : 

0:00:05 load avg: 3.20 [ 52/428] test_code passed
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
(>)
  warnings.warn(f'It is deprecated to return a value!=None from a '

0:00:12 load avg: 3.74 [110/428] test_capi passed
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
()
  warnings.warn(f'It is deprecated to return a value!=None from a '

0:00:13 load avg: 3.74 [114/428] test_distutils passed
/home/karthikeyan/stuff/python/cpython/Lib/distutils/tests/test_unixccompiler.py:7:
 DeprecationWarning: The distutils.sysconfig module is deprecated, use 
sysconfig instead
  from distutils import sysconfig
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
(>)
  warnings.warn(f'It is deprecated to return a value!=None from a '
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
(>)
  warnings.warn(f'It is deprecated to return a value!=None from a '

--

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



[issue44918] Unhandled Exception (Not Implemented) in HTMLParser().feed

2021-08-15 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Seems similar to https://bugs.python.org/issue38573

--
nosy: +xtreak

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



[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-08-11 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

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



[issue44829] zoneinfo.ZoneInfo does not check for Windows device names

2021-08-04 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +belopolsky, p-ganssle

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



[issue44827] Incomplete 3.10.0rc1 release info

2021-08-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I can see the files section table with links.

--
nosy: +pablogsal, xtreak

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



[issue44823] Docs fail to build - looking for the wrong interpreter (Python 3.10-rc1)

2021-08-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Seems like a duplicate of https://bugs.python.org/issue44824

--
nosy: +pablogsal, xtreak

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



[issue44809] Changelog missing removal of StrEnum etc.

2021-08-02 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

There was a revert of enum related changes in Python 3.10. Since the news file 
is generated I guess this is probably missed.

--
nosy: +ethan.furman, xtreak

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

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



[issue44671] Create a built-in yaml module

2021-07-21 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

There was some discussion in 2013 : 
https://mail.python.org/archives/list/python-id...@python.org/thread/Y3Y5T54S2RSR6QW3HSEQV77EZPP7PWCX/#7H72ZRMSX74453GGURV26242UYM75VOW
 . This has to go through python-ideas and probably might need a PEP. There is 
also a request to add toml https://bugs.python.org/issue40059

--
nosy: +xtreak

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



[issue44695] asdict use deep copy to dataclass instances

2021-07-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue44684] Docs for mock.call

2021-07-20 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

> A call object is either a tuple of (positional args, keyword args) or (name, 
> positional args, keyword args) depending on how it was constructed

https://github.com/python/cpython/pull/11807 added support for args and kwargs 
from python 3.9. So I guess you want to do call_object.kwargs["foo"] == "bar"

--
nosy: +xtreak

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



[issue44658] No ValueError for duplicate key value in mapping patern when lengths do not match

2021-07-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue44589

--
nosy: +brandtbucher, xtreak

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



[issue44638] zipfile.ZipFile is closed when zipfile.Path is closed

2021-07-14 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This seems similar to https://bugs.python.org/issue40564

--
nosy: +jaraco, xtreak

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



[issue44599] Changing logging format for one handler changes it for all

2021-07-11 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +vinay.sajip

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



[issue44589] Pattern Matching - duplicate keys in mapping patterns

2021-07-09 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +brandtbucher

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



[issue44586] unittest requires __init__.py for test discovery

2021-07-08 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue23882

--
nosy: +xtreak

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



[issue44579] shutil.copy() inefficient implementation in Windows

2021-07-07 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

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



[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-07-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This change seems to emit deprecation warnings in test_pydoc.

PYTHONWARNINGS=always ./python.exe -Wall -m test test_pydoc
0:00:00 load avg: 2.57 Run tests sequentially
0:00:00 load avg: 2.57 [1/1] test_pydoc
/Users/kasingar/stuff/python/cpython/Lib/pydoc.py:1344: DeprecationWarning: 
typing.io is deprecated, import directly from typing instead. typing.io will be 
removed in Python 3.12.
  if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),
/Users/kasingar/stuff/python/cpython/Lib/pydoc.py:1344: DeprecationWarning: 
typing.re is deprecated, import directly from typing instead. typing.re will be 
removed in Python 3.12.
  if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),
test_pydoc passed in 31.6 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 31.7 sec
Tests result: SUCCESS

--
nosy: +xtreak

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



[issue44564] DeprecationWarning in test_enum over formatting

2021-07-04 Thread Karthikeyan Singaravelan


New submission from Karthikeyan Singaravelan :

It seems the line above this is wrapped under a block to check for deprecation 
warning but this line got missed out.

PYTHONWARNINGS=always ./python.exe -Wall -m test test_enum
0:00:00 load avg: 3.91 Run tests sequentially
0:00:00 load avg: 3.91 [1/1] test_enum
/Users/kasingar/stuff/python/cpython/Lib/test/test_enum.py:2324: 
DeprecationWarning: in 3.12 format() will use the enum member, not the enum 
member's value;
use a format specifier, such as :d for an integer-based Enum, to maintain the 
current display
  self.assertEqual(OkayEnum.one, '{}'.format(OkayEnum.one))

== Tests result: SUCCESS ==

1 test OK.

Total duration: 257 ms
Tests result: SUCCESS

--
components: Library (Lib)
keywords: newcomer friendly
messages: 396967
nosy: ethan.furman, xtreak
priority: normal
severity: normal
status: open
title: DeprecationWarning in test_enum over formatting
type: behavior
versions: Python 3.11

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



[issue44557] It's a bug? Dict

2021-07-03 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This is not a bug since in this case assignment is referring to the same object 
and thus mutating one variable reflects change in other variable.

Relevant FAQ : 
https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x

--
nosy: +xtreak

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



[issue44550] SPAM

2021-07-02 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
title: DIGITAL CLASSROOM -> SPAM

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



[issue44550] SPAM

2021-07-02 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
Removed message: https://bugs.python.org/msg396854

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



[issue44489] _handle_existing_loggers should respect loggers that were manually disabled

2021-06-22 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +vinay.sajip

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



[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +methane, paul.moore, steve.dower, tim.golden, zach.ware

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



[issue44475] Dataclass Causes Infinite Recursion when using type of bytes

2021-06-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue44466] faulthandler should indicate if the fault happened in garbage collection

2021-06-20 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +vstinner

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



[issue44451] test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests) fails on Fedora 33 and 34

2021-06-18 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This seems to have been reported also at 
https://bugs.python.org/issue44246#msg395202

--
nosy: +xtreak

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



[issue44417] bytecode<>line number mapping seems wrong in 3.10.0b2

2021-06-14 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +Mark.Shannon

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



[issue44376] Improve performance of integer exponentiation

2021-06-10 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +mark.dickinson

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



[issue44372] Can't install Python3.8, 3.9, 3.10 various errors including 0x80070643

2021-06-10 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

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



[issue44365] Bad dataclass post-init example

2021-06-09 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +eric.smith

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



[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-05-31 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This is done on a case by case basis and in places necessary in future code. 
Modifying existing code can pollute git history, make backports hard, might 
introduce subtle bugs etc. This is similar to proposal to use walrus operator, 
f-strings, etc. throughout the codebase.

--
nosy: +xtreak

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



[issue44267] Wrong PEP 515 parsing in decimal module (both C and Python versions)

2021-05-29 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +facundobatista, mark.dickinson, rhettinger

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



[issue44250] Link to ibera IRC goes to 404 page

2021-05-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Reported at https://github.com/python/pythondotorg/issues/1776 . This tracker 
deals with CPython related issues and python.org has its own tracker at GitHub.

--
nosy: +xtreak
resolution:  -> third party
stage:  -> resolved
status: open -> closed

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



[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Seems this was reported in 
https://github.com/python/importlib_metadata/issues/300 . Closed in 
https://github.com/python/importlib_metadata/commit/5ca9bc7dcf73d72260486afb28dadf5e532cf657.

--
nosy: +xtreak

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



[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

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



[issue44185] mock_open file handle __exit__ does not call close

2021-05-20 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

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



[issue44184] crash on windows invoking flake8 under tox

2021-05-19 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

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



[issue44183] Can't install certificates if GUI tools are not installed on macOS

2021-05-19 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +macOS
nosy: +ned.deily, ronaldoussoren

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



[issue44166] Make IndexError messages for list more informative

2021-05-18 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +pablogsal

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



[issue44111] 404 link on python webpage

2021-05-12 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

python.org > Community > Diversity Statement links to 
https://www.python.org/community/diversity/ renders the page properly. I don't 
see any links to /community-landing/diversity in the source code.

If this is an issue I guess this is something that must be reported to 
https://github.com/python/pythondotorg and looks like a third-party issue to me.

--
nosy: +xtreak

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



[issue44102] mock_open does not support the use of 'seek()'

2021-05-10 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue25690 . 
https://github.com/nivbend/mock-open has support for seek.

As stated in the other issue supporting all operations of a filesystem might 
add more complexity.

--
components: +Library (Lib)
nosy: +cjw296, lisroach, mariocj89, michael.foord, rbcollins, xtreak
type: behavior -> enhancement
versions: +Python 3.11 -Python 3.9

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



[issue44095] Add suffix property to zipfile.Path

2021-05-10 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

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



[issue44089] csv.Error can't be subclassed

2021-05-09 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +petr.viktorin

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



[issue44057] Inconsitencies in `__init_subclass__` in a generic class

2021-05-06 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +gvanrossum, levkivskyi

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



[issue44052] patch object as argument should be explicit

2021-05-06 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

In my test cases I have ended up just ignoring the mock object with a 
placeholder if it's not needed. For the given use case you can do this using 
patch objects at setUp and tearDown like in 
https://docs.python.org/dev/library/unittest.mock-examples.html#applying-the-same-patch-to-every-test-method
 . I feel introducing another argument increases the complexity on the existing 
patch api which already has a lot of options.

I have added others for their thoughts on this API change.


from unittest.mock import Mock, patch
from unittest import TestCase, main


class Foo:
properties = []


class FooTest(TestCase):
def setUp(self):
patcher = patch(f"{__name__}.Foo.properties", new_callable=list)
self.addCleanup(patcher.stop)
patcher.start()

def test_foo(self):
Foo.properties.append(1)
self.assertEqual(Foo.properties, [1])

def test_bar(self):
Foo.properties.append(2)
self.assertEqual(Foo.properties, [2])


if __name__ == "__main__":
main()

--
nosy: +cjw296, lisroach, mariocj89, michael.foord, xtreak
type:  -> behavior
versions: +Python 3.11

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



[issue44033] Adding multiple keys of the same name to a dict doesn't raise an exception

2021-05-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Looks like a duplicate of https://bugs.python.org/issue16385

--
nosy: +xtreak

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



[issue44021] enum docs in 3.10: missing "New in version 3.10"

2021-05-03 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +barry, eli.bendersky, ethan.furman

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



[issue44018] Bug in random.seed

2021-05-03 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +mark.dickinson, rhettinger

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



[issue44017] Deprecation warning in tests over no current event loop

2021-05-03 Thread Karthikeyan Singaravelan


New submission from Karthikeyan Singaravelan :

Related to warnings from issue39529

./python -Wall -m test test_contextlib_async test_unittest
0:00:00 load avg: 0.91 Run tests sequentially
0:00:00 load avg: 0.91 [1/2] test_contextlib_async
Task was destroyed but it is pending!
task: ()>>
Task was destroyed but it is pending!
task: ()>>
Task was destroyed but it is pending!
task: ()>>
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()
/root/cpython/Lib/test/test_contextlib_async.py:374: DeprecationWarning: There 
is no current event loop
  f = asyncio.ensure_future(coro)
/root/cpython/Lib/test/test_contextlib_async.py:372: DeprecationWarning: There 
is no current event loop
  loop = asyncio.get_event_loop()

[issue39950] Add pathlib.Path.hardlink_to()

2021-05-03 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The changes have introduced deprecation warnings in tests. It seems 
https://github.com/python/cpython/blob/ad106c68eb00f5e4af2f937107baff6141948cee/Lib/test/test_pathlib.py#L1937
 is not covered.

./python -Wall -m test test_pathlib  
0:00:00 load avg: 0.81 Run tests sequentially
0:00:00 load avg: 0.81 [1/1] test_pathlib
/root/cpython/Lib/pathlib.py:1265: DeprecationWarning: pathlib.Path.link_to() 
is deprecated and is scheduled for removal in Python 3.12. Use 
pathlib.Path.hardlink_to() instead.
  warnings.warn("pathlib.Path.link_to() is deprecated and is scheduled "
/root/cpython/Lib/pathlib.py:1265: DeprecationWarning: pathlib.Path.link_to() 
is deprecated and is scheduled for removal in Python 3.12. Use 
pathlib.Path.hardlink_to() instead.
  warnings.warn("pathlib.Path.link_to() is deprecated and is scheduled "

== Tests result: SUCCESS ==

1 test OK.

Total duration: 2.9 sec
Tests result: SUCCESS

Also it will be nice to point to the line causing deprecation instead of the 
library soruce code that will help users identify the deprecated usage. Using 
stacklevel=2 might help here 
https://docs.python.org/3/library/warnings.html#warnings.warn


./python -Wall -m test test_pathlib  
0:00:00 load avg: 1.82 Run tests sequentially
0:00:00 load avg: 1.82 [1/1] test_pathlib
/root/cpython/Lib/test/test_pathlib.py:1937: DeprecationWarning: 
pathlib.Path.link_to() is deprecated and is scheduled for removal in Python 
3.12. Use pathlib.Path.hardlink_to() instead.
  q.link_to(r)
/root/cpython/Lib/test/test_pathlib.py:1937: DeprecationWarning: 
pathlib.Path.link_to() is deprecated and is scheduled for removal in Python 
3.12. Use pathlib.Path.hardlink_to() instead.
  q.link_to(r)

== Tests result: SUCCESS ==

1 test OK.

Total duration: 4.3 sec
Tests result: SUCCESS

--
nosy: +xtreak

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



[issue44016] Enum related deprecation warnings in test_httpservers and test_faulthandler

2021-05-03 Thread Karthikeyan Singaravelan


New submission from Karthikeyan Singaravelan :

These warnings seem to be related to changes in issue43945

./python -Wall -m test test_httpservers test_faulthandler
0:00:00 load avg: 4.83 Run tests sequentially
0:00:00 load avg: 4.83 [1/2] test_httpservers
/root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('HEAD', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('HEAD', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('HEAD', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('HEAD', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('HEAD', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('SEND_ERROR', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('SEND_ERROR', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('SEND_ERROR', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('SEND_ERROR', '/{}'.format(code))
/root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  self.con.request('SEND_ERROR', '/{}'.format(code))
0:00:00 load avg: 4.83 [2/2] test_faulthandler
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(
/root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 
format() will use the enum member, not the enum member's value;
use a format specifier, such as :d for an IntEnum member, to maintain the 
current display
  code = code.format(

== Tests result: SUCCESS ==

All 2 tests OK.

Total duration: 22.9 sec
Tests result: SUCCESS

--
components: Tests
messages: 392778
nosy: ethan.furman, vstinner, xtreak
priority: normal
severity: normal
status: open
title: Enum related deprecation warnings in test_httpservers and 
test_faulthandler
type: behavior
versions: Python

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-03 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The PR made sslproto a hard dependency that even import asyncio fails on 
non-ssl builds and thus anything that indirectly import asyncio also fails. It 
seems some of the test modules can be skipped. Some parts of the asyncio 
codebase already has checks for ssl and has to be done for new parts. Attached 
is a patch to add more checks but it will be helpful to ensure only relevant 
parts that absolutely require ssl are skipped.

The test_make_socket_transport is slightly tricky since it tries to simulate 
ssl being not present by patching it but mock does import of sslproto which 
will fail since SSLAgainErrors is initialized at module level. Perhaps the test 
can be modified better to only mock if ssl is not present.


diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index e54ee309e4..6ccac76dfb 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -41,13 +41,14 @@
 from . import exceptions
 from . import futures
 from . import protocols
-from . import sslproto
 from . import staggered
 from . import tasks
 from . import transports
 from . import trsock
 from .log import logger
 
+if ssl is not None:
+from . import sslproto
 
 __all__ = 'BaseEventLoop',
 
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index 10852afe2b..ac0dc1978c 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -19,11 +19,17 @@
 from . import futures
 from . import exceptions
 from . import protocols
-from . import sslproto
 from . import transports
 from . import trsock
 from .log import logger
 
+try:
+import ssl
+except ImportError:  # pragma: no cover
+ssl = None
+
+if ssl is not None:
+from . import sslproto
 
 def _set_socket_extra(transport, sock):
 transport._extra['socket'] = trsock.TransportSocket(sock)
@@ -826,6 +832,9 @@ def loop(f=None):
  server, addr, conn)
 protocol = protocol_factory()
 if sslcontext is not None:
+if ssl is None:
+raise RuntimeError('Python ssl module is not 
available')
+
 self._make_ssl_transport(
 conn, protocol, sslcontext, server_side=True,
 extra={'peername': addr}, server=server,
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py
index 63ab15f30f..9bc9a03699 100644
--- a/Lib/asyncio/selector_events.py
+++ b/Lib/asyncio/selector_events.py
@@ -23,11 +23,12 @@
 from . import events
 from . import futures
 from . import protocols
-from . import sslproto
 from . import transports
 from . import trsock
 from .log import logger
 
+if ssl is not None:
+from . import sslproto
 
 def _test_selector_event(selector, fd, event):
 # Test if the selector is monitoring 'event' events
@@ -213,6 +214,9 @@ def _accept_connection(
 protocol = protocol_factory()
 waiter = self.create_future()
 if sslcontext:
+if ssl is None:
+raise RuntimeError('Python ssl module is not available')
+
 transport = self._make_ssl_transport(
 conn, protocol, sslcontext, waiter=waiter,
 server_side=True, extra=extra, server=server,
diff --git a/Lib/test/test_asyncio/test_selector_events.py 
b/Lib/test/test_asyncio/test_selector_events.py
index 349e4f2dca..6aaa7a86be 100644
--- a/Lib/test/test_asyncio/test_selector_events.py
+++ b/Lib/test/test_asyncio/test_selector_events.py
@@ -70,6 +70,7 @@ def test_make_socket_transport(self):
 
 close_transport(transport)
 
+@unittest.skipIf(ssl is None, 'No ssl module')
 @mock.patch('asyncio.selector_events.ssl', None)
 @mock.patch('asyncio.sslproto.ssl', None)
 def test_make_ssl_transport_without_ssl_error(self):
diff --git a/Lib/test/test_asyncio/test_ssl.py 
b/Lib/test/test_asyncio/test_ssl.py
index 38235c63e0..c58346bcab 100644
--- a/Lib/test/test_asyncio/test_ssl.py
+++ b/Lib/test/test_asyncio/test_ssl.py
@@ -1,3 +1,8 @@
+from test.support import import_helper
+
+# Skip tests if we don't have ssl
+import_helper.import_module('ssl')
+
 import asyncio
 import asyncio.sslproto
 import contextlib
diff --git a/Lib/test/test_asyncio/test_sslproto.py 
b/Lib/test/test_asyncio/test_sslproto.py
index 79a81bd8c3..2edbb11b58 100644
--- a/Lib/test/test_asyncio/test_sslproto.py
+++ b/Lib/test/test_asyncio/test_sslproto.py
@@ -11,6 +11,9 @@
 except ImportError:
 ssl = None
 
+# Skip tests if we don't have ssl
+support.import_helper.import_module('ssl')
+
 import asyncio
 from asyncio import log
 from asyncio import protocols

--
nosy: +xtreak

___
Python tracker 
<https://bugs.python.org/issue44011>
___
___
Python-bug

[issue44014] Fix error in Enum documentation.

2021-05-03 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +ethan.furman

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



[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-03 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +pablogsal

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



[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks, the change was merged in December 14, 2020 just missing 3.8.7 . Can you 
please upgrade to 3.8.8 or 3.8.9 and try? If the issue still persists I guess 
it's then an issue with yapf since Python 3.8.8 has the code merged with tests.

--

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



[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

https://bugs.python.org/issue36541 add support for walrus operator and 
positional arguments. Relevant commit : 
https://github.com/python/cpython/commit/06bfd033e847bedb6e123d131dcf46393a4555df

Relevant yapf issue on python 3.8 support : 
https://github.com/google/yapf/issues/772

Can you please add the exact python version you are using?

--
nosy: +xtreak

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



[issue43919] Potential bug in the "request" package.

2021-04-23 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The tracker is for issues related to CPython. requests is not part of stdlib so 
I am closing this as a third party issue. It seems this was already raised in 
requests repo https://github.com/psf/requests/issues/3017 .

--
nosy: +xtreak
resolution:  -> third party
stage:  -> resolved
status: open -> closed

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



[issue43907] pickle.py bytearray memoization bug with protocol 5

2021-04-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +pitrou

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



[issue43904] Documentation for argparse, missed opportunity

2021-04-21 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +paul.j3, rhettinger

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



[issue43883] Making urlparse WHATWG conformant

2021-04-18 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

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



[issue43882] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-04-18 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also a related issue to sanitise newline on other helper functions 
https://bugs.python.org/issue30713

See also discussion and compatibility on disallowing control characters : 
https://bugs.python.org/issue30458

--
nosy: +gregory.p.smith, vstinner, xtreak

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



[issue43873] bz2.open() docs give conflicting defaults for mode

2021-04-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This was fixed in https://github.com/python/cpython/pull/15100 and not 
backported.

--
nosy: +xtreak

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



[issue43871] urllib.parse.urlparse doesn't check port

2021-04-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I guess moving port validation logic to parsing time is done as part of 
https://github.com/python/cpython/pull/16780

--
nosy: +orsenthil, vstinner, xtreak

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



[issue43862] warnings: -W option and PYTHONWARNINGS now use the message as a regex

2021-04-16 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue34624

--
nosy: +xtreak

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



[issue43861] A potential double free in list_sort_impl

2021-04-16 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +rhettinger, tim.peters

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



[issue43844] [easy] test_lib2to3 logs a PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+

2021-04-14 Thread Karthikeyan Singaravelan

Karthikeyan Singaravelan  added the comment:

I fixed this in https://github.com/python/cpython/pull/21694 . Somehow this 
seems to emit warning over full test run and not in individual case :( Is there 
a command to reproduce this always? I ran the command but it's successful for 
me and doesn't show the warning.

./python -Werror -m test -v test_lib2to3 -m test_load_grammar_from_subprocess
== CPython 3.10.0a7+ (heads/master:d9151cb453, Apr 13 2021, 03:10:47) [GCC 
7.5.0]
== Linux-4.15.0-99-generic-x86_64-with-glibc2.27 little-endian
== cwd: /root/cpython/build/test_python_20462æ
== CPU count: 1
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 0.02 Run tests sequentially
0:00:00 load avg: 0.02 [1/1] test_lib2to3
test_load_grammar_from_subprocess (lib2to3.tests.test_parser.TestPgen2Caching) 
... ok

--

Ran 1 test in 0.164s

OK

== Tests result: SUCCESS ==

1 test OK.

Total duration: 303 ms
Tests result: SUCCESS

--
nosy: +xtreak

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



[issue43840] [easy] test_distutils logs 3 DeprecationWarning warnings

2021-04-14 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I have reported this in the original issue earlier 
https://bugs.python.org/issue41282#msg388224 . See also 
https://bugs.python.org/issue43425 for more discussion over handling this.

--
nosy: +xtreak

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



  1   2   3   4   5   6   7   8   9   10   >