So is line breaks before or after operators .
--
Philip Jenvey
> On May 20, 2016, at 9:46 AM, Guido van Rossum wrote:
>
> ALso, in case anyone reading this didn't realize, this is a classic
> internet debate that has been going on for decades (just not on
> python-dev). Jus
> On May 13, 2016, at 11:37 AM, Brett Cannon wrote:
>
> Biggest changes since the second draft:
> Resolve __fspath__() from the type, not the instance (for Guido)
> if (PyObject_HasAttrString(path->ob_type, "__fspath__")) {
> return PyObject_CallMethodObjArgs(path->ob_type,
://bugs.python.org/issue26754 <http://bugs.python.org/issue26754>
http://bugs.python.org/issue26800 <http://bugs.python.org/issue26800>
--
Philip Jenvey
> On Apr 14, 2016, at 3:29 AM, Victor Stinner wrote:
>
> IMHO it's more a side effect of the implementation than a delibera
hg.python.org/benchmarks for CPython benchmarks, but it looks like
> pypy/benchmarks has the necessary runner, so I suppose we'll be using
> it for now. Is there interest from both sides to merge those
> repositories?
PyPy’s is a more extensive suite but it does not fully support Pyt
=
PyPy3 2.4 - Snow White
=
We're pleased to announce PyPy3 2.4, which contains significant performance
enhancements and bug fixes.
You can download the PyPy3 2.4.0 release here:
http://pypy.org/do
ypy documentation`:
http://doc.pypy.org/en/latest/getting-started.html#installing-using-virtualenv
.. _`virtualenv`: http://www.virtualenv.org/en/latest/
.. _`installation schemes`:
http://doc.pypy.org/en/latest/getting-started.html#installing-pypy
Cheers,
the Py
other non-Latin
> characters long before the Unicode Consortium existed.
Really? Because PEP 383 doesn't support and discourages the use of some of
these codecs as a locale.
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
ht
xgettext.
Babel can extract gettext messages from Python code and also has has plugins
for extracting from various popular Python templating languages. It's also
easier to setup against Python projects using distutils/setuptools.
--
Philip Jenvey
get_mtime(), etc.) to
> cache the value too. It's not only about stat().
With the proposed rich stat object the convenience methods living on Path
wouldn't result in much added convenience:
p.is_dir() vs p.stat().is_dir()
Why not move these methods from Path to a rich stat obj and not cach
PyPy3 2.1 beta 1
We're pleased to announce the first beta of the upcoming 2.1 release of
PyPy3. This is the first release of PyPy which targets Python 3 (3.2.3)
compatibility.
We would like to thank all of the people who donated_ to the `py3k proposal`_
for suppo
des a functional API for free:
import types
types.new_class('Season', (Enum,), dict(values='spring summer autumn'))
It's not convenient, but that doesn't matter because this usage is rare anyway.
Certainly much rarer than declarations of auto-numbered enums.
--
f the Solar System'''
>>
>> Not sure I like that. Ah well.
>
> The problem with this and similar proposals is that it puts things
> inside string quotes that belong outside them.
So does the convenience API outlined in the PEP, so this is just an alternative
to t
ses,
like documentation, e.g.:
class Protocol(Enum):
HOPOPT = 0, "IPv6 Hop-by-Hop Option"
ICMP = 1, "Internet Control Message"
IGMP = 2, "Internet Group Management"
@property
def value(self):
return self._value[0]
@property
def description(self):
re
ed duplication of the name:
class Point(namedtuple('Point', 'x y z')):
"""Planet location with Sun as etc"""
(Raymond's even endorsed the former):
http://bugs.python.org/msg111722
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Protocol(Enum):
HOPOPT = 0, "IPv6 Hop-by-Hop Option"
ICMP = 1, "Internet Control Message"
IGMP = 2, "Internet Group Management"
@property
def value(self):
return self._value[0]
@property
def description(self):
return self._value[1]
--
Philip
o
make Python code faster.
PyPy is indeed a work in progress in this area, but that doesn't
necessarily preclude it from being included.
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On Oct 1, 2012, at 2:32 PM, Serhiy Storchaka wrote:
> On 01.10.12 22:54, philip.jenvey wrote:
>> http://hg.python.org/cpython/rev/fb90e2ff95b7
>> changeset: 79378:fb90e2ff95b7
>> user:Philip Jenvey
>> date:Mon Oct 01 12:53:43 2012 -0700
>>
er_cache instead of
> NullImporter): no finder is available for an entry on sys.path when None is
> found.
Isn't it more explicit to cache the NullImporter instead of None?
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
precationWarning
or warnings.simplefilter('error', DeprecationWarning))
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On Nov 22, 2011, at 12:43 PM, Amaury Forgeot d'Arc wrote:
> 2011/11/22 Philip Jenvey
> One reason to target 3.2 for now is it's not a moving target. There's
> overhead involved in managing modifications to the pure python standard lib
> needed for PyPy, tracking 3.
to target 3.2 for now is it's not a moving target. There's overhead
involved in managing modifications to the pure python standard lib needed for
PyPy, tracking 3.3 changes as they happen as well exacerbates this.
The plans to split the standard lib into its own repo separate from core
CPyt
tain the Jython repo myself but if Georg or Philip
> accepts to do it it's fine.
>
>> One option would be to grant a Jython developer
>> control to account management - preferably a single person, who would
>> then also approve/apply changes to the hooks.
>
> +1.
Let&
accept the load. One option would be to grant a Jython developer
> control to account management - preferably a single person, who would
> then also approve/apply changes to the hooks.
That could be me. If this would mean creating an account for me on python.org
turn we like the idea of reciprocating commit rights
to Jython back to cpython committers.
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/
ork just as well.
>
> I'm going to make this my first request for what to change in Py4K. =)
+1 on changing this, it's annoying for alternate implementations. They
oftentimes implement functions in pure Python whereas user code might be
ex
o "default" (or "d") before running Python.
Python code can also re-enable them by calling
``warnings.simplefilter('default')``.
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.
rtualenv can create a "python" script that simply adds --prefix and
> forwards all the arguments to the real python executable.
> Or am I missing something?
It couldn't be a shell script, as they wouldn't work as shebang line
i
ng list that not everything has been done yet.
They've documented their upstream patches here:
http://code.google.com/p/unladen-swallow/wiki/UpstreamPatches
--
Philip Jenvey
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.
ad of nicely reporting them
and submitting patches on SourceForge ;-)
FYI Python (Jython) is already used in production of the F-35. There
was a talk @ PyCon '08 about it:
http://us.pycon.org/2008/conference/schedule/event/27/
http://www.youtube.com/watch?v=zgE55z_RNgQ
--
Phi
29 matches
Mail list logo