Re: [Python-Dev] Request for comments: [issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-14 Thread francis
Hi, > I, too, was thinking /24. I think that overflowing the host portion > should raise OverflowError. > Just curiosity, why not a modulo calculation on the subnet instead of raising the error? Thanks in advance! francis ___ Python-Dev mailing list Py

Re: [Python-Dev] (ctypes example) libffi embedded in CPython

2015-03-14 Thread francis
Hi > > It might be a matter of taste, but I don't find declaring C functions > any more awkward than using strange interface that ctypes comes with. > the equivalent in cffi would be ffi.cast("double (*)()", x) - Could you please elaborate on "using strange interface"? - Is there an easy way to c

Re: [Python-Dev] libffi embedded in CPython

2015-03-14 Thread Matthias Klose
On 03/11/2015 06:27 PM, Brett Cannon wrote: > On Mon, Dec 22, 2014 at 4:49 PM Jim J. Jewett wrote: > >> >> >> On Thu, Dec 18, 2014, at 14:13, Maciej Fijalkowski wrote: >>> ... http://bugs.python.org/issue23085 ... >>> is there any reason any more for libffi being included in CPython? >> >> >> Pau

Re: [Python-Dev] Request for comments: [issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-14 Thread Eric V. Smith
On 3/14/2015 7:04 AM, francis wrote: > Hi, >> I, too, was thinking /24. I think that overflowing the host portion >> should raise OverflowError. >> > Just curiosity, why not a modulo calculation on the subnet instead > of raising the error? Personally, I can't imaging wanting that behavior. I can'

Re: [Python-Dev] Request for comments: [issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-14 Thread Eric V. Smith
On 3/14/2015 4:52 PM, Eric V. Smith wrote: > On 3/14/2015 7:04 AM, francis wrote: >> Hi, >>> I, too, was thinking /24. I think that overflowing the host portion >>> should raise OverflowError. >>> >> Just curiosity, why not a modulo calculation on the subnet instead >> of raising the error? > > Pe

[Python-Dev] Minor update to Python 3.5 release schedule

2015-03-14 Thread Larry Hastings
I always intended all my releases to be on Sundays--that all the release engineering work is done on weekends, which is generally easier for everybody. But I goofed up the 3.5 release schedule and had proposed 3.5.0a3 to be released Saturday March 28th. With the assent of the team I bumped

Re: [Python-Dev] Request for comments: [issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-14 Thread Stephen J. Turnbull
Eric V. Smith writes: > Personally, I can't imaging wanting that behavior. I can't say I've ever > needed additional at all with an IP address, but if I did, it would only > be to stay within the host portion. To wrap around seems odd. It's worse than odd. I've occasionally had use for iterat

[Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-14 Thread Ethan Furman
I'm not sure exactly how to phrase this inquiry, so please bear with me. What exactly does backwards compatibility mean as far as pickle goes? We have the various protocols, we have the contents of pickle files created at those protocols, and we have different versions of Python. Should a pick

Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-14 Thread Ethan Furman
[1] The second option hasn't been coded yet, but the first one has. signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.py

Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-14 Thread Glenn Linderman
On 3/14/2015 10:52 PM, Ethan Furman wrote: I'm not sure exactly how to phrase this inquiry, so please bear with me. What exactly does backwards compatibility mean as far as pickle goes? We have the various protocols, we have the contents of pickle files created at those protocols, and we have