Paul Sokolovsky wrote:
> Hello,
> On Tue, 5 Jan 2021 20:37:27 +1000
> Nick Coghlan ncogh...@gmail.com wrote:
> > object(host=as host, port=as port}:", but that
> > couldn't ever be
> > I'd like to point out the weirdness of the "as" syntax when applied
> to
> positional arguments, e.g.:
> case [as
Hi,
I'm Joseph, the co-author of PEP 472. You can remove the second complication ;)
You can even remove my name if it simplifies things, Stefano did all of the
work anyway.
I'm also following the discussion on python-ideas and I like the way it seem to
go with "standard" kwargs. It didn't
> - there is no os function that returns "str or bytes, I don't
> care which". (If you really need that, call __fspath__ directly.)
os.fspath() in the PEP works when given str or bytes directly, but those
don't have a __fspath__ method, so directly calling the dunder method is not
equivalent
Victor Stinner gmail.com> writes:
>
> Hi,
>
> I changed the Python compiler to ignore any kind "constant
> expressions", whereas it only ignored strings and integers before:
> http://bugs.python.org/issue26204
>
> The compiler now also emits a SyntaxWarning on such case. IMHO the
> warning
Le 18/08/2014 03:02, Guido van Rossum a écrit :
On Sun, Aug 17, 2014 at 6:29 AM, Barry Warsaw ba...@python.org
mailto:ba...@python.org wrote:
On Aug 16, 2014, at 07:43 PM, Guido van Rossum wrote:
(Don't understand this to mean that we should never deprecate things.
Deprecations
Le 26/06/2014 20:34, Gregory Szorc a écrit :
I'm an advocate of getting users and projects to move to modern Python
versions. I believe dropping support for end-of-lifed Python versions is
important for the health of the Python community. If you've done any
amount of Python 3 porting work, you
Le 26/06/2014 22:00, Antonio Cavallo a écrit :
Of course Anaconda is oriented towards scientific applications but it is
a proof that a pre-build binary installer works and can be simple to
use.
Rpm are the blessed way to instal software on linux: it supports what
most sysadmin expect (easy
Le 15/06/2014 05:15, Steve Dower a écrit :
So is exec(tokenize.open(file).read()) the actual replacement for
execfile()? Not too bad, but still not obvious (or widely promoted - I'd
never heard of it).
Another way is to open the file in binary, then exec() checks itself if
an encoding is