[Python-ideas] PEP 484 (Type Hints) -- first draft round
Guido van Rossum
guido at python.org
Sat Jan 17 02:24:44 CET 2015
On Fri, Jan 16, 2015 at 4:49 PM, Andrew Barnert <
abarnert at yahoo.com.dmarc.invalid> wrote:
> On Jan 16, 2015, at 13:47, Guido van Rossum <guido at python.org> wrote:
> On Fri, Jan 16, 2015 at 1:08 PM, Petr Viktorin <encukou at gmail.com> wrote:
>> "On Fri, Jan 16, 2015 at 6:17 PM, Guido van Rossum <guido at python.org>
>> > * WINDOWS
>> > * UNIXOID, equivalent to ``not WINDOWS``
>> I wonder what the use cases are here. Is this useful, as a dichotomy,
>> outside of asyncio (or other low-level stdlib code)?
> The stdlib is full of things that work differently on Windows.
> The stdlib is also full of things that work one way on Windows, another
> way on Unix, and another way (or, often, not at all) on (all, or specific)
> other platforms,
> I realize nobody is building Python 3.5 for classic Mac or Symbian S60
> or MicroVMS, but do we need to bake in as a permanent assumption that
> Python will never again run on a non-Windows non-POSIX-ish system?
> You already have both WINDOWS and UNIXOID; why not just remove the
> statement that one is the negation of the other?
Because that's going to be the assumption that people will make anyway.
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas