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.

Author eli.bendersky
Recipients Ramchandra Apte, amak, eli.bendersky, eric.araujo, ezio.melotti, georg.brandl, giampaolo.rodola, hynek, ncoghlan, pmoody, python-dev, sandro.tosi, serhiy.storchaka, terry.reedy, tshepang
Date 2012-08-10.03:47:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344570458.1.0.966229297962.issue14814@psf.upfronthosting.co.za>
In-reply-to
Content
Attaching a new patch that fixes the with_* methods to be more consistent, and the relevant tests too. The doc is now consistent as well.

For some reason IPv6Interface.with_netmask also returned the prefixlen representation. The test justified it by quoting RFC3513/2.3 but I did not see anything there that really forces us to do that. Perhaps the with_netmask/with_hostmask representations are nonsensical for v6 and we keep them for v4 compatibility, but in that case let them be compatible!
History
Date User Action Args
2012-08-10 03:47:39eli.benderskysetrecipients: + eli.bendersky, georg.brandl, terry.reedy, ncoghlan, giampaolo.rodola, amak, ezio.melotti, eric.araujo, pmoody, sandro.tosi, tshepang, python-dev, Ramchandra Apte, hynek, serhiy.storchaka
2012-08-10 03:47:38eli.benderskysetmessageid: <1344570458.1.0.966229297962.issue14814@psf.upfronthosting.co.za>
2012-08-10 03:47:37eli.benderskylinkissue14814 messages
2012-08-10 03:47:36eli.benderskycreate