On 26Jun2016 1932, Larry Hastings wrote:
https://www.python.org/downloads/release/python-352/
...
/p.s. There appears to be a small oops with the Windows installers for
3.5.2--uploaded to the wrong directory or something. They'll be
available soon, honest!
That oops is now fixed, but I wanted
On Jun 21 2016, Serhiy Storchaka wrote:
> There is a design question. If you read file in some format or with
> some protocol, and the data is ended unexpectedly, when to use general
> EOFError exception and when to use format/protocol specific exception?
>
> For example when load truncated pickle
On 06/21/2016 01:48 PM, Serhiy Storchaka wrote:
There is a design question. If you read file in some format or with some
protocol, and the data is ended unexpectedly, when to use general
EOFError exception and when to use format/protocol specific exception?
I believe that EOFError was created
Nikolaus Rath wrote:
I think EOFError conveys more information. UnpicklingError can mean a
lot of things, EOFError tells you the precise problem: pickle expected
more data, but there was nothing left.
I think EOFError should be used for EOF between pickles,
but UnpicklingError should be used fo
On 06/27/2016 02:54 PM, Greg Ewing wrote:
Nikolaus Rath wrote:
I think EOFError conveys more information. UnpicklingError can mean a
lot of things, EOFError tells you the precise problem: pickle expected
more data, but there was nothing left.
I think EOFError should be used for EOF between pic
The point is that it's not an error. In Andre Malo's use case, at
least, EOFError is used as a control flow exception, not as an error.
On Mon, Jun 27, 2016 at 3:06 PM, Ethan Furman wrote:
> On 06/27/2016 02:54 PM, Greg Ewing wrote:
>>
>> Nikolaus Rath wrote:
>>>
>>> I think EOFError conveys more
On 06/27/2016 03:20 PM, Guido van Rossum wrote:
The point is that it's not an error. In Andre Malo's use case, at
least, EOFError is used as a control flow exception, not as an error.
Like StopIteration then: only an error if it escapes.
--
~Ethan~
___
On Mon, Jun 27, 2016, at 12:40, Ethan Furman wrote:
> On 06/21/2016 01:48 PM, Serhiy Storchaka wrote:
>
> > There is a design question. If you read file in some format or with some
> > protocol, and the data is ended unexpectedly, when to use general
> > EOFError exception and when to use format/p
On Mon, Jun 27, 2016 at 03:47:31PM -0700, Ethan Furman wrote:
> On 06/27/2016 03:20 PM, Guido van Rossum wrote:
>
> >The point is that it's not an error. In Andre Malo's use case, at
> >least, EOFError is used as a control flow exception, not as an error.
>
> Like StopIteration then: only an erro
It is my privilege to present you with another release in the Python 2.7
series, Python 2.7.12.
Since the release candidate, there were two changes:
- The Windows binaries have been changed to use OpenSSL 1.0.2h.
- The "about" dialog in IDLE was fixed.
Downloads, as always, are on python.org:
10 matches
Mail list logo