[issue39774] Missing documentation on how to make package executable as script

2021-04-12 Thread igo95862
Change by igo95862 : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39774> ___ ___ Python-bugs-

[issue42292] C API: Allocating Objects on the Heap. Misleading documentation.

2020-11-11 Thread igo95862
igo95862 added the comment: I found out that you can call the type as an object in order to create new object. Example: SdBusMessageObject *new_message_object = (SdBusMessageObject *)PyObject_Call((PyObject *), dummy_tuple, dummy_dict); This is somewhat not documented

[issue42292] C API: Allocating Objects on the Heap. Misleading documentation.

2020-11-08 Thread igo95862
Change by igo95862 : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue42292> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue42292] C API: Allocating Objects on the Heap. Misleading documentation.

2020-11-08 Thread igo95862
New submission from igo95862 : The issue is that the function names are too similar to other function that do completely different things. `PyObject_Init` this function does not use `__init__` at all. What it does is sets the already allocated object pointer to the specific type

[issue39774] Missing documentation on how to make package executable as script

2020-02-27 Thread igo95862
New submission from igo95862 : This is package documentation: https://docs.python.org/3/tutorial/modules.html#packages To make package executable (python -m package) you need to create a file __main__.py in the package directory. This is pretty much not documented anyone aside of trying