11 Commits

Author SHA1 Message Date
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02: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
John Vandenberg
5d15c7c704 Quality: Update and expand auto-formatting tools
* Update auto-formatting tools with newest isort and rstfmt.

* Also format of "tests/*/*.rst" and many test files.
2023-02-13 14:20:27 +01: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
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
064df32ff0 Updated copyright year to 2017. 2017-01-09 07:25:38 +01:00
Kay Hayen
d898723540 Optimization: Refactor to use shapes
* The optimization of "len" is now based on type shapes of its
  argument and detects exception raises for values that won't
  have a "__len__" slot.

* The optimization of "iter" is now based on type shapes too,
  and also detects exception raises for values that won't allow
  an iterator to be taken.

* Also the optimization to remove useless iterators is now
  done in the slot, as opposed to doing it through indicator
  functions on the value, this saves not only time, but is
  more readable.

* This also corrects wrong static calculation of len iterables
  that do not have "__len__", e.g. tuple iterators.

* Added shapes for built-in types, and assign e.g. "len()" result
  the information that it's an "int" or "long" (Python2).

* Ranges are lists, so are sequence multiplications. More of
  these annotations will be needed to take full advantages.
2016-09-19 09:34:10 +02:00