13 Commits

Author SHA1 Message Date
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen
695d23ca76 Quality: Updated to latest version of black
* Many improvements, esp. for the ternary expressions
  that are frequently used, they are now formatted
  much better.
2024-12-18 10:51:12 +01:00
Kay Hayen
f34f8d0c63 Bump copyright year
* Also split copyright notices between the top and bottom,
  such that readability of just opened files is not harmed
  by license text.
2024-12-18 10:48:16 +01:00
Kay Hayen
909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
Kay Hayen
3c4fdb93b9 Python2: Expose "__loader__" for modules and register with "pkg_resources" too
* Also avoid using "__loader__" from the post module hook, so it's safer
  in case the hooks are not compiled themselves.
2023-04-14 13:23:01 +02:00
Kay Hayen
4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen
e43b72e087 Bump copyright year to 2021. 2021-01-22 09:58:00 +01:00
Kay Hayen
b2083575cf Bump copyright year to 2020. 2020-02-01 07:42:45 +01:00
Kay Hayen
2928827ade Quality: Also autoformat programs test suite 2019-08-24 09:30:35 +02:00
Kay Hayen
624714ff67 Added module variable "__compiled__" with Nuitka version information. 2019-02-11 20:49:09 +01:00
Kay Hayen
47c99d377e Bump copyright year to 2019. 2019-01-24 16:28:13 +01:00
Kay Hayen
3957ee8628 Updated copyright year to 2018. 2018-04-30 09:46:54 +02:00
Kay Hayen
cde5dc88af Fix, for modules the "__package__" should be dynamic.
* Only at load time, the value is decided, so do not statically optimize
  for "__package__" as it is subject to change in those cases.

* Also, do not assign module attributes in the node tree, merely have
  special references for them, generated in case of no other assignment
  being seen. This affects "__loader__" and "__spec__" mostly

* The new nodes were moved to a new nodes module, along with the node
  that handles "__file__" already.
2018-01-02 18:29:37 +01:00