INADA Naoki :
> For Python 3.6, I think best way to allow arbitrary bytes on stdout is
> using `PYTHONIOENCODING=utf-8:surrogateescape` environment variable.
Good info!
Marko
--
https://mail.python.org/mailman/listinfo/python-list
Please use Python 3.7.
Python 3.7 has several improvements on this area.
* When PEP 538 or 540 is used, default error handler for stdio is
surrogateescape
* You can sys.stdout.reconfigure(errors='surrogateescape')
For Python 3.6, I think best way to allow arbitrary bytes on stdout is using
`PYTH
On 09Aug2018 03:14, MRAB wrote:
[...]
Is it true that Unix filenames can contain control characters, e.g. \x07?
Yep. They're just byte strings. You can't have \0 (NUL) because the API uses
NUL terminated strings, and you can't use slash '/' in the filename components
because that is the comp
On 2018-08-09 01:14, Thomas Jollans wrote:
On 09/08/18 01:48, MRAB wrote:
On 2018-08-08 23:16, Thomas Jollans wrote:
On *nix, file names are bytes. In real life, we prefer to think of file
names as strings. How non-ASCII file names are created is determined by
the locale, and on most systems th
On 09/08/18 01:48, MRAB wrote:
> On 2018-08-08 23:16, Thomas Jollans wrote:
>> On *nix, file names are bytes. In real life, we prefer to think of file
>> names as strings. How non-ASCII file names are created is determined by
>> the locale, and on most systems these days, every locale uses UTF-8 an
On 2018-08-08 23:16, Thomas Jollans wrote:
On *nix, file names are bytes. In real life, we prefer to think of file
names as strings. How non-ASCII file names are created is determined by
the locale, and on most systems these days, every locale uses UTF-8 and
everybody's happy. Of course this does
On 08Aug2018 21:03, ma...@mail.com wrote:
[...] It seems that I do not really need NLTK. split() will do me. [...]
+1 QOTW
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
On *nix, file names are bytes. In real life, we prefer to think of file
names as strings. How non-ASCII file names are created is determined by
the locale, and on most systems these days, every locale uses UTF-8 and
everybody's happy. Of course this doesn't mean you'll never run into and
old direct
On 2018-08-08 20:17, jorge.conr...@cptec.inpe.br wrote:
Hi,
I downloade an example from:
http://basemaptutorial.readthedocs.io/en/latest/clip.html
from mpl_toolkits.basemap import Basemap
from matplotlib.path import Path
from matplotlib.patches import PathPatch
import matpl
On 2018-08-07, Stefan Ram wrote:
> Steven D'Aprano writes:
>>In natural language, words are more complicated than just space-separated
>>units. Some languages don't use spaces as a word delimiter.
>
> Even above, the word »units« is neither directly preceded
> nor directly followed by a spac
Hi,
I downloade an example from:
http://basemaptutorial.readthedocs.io/en/latest/clip.html
from mpl_toolkits.basemap import Basemap
from matplotlib.path import Path
from matplotlib.patches import PathPatch
import matplotlib.pyplot as plt
from osgeo import gdal
import numpy
import s
Hi Everyone! I’ve been working on a free product that I really think could
help out this community. No one likes stopping development to fix a build
that broke from changing upstream dependencies. I’ve created a tool to deal
with this, and I’m looking for beta users and some feedback from actual
de
Hello all,
I'm pleased to announce a new release of txkube, a Twisted-based library
for interacting with Kubernetes using the HTTP API. The big news for this
release is support for Python 3.6. Also included is support for multiple
configuration files in the KUBECONFIG environment variable which
On 8/8/18, Christian Heimes wrote:
> On 2018-08-08 00:07, Fetchinson . via Python-list wrote:
>> The highest version of openssl available on my system is 1.0.0 which
>> is not good enough for pip these days (or github for that matter). So
>> I've installed 1.1.0 to a custom location /home/fetch/op
14 matches
Mail list logo