Коренберг Марк

Results 101 issues of Коренберг Марк

Please remove shebang. Without this, rpm-automatic-requirements-detector adds `zsh` as requirement for that module. these files also should not be executable in order completion to work. Exactly the same for `bash`...

`xn--2y0c.ws` for some reason interpreted as `%EE%80%82.ws`

``` [mmarkk@asus home]$ python -m timeit -s 'import random' 'random.randbytes(8)' 5000000 loops, best of 5: 93.9 nsec per loop [mmarkk@asus home]$ python -m timeit -s 'import os' 'os.urandom(8)' 1000000 loops,...

```python #!/usr/bin/python3 from pyroute2.ethtool import Ethtool # pylint: disable=no-name-in-module,import-error import os import subprocess import gc def main(): subprocess.check_call(['ls', '-l', f'/proc/{os.getpid()}/fd']) Ethtool() gc.collect() subprocess.check_call(['ls', '-l', f'/proc/{os.getpid()}/fd']) if __name__ == '__main__': main()...

bug

What I think: `ipr.link_lookup(ifname='xxx')` - should lookup by iface name (works OK) This one gives nothing: `ipr.link_lookup(alt_ifname='xxx')` - should lookup by alternative name (IFLA_ALT_IFNAME) This one works partly: `ipr.link_lookup('xxx')` -...

Even though they have two forms of nouns, the same form of words is used when talking about a specific quantity of something. CLDR-17370 Changed kk (Kazakh language) plural forms...

Sources: ``` $ fgrep 'deinit called' -iR . -B2 ./testdata/pymod_thread.tdir/pymod_thread.py- ./testdata/pymod_thread.tdir/pymod_thread.py-def deinit(id): ./testdata/pymod_thread.tdir/pymod_thread.py: log_info("pythonmod: deinit called, module id is %d" % id) -- ./testdata/pymod.tdir/pymod.py- ./testdata/pymod.tdir/pymod.py-def deinit(id): ./testdata/pymod.tdir/pymod.py: log_info("pythonmod: deinit called,...

It is faster and without floating point. Just `time.clock_gettime_ns() // 1000000` to get milliseconds.