Commit Graph

27 Commits

Author SHA1 Message Date
Kay Hayen
47332da901 Cleanup, syntax errors always improved.
* Always output the best syntax error format, and do away with compatible
  syntax errors. Instead make the comparison restricted to the message
  of error only.

* This reduces tedious code and tried to mimic the various Python versions
  errors for no good reasons.
2017-01-14 16:25:46 +01:00
Kay Hayen
064df32ff0 Updated copyright year to 2017. 2017-01-09 07:25:38 +01:00
Kay Hayen
72ac16cfd9 Updated copyright year to 2016 2016-01-04 09:34:48 +01:00
Kay Hayen
08c5e4df9c Cleanup, don't invert the "internal" attribute of source code reference
* The function "isInternal" didn't do what its name said.

* Also factor the code to get the line number value into a separate
  function, which we will need.
2015-06-30 19:03:21 +02:00
Kay Hayen
aea598f66a Cleanup, source code references now are properly internal.
* The reduction to line setting, doesn't quite cut it. Internal code
  may have other exceptions too.

* This was done to not warn about internal code, but then it became
  clear it's not needed, so only the cleanup remains.
2015-04-15 08:22:33 +02:00
Kay Hayen
cc7de4e4d9 Optimization: Use less source code reference objects.
* Cover the source code reference instance in counting, which
  revealed that even for non-changes to the line number, we
  were creating a whole new object that is the same.

* Reduces memory consumption of Nuitka in a normal stdlib using
  and recursing test case by 50MB or 7%.

* Also use __slots__ to limit memory usage a little bit further,
  this gives an extra 15MB.
2015-04-06 11:08:13 +02:00
Kay Hayen
49fb956558 Standalone: Added support for Qt4/5 plugins.
* The plugin folders are determined by asking the modules themselves
  in a separate process.

* The plugin DLLs are then added as entry points, so their used DLLs
  get copied too.

* Added an "-onLoad" mechanism for plugins to provide modules that
  should be loaded when another is first imported.
2015-03-30 08:59:32 +02:00
Kay Hayen
bc8367e3bd Updated copyright year to 2015 2015-01-13 08:43:41 +01:00
Kay Hayen
c2a8b58ed2 Cleanups
* Whitespace of tuples and lists around braces should not be there.

* Also done with autoformat tool.
2014-12-02 20:33:46 +01:00
Kay Hayen
876f670fb7 Memory: Avoid an attribute per compile time constant in the normal case.
* Most constants are never considered for attribute lookup, so storing an
  indicator per node is wasteful.

* The default is now stored in the class. Only when lookups were made and
  failed, the node is changed to cache that information.
2014-08-10 11:27:40 +02:00
Kay Hayen
3915ee82a5 Minor cleanups
* Remove "exec" source code references, they are not used currently and
  won't be in the future.
2014-07-10 09:06:13 +02:00
Kay Hayen
bf480213dd Updated copyright year to 2014 2014-03-02 07:57:59 +01:00
Kay Hayen
ec85e06a3e Cleanups only
* Format function and class definitions with no spaces for braces.

* PyLint cleanups
2013-12-28 11:17:33 +01:00
Kay Hayen
3916ef077f Minor Cleanups
* Comment changes for 80 columns changes mostly
2013-06-24 08:22:32 +02:00
Kay Hayen
d9e34e77c0 Preparations for optimizing inlined exec statements with constant arguments 2013-05-10 09:22:44 +02:00
Kay Hayen
50da5af696 Updated copyright year in notices. 2013-01-12 10:35:22 +01:00
Kay Hayen
149bc9c9c9 Changed my email address towards the outside world. 2012-12-29 14:42:43 +01:00
Kay Hayen
0b15300f08 Change Nuitka to Apache License 2.0, making it usable for everybody. 2012-06-30 23:43:00 +02:00
Kay Hayen
17f25d4ef6 Mark the source code reference of temp blocks as no line number needing, as it's going to be set by its first statement anyway.
More of this kind of changes would be needed, but they will only be done
when reviewing generated code at occasions.
2012-03-17 11:29:11 +01:00
Kay Hayen
cd0ddeef48 Added an attribute to source code references to indicate if the current line shall be set or not.
For use in "internal" code, e.g. exception handlers in re-formulated with statements should not
set the current line, or else they corrupt it.
2012-03-17 11:21:37 +01:00
Kay Hayen
33e156e1c7 Change contributors agreement from copyright assignment to me to a general "Apache 2.0 license". 2012-01-06 23:41:02 +01:00
Kay Hayen
ad9c704b62 Whitespace only, remove leading blank lines from tests. 2012-01-05 10:25:17 +01:00
Kay Hayen
c03f222a4f New copyright year, license cleanups.
* Removed copyright notice from inline copy of Scons, added by accident only
* Claim stronger copyright over basic, program, and reflected tests to release
  them under public domain.
* Updated debian/copyright to include "odict" and "oset" licenses, and
  full text for ARM ucontext parts
* Remove benchmarks from Debian package, too diverse licenses and not for
  users.
2012-01-02 09:48:38 +01:00
Kay Hayen
04f06fd015 Nuitka 0.3.5 final 2011-01-22 01:30:59 +01:00
Kay Hayen
b4c9124867 Changed the copyright to 2011, don't call it an attempt anymore. 2011-01-09 23:53:41 +01:00
Kay Hayen
1a90bd27e3 Nuitka 0.3.5 pre5 2011-01-09 23:42:25 +01:00
Nicolas Dumazet
74aed4b0cf move Python files to a nuitka package.
This requires renaming a few imports, but overall makes execution
and packaging much easier.
2011-01-04 20:25:19 +09:00