[issue45899] NameError on if clause of class-level list comprehension

2021-11-25 Thread ThiefMaster
Change by ThiefMaster : -- nosy: +ThiefMaster ___ Python tracker <https://bugs.python.org/issue45899> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43513] venv: recreate symlinks on --upgrade

2021-03-16 Thread ThiefMaster
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

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-17 Thread ThiefMaster
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`:

[issue30838] re \w does not match some valid Unicode characters

2017-07-03 Thread ThiefMaster
Changes by ThiefMaster : -- nosy: +ThiefMaster ___ Python tracker <http://bugs.python.org/issue30838> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27269] ipaddress: Wrong behavior with ::ffff:1.2.3.4 style IPs

2016-06-08 Thread ThiefMaster
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

[issue26068] re.compile() repr end quote truncated

2016-01-09 Thread ThiefMaster
ThiefMaster added the comment: Would it be possible to preserve the quotes even in case of truncation? -- ___ Python tracker <http://bugs.python.org/issue26

[issue26068] re.compile() repr end quote truncated

2016-01-09 Thread ThiefMaster
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

[issue26068] re.compile() repr end quote truncated

2016-01-09 Thread ThiefMaster
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

[issue26068] re.compile() repr end quote truncated

2016-01-09 Thread ThiefMaster
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

[issue23339] dict_values should be comparable with a set

2015-01-28 Thread ThiefMaster
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

[issue19505] OrderedDict views don't implement __reversed__

2013-11-05 Thread ThiefMaster
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

[issue15825] Typo in OrderedDict docs

2012-08-30 Thread ThiefMaster
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: