This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ipaddress.py new IPv6 Method for Solicited Multicast Address
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Jason.Nadeau, eric.smith, ncoghlan, neologix, pmoody
Priority: normal Keywords: patch

Created on 2014-09-15 13:36 by Jason.Nadeau, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
solicitedMulticastAddress.patch Jason.Nadeau, 2014-09-15 13:36 Patch file containing the solicitedMulticastAddress method
Messages (2)
msg226916 - (view) Author: Jason Nadeau (Jason.Nadeau) * Date: 2014-09-15 13:36
I found it was useful to me to calculate and return an IPv6Address instance of the solicited multicast address for a particular IPv6Address. So I have created patch to do so. I am pretty new to programming in general so critiques are totally welcome.
msg226955 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2014-09-16 15:02
Changing to 3.5 only, as this is an API addition so it can only be added there.

I think that raising an exception instead of retuning None for a multicast address would be a better API.

Any chance you can write some tests?

Thanks!
History
Date User Action Args
2022-04-11 14:58:08adminsetgithub: 66608
2014-09-16 15:02:28eric.smithsetversions: - Python 3.1, Python 3.2, Python 3.3, Python 3.4
nosy: + eric.smith

messages: + msg226955

stage: test needed
2014-09-15 19:07:22pitrousetnosy: + neologix
2014-09-15 17:46:13ned.deilysetnosy: + ncoghlan, pmoody
2014-09-15 13:36:07Jason.Nadeaucreate