Miro Hrončok

Results 305 comments of Miro Hrončok

> @hroncok would it be feasible to ensure the fedora/redhat rpm macros for python use addsite instead of pythonpath I am sorry, but I don't understand your suggestion fully. Could...

FTR setting `PYTHONUSERBASE=%{buildroot}%{_prefix}` in Fedora builds indeed makes the .pth files processed, but only for pure Python directory (`%{buildroot}%{_prefix}/lib/python...`), the .pth files in the platform-specific directory (`%{buildroot}%{_prefix}/lib64/python...`) are not processed...

I went trough issues and unassigned ones not being worked on right now. Sorry about that.

I believe that the only such STLs left are the ones in [supports](https://github.com/3DprintFIT/BI-3DT/tree/master/stls/supports)

Hello. I am one of Fedora's Python maintainers. topics and encodings are shipped as .pyc-only on purpose. The files are generated and we decided to only ship bytecode to save...

Yes, it's not in the pycache folder, but why would you think the magic number is incorrect? How do I quickly check the number from Python or shell to see...

I see the comments above. Will debug the headers. However note that I just got back from EuroPython and I am taking some time off computers.

```pycon >>> import pathlib, struct, marshal >>> pyc1 = pathlib.Path('/usr/lib64/python3.11/encodings/cp1250.pyc') >>> pyc2 = pathlib.Path('/usr/lib64/python3.11/encodings/__pycache__/cp1125.cpython-311.pyc') >>> bytes1 = pyc1.read_bytes() >>> bytes2 = pyc2.read_bytes() >>> bytes1[:4] b'\xa7\r\r\n' >>> bytes2[:4] b'\xa7\r\r\n' >>> struct.unpack("

I believe this comment is outdated: https://github.com/thebjorn/pydeps/blob/3c1c40b7198f58544c1d2fd10084de880176e544/pydeps/mf27.py#L66-L69 The number of bytes at point 2 depends on the Python version. - 16-4==12 on Python 3.7+ - 12-4==8 on Python 3.3-3.6 -...

Yes, CentOS has the same pyc files.