[issue37651] Change of inheritance of asyncio.CancelledError needs documentation
New submission from Gary van der Merwe : asyncio.CancelledError inheritance was changed in 3.8. https://bugs.python.org/issue32528 https://github.com/python/cpython/commit/431b540bf79f0982559b1b0e420b1b085f667bb7 The documentation still instructs the user to perform a pattern needed before this change. The documentation should probably change to inform them of the change, and to let them know that pattern is only necessary prior to 3.8. -- assignee: docs@python components: Documentation messages: 348297 nosy: docs@python, garyvdm priority: normal severity: normal status: open title: Change of inheritance of asyncio.CancelledError needs documentation versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue37651> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22962] ipaddress: Add optional prefixlen argument to ip_interface and ip_network
Gary van der Merwe added the comment: Indeed. Thanks to whoever fixed this. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue22962> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22962] ipaddress: Add optional prefixlen argument to ip_interface and ip_network
New submission from Gary van der Merwe: Currently if one has an ip address in int or IPv4Address/IPv6Address form, it is not possilbe to create a ip_interface or ip_network from that with specific prefix length, without first converting the address into string form, and then appending the prefixlen Please could an optional prefixlen argument to ip_interface and ip_network (and the __init__ functions for their backing classes) so that one can do this. e.g: it should work like this: >>> ipaddress.ip_interface(167772161, prefixlen=24) IPv4Interface('10.0.0.1/24') I would like to do a patch for this. I would just first like some feedback as to whether a patch for this would accepted. -- components: Library (Lib) messages: 231800 nosy: Gary.van.der.Merwe priority: normal severity: normal status: open title: ipaddress: Add optional prefixlen argument to ip_interface and ip_network type: enhancement ___ Python tracker <http://bugs.python.org/issue22962> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com