Zhpy

Latest version: v1.7.4

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.6

--------------------
code name: Justice

*Changes*

* modify banner string
* able to pass 'outcoding' param in zh_exec to control output encoding
* able to pass 'zhtrace' param in try_run to control
if enable chinese traceback
* make try_run support verbose option

*Features*

* online zhpy shell in zhpy.appspot.com!

*Fixes*

* fix python 2.4 compatibility occurred in 1.5.2, thanks DreamerC's report
* fix no chardet support case

*Project Updates*

*Contributors*

Fred Lin

1.5.2

--------------------
code name: Wheel of Fortune

*Changes*

* PEP8 cleanup, thanks ulipad :)
* refactor py_annotator, thanks weijr
* refactor python_convertor

*Features*

* no need calling annotator before calling convertor,
annotator will be called automatically
* reduce unnecessary annotator reload, thanks weijr
* add outcoding (output encoding) option in convertor

*Fixes*

* fix import_hook

*Project Updates*

* update license years

*Contributors*

Fred Lin, weijr

1.5.1

--------------------
code name: Empress

*Changes*

*Features*

*Fixes*

* fix pyzh pattern missing

*Project Updates*

*Contributors*

Fred Lin

1.5

--------------------
code name: Emperor

*Changes*

* rename zhimport.py to import_hook.py
* rewrite import_hook from magiccodec, thanks weijr
http://weijr-note.blogspot.com/2008/02/python-magiccodec-01.html
* use isinstance(target,dict) instead of type({}), thanks weijr
* refactor merger
* merge rev_merger to merger
* refactor ini_annotator, py_annotator,
pattern, val_matching, rev_ini_annotator,
rev_py_annotator, trace_annotator to private method
* refactor to distill baseWord
* add some variable docstrings

*Features*

* add keywords:
* "屬性":"property", "属性":"property",
* add set methods keyword:
* "定集合":"frozenset",
* "清除":"clear",
* "複製":"copy","拷贝":"copy",
* "加":"add",
* "丟棄":"discard","丢弃":"discard",
* "聯集":"union","联集":"union",
* "交集":"intersection",
* "差集":"difference",
* "對稱差集":"symmetric_difference", "对称差集":"symmetric_difference",

*Fixes*

*Project Updates*

* update to pyparsing 1.4.11
* update setuptools to 0.6.8
* update epydoc to 3.0.1

*Contributors*

Fred Lin, weijr

1.4

--------------------
code name: Hang Man

*Changes*

* change keyword:
* "元組" instead of "組合":"tuple",
* "元组" instead of "组合":"tuple",
* update example n_tabl.twpy

*Features*

* Introdure real chinese traceback support, currently works in compiler mode

*Fixes*

* Fix interpreter unicode issue mainly occured on Windows, thanks renhbo

*Project Updates*

* use setup.cfg to generate docs

*Contributors*

Fred Lin, renhbo

1.4b1

--------------------
code name: Yellow Temperance

*Changes*

* change keyword:
* '操作系统错误' instead of '作业系统错误':"OSError"
* '申明' instead of "宣告":"assert"
* "申明錯誤" instead of "宣告錯誤":"AssertionError"
* "申明错误" instead of "宣告错误":"AssertionError"
* add traceback term plugins (not functional yet)

*Features*

* while open interpreter, autodetect and show the localized banner
* experimental chinese traceback support in convertor (not support in interpreter)
* add keyword:
* "全域":"global"
* "全域變量":"globals","全域变量":"globals"
* "測試":"test", "测试":"test"
* "物件":"object", "对象":"object"
* able to test though generated python file ($ nosetests n_xxx.py)

*Fixes*

* fix triple quote bug, thanks renhbo
* allow cascading 2 identifiers (cascade 3 or more identifiers is not support)

*Project Updates*

*Contributors*

Fred Lin, renhbo

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.