> On 22 Mar 2021, at 13:07, Faisal Mahmood wrote:
>
> Thanks Jakub, I wasn't aware of the netaddr library but just gave it a play
> and it does seem very similar and I think it's very useful and completely
> valid.
>
> I think the subtle difference is also th
I can’t say how many library users actually consume this particular section of
the API, of course, but I expect this API to be used and it seems rather useful.
Best,
Jakub
[1] https://netaddr.readthedocs.io/en/latest/api.html#netaddr.IPNetwork.next
[2] https://netaddr.readthedocs.io/en/lates
ues.
>
>
>
> Erlend
To provide some context as you looked for issues on bpo: in the two I was
involved in[1][2] the resolution was to update the documenttion to reflect the
actual situation.
Best,
Jakub
[1] https://bugs.python.org/issue42230
rg/message/Q45VNQYOYXTRRTA26Q4M2WNXPFKL4S2O/
> Code of Conduct: http://python.org/psf/codeofconduct/
> ___
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.pytho
atches, of which
we have several (
https://github.com/oracle/solaris-userland/tree/master/components/python/python39/
).
Also, as mentioned in the bug tracker, we are looking at how to provide
build bots running on Oracle Solaris.
Jakub
pá 30. 10. 2020 v 13:54 odesílatel Victor Stinner
napsal:
&
== spam:
>>> # Match
>>> ```
> I like this one. Doesn't it also solve the issue of store vs. load?
> Everything is stored but the guard clause can look-up.
I have to say I find this to be the most satisfactory solution – everything
else (dot prev
> On 24 Jun 2020, at 19:14, Guido van Rossum wrote:
>
> (Jakub, next time please trim the original post from your quote to what's
> necessary.)
>
Apologies, unintentional, I was replying from the web interface since I wasn’t
subscribed to this gorup when the thread was s
> On 24 Jun 2020, at 17:57, mi...@drach.uk wrote:
>
> To me match also sound confusing as a keyword. You don't match things to
> cases in English.
> Maybe match x: against 1? https://idioms.thefreedictionary.com/match+against
>
> match point:
>against (x, 1):
>...
>against (1,
ors' determination to write
such a lengthy and (from skimming it) complex and comprehensive proposal *and*
providing a reference implementation on top of that, the amount of work
(including internal bikeshedding) must've been substantial.
Needless to say it's +1 from my humble pers
yyaml/issues/207
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
ntation could
return "C", or "POSIX", or even something entirely different.
Beyond that, I don't know what the actual functional differences are.
I don't believe there are any.
[0] http://pubs.opengroup.org/onlinepubs/9699919799/functions/setlocale.html
--
Jakub
yword "async" in their
codebase are like this:
from ..strategy.async import AsyncStrategy
from .async import AsyncStrategy
These do not provoke deprecation warnings from Python 3.6. (They
probably should!)
I'm afraid that showing deprecation warnings by default wouldn'
this means that you have
to request V1 to use \G though.)
No, \G is available in the V0 mode.
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/ma
leased in 1994.
PCRE supports it since v4.0, released in 2003.
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
ed, so continue directly to uploading files.
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
g() { set -e -u; git fetch origin \"pull/$1/head:gh-$1\" && git checkout
\"gh-$1\"; }; _g"
If I want to checkout PR#42, I do:
$ git hub-pr 42
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://ma
is unfortunate. It seems to imply that you can meaningfully
compare a language code and a territory code for equality. This is not the
case. For example, Belarusian (language code "be") is mainly spoken in Belarus
(country code "by"), not in Belgium (country code "be")
ble coercion from Python code, because it happens to
early. The best you can do is to write a wrapper script in a different language
that sets PYTHONCOERCECLOCALE=0; but then you still get a spurious warning.
--
Jakub Wilk
___
Python-Dev mailing list
Pyt
d it supports both capture groups and
greedy/non-greedy matching.
The implementation is explained in this article:
https://swtch.com/~rsc/regexp/regexp3.html
--
Jakub Wilk
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/ma
You are right, it should be https://pypi.python.org/pypi/flock
- Original Message -
From: "Benjamin Peterson"
To: "Jakub QB Dorňák" , "Python Dev"
Sent: Friday, April 11, 2014 6:38:43 PM
Subject: Re: [Python-Dev] flock in Python 3
On Fri, Apr 11, 2014,
Hi all,
writing a threaded application I've been surprised that there is no object api
for fcntl.flock implementing __enter__() and __exit__() methods to be used with
'with' statement.
I have written one (https://pypi.python.org/pypi), but I wonder whether this
could get into the Python Standar
21 matches
Mail list logo