8000 Releases · digikar99/py4cl2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: digikar99/py4cl2

v2.3.0

20 Jun 09:30
Compare
Choose a tag to compare

Why the minor version change?

  • Speed up loading a bit: Separate system to integrate with numcl: "py4cl2+numcl". If this system is not loaded, "py4cl2" should never load or use numcl.

Other Improvements

  • Exported pythonize to allow users to define their own python translations.
  • Now signals a continuable python-process-startup-error if the python process does not start

v2.2.2

10 Apr 15:41
Compare
Choose a tag to compare

Major bugfix:

  • multiple large-array-transfer is fixed: previously the test was incorrect

Features:

  • compatibility with numcl:numcl-array: added (config-var use-numcl-arrays) and (with-numcl-arrays ...). See documentation

Possibly user irrelevant changes:

  • use static-file component of asdf instead of py4cl2/config etc - py4cl2/config has been removed

v2.2.1

12 Mar 18:11
Compare
Choose a tag to compare

Bugfixes:

  • Importing submodules: (defpymodule "numpy.random") should now work
  • Was previously importing only packages - and not modules: now importing both

Features:

  • defpymodule now prints "import status" by default; use *defpymodule-silent-p* or :silent to turn off

v2.2.0

14 Feb 16:25
Compare
Choose a tag to compare

Possibly breaking changes:

  • sort of fix: (pyeval 'np.float32) (after (defpymodule "numpy" t :lisp-package "NP")) should work; previously required the full name (pyeval 'numpy.float32)
  • removed the is-submodule option of defpymodule; was intended for internal usage; using dynamic binding instead

v2.1.0

18 Jan 09:37
Compare
Choose a tag to compare

Major changes:

  • translation semantics change - previously, all of lisp nil stood for python's three values None, False, () - the translation was also erroneous in the most recent versions
    • nil = "False" previously "None"
    • t = "True"
    • "None" = "None" previously ""None""
    • "()" = "()" previously ""()""

Minor changes:

  • pyexec returns nothing, aka (values); otherwise would return "None" due to above semantics
  • python-functions with arg names translating to nil and t will have .nil and .t as arg names in lisp

v2.0.7

26 Dec 14:53
Compare
Choose a tag to compare

Bugfix: get-arg-list used to return (&key) even for no arg functions

Feature: added continue-ignoring-errors as option to defpymodule - I'm not sure how to invoke handler bind during compile time without this option.

v2.0.6

16 Dec 17:32
Compare
Choose a tag to compare

Bugfixes:

  • async printing was skipping over whitespace in peek-char
  • a long outstanding fix with regards to redefining function warnings:
    • "Foo", "foo", "foo_" and "FOO" all mapped to the same name earlier
    • Now, we assume "Foo" would name a class and then, might map to
      foo/class, "foo_" and "foo" map to different names, "FOO" maps to foo/1
  • fix for asdf version numbering: 2.0.6
  • README (demo) script works; defpyfun handles [], (), False, None differently

v2.0-beta-5

15 Nov 12:03
Compare
Choose a tag to compare
v2.0-beta-5 Pre-release
Pre-release

Features:

  • with-python-output: use to capture python output; equivalent of (with-output-to-string (*standard-output*) ...)

v2.0-beta-4: Merge pull request #2 from digikar99/python-code

23 Oct 06:24
ab9dfe0
Compare
Choose a tag to compare

Bugfix:

  • LispCallbackObjects might not have worked correctly before: the bug should have been created in the initial days of py4cl2 and should not be present in py4cl.
  • config-var now creates var if it did not exist in *config* before

Features:

  • Ported unicode string handling from py4cl (relevant for python2 users)
  • Ported support for ration / fraction from py4cl
  • defpymodule with import-submodules t provides a continue-ignoring-errors option if the particular submodule is not present - this happens with modules like "torch"
  • It should be possible to use py4cl2 in an lisp image, for deployment onto servers: the py4cl.py code is copied into *python-code*

v2.0-beta-3

30 Sep 08:21
Compare
Choose a tag to compare
v2.0-beta-3 Pre-release
Pre-release

Fixes:

  • [Relevant to defpyfun and defpymodule] get-arg-list: Now, if a function has both *arg and **kwarg, its argument list in lisp is (&rest args).
  • [Relevant to pychain and pychain*] %chain* now compares the symbol name with "@"; this allows the use of the symbol @ from other packages
0