Change by ThiefMaster :
--
nosy: +ThiefMaster
___
Python tracker
<https://bugs.python.org/issue45899>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from ThiefMaster :
When using `python -m venv --upgrade someenv`, it rewrites `pyvenv.cfg` with
the current python version but leaves the python symlinks untouched
(https://github.com/python/cpython/blob/a8ef4572a6b28bcfc0b10b34fa4204954b9dd761/Lib/venv/__init__.py#L248)
This
New submission from ThiefMaster :
`subprocess.check_output(['echo', 'test'], text=True, input=None)` fails with
`AttributeError: 'bytes' object has no attribute 'encode'` due to the function
only checking for `universal_newlines` but not `text`:
Changes by ThiefMaster :
--
nosy: +ThiefMaster
___
Python tracker
<http://bugs.python.org/issue30838>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from ThiefMaster:
I'd expect the IPv4 address to be considered part of that network (or actually
parsed as an IPv4Address and not IPv6Address) even if it's written in IPv6
notation. It's an IPv4 after all.
Python 3.5.1 (default, Jun 7 2016, 09:20:44)
[GCC 4.9.3
ThiefMaster added the comment:
Would it be possible to preserve the quotes even in case of truncation?
--
___
Python tracker
<http://bugs.python.org/issue26
ThiefMaster added the comment:
Not eval'ing it, just wondered why the repr looks so weird when printing an
object containing a compiled regex ;)
--
___
Python tracker
<http://bugs.python.org/is
ThiefMaster added the comment:
I think it's pretty ugly to have a repr that is valid python code in most cases
and suddenly stops being so.
The repr of a string is not truncated, so why truncate it in a pattern object?
With the truncation, why not use a repr style that's c
New submission from ThiefMaster:
```
Python 3.4.3 (default, Jan 5 2016, 23:13:10)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> for n in range(19
New submission from ThiefMaster:
>>> d = {'1': '2'}
>>> {'1'} < d.keys()
False
>>> {'1'} < set(d.values())
False
>>> {'1'} < d.values()
Traceback (most recent call last):
File "", line 1, i
New submission from ThiefMaster:
The view objects for `collections.OrderedDict` do not implement `__reversed__`
so something like this fails:
>>> from collections import OrderedDict
>>> od = OrderedDict()
>>> reversed(od.viewvalues())
Trace
New submission from ThiefMaster:
"It is also straight-forward to create an ordered dictionary variant that the
remembers the order the keys were last inserted."
The first "the" doesn't belong there.
--
assignee: docs@python
components: Documentation
messages:
12 matches
Mail list logo