Re: [Python-Dev] We cannot fix all issues: let's close XML security issues (not fix them)

2018-09-07 Thread Jakub Wilk
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

Re: [Python-Dev] PEP 540: Add a new UTF-8 mode (v2)

2017-12-06 Thread Jakub Wilk
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

Re: [Python-Dev] Proposal: go back to enabling DeprecationWarning by default

2017-11-07 Thread Jakub Wilk
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'

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-29 Thread Jakub Wilk
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

Re: [Python-Dev] \G (match last position) regex operator non-existant in python?

2017-10-27 Thread Jakub Wilk
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

Re: [Python-Dev] SK-CSIRT identified malicious software libraries in the official Python package repository, PyPI

2017-09-15 Thread Jakub Wilk
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

Re: [Python-Dev] Helping contributors with chores (do we have to?)

2017-06-25 Thread Jakub Wilk
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

Re: [Python-Dev] PEP 545: Python Documentation Translations

2017-03-29 Thread Jakub Wilk
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")

Re: [Python-Dev] PEP 538: Coercing the legacy C locale to a UTF-8 based locale

2017-03-11 Thread Jakub Wilk
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

Re: [Python-Dev] re performance

2017-01-29 Thread Jakub Wilk
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