summaryrefslogtreecommitdiff
path: root/src/py_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix conditional compilation of Python <3.12 codeAlexis Hildebrandt2024-07-081-4/+3
|
* Refactor python related types into ledger::python namespaceAlexis Hildebrandt2023-04-121-1/+1
|
* Refactor basic_flags_t to ledger::flags::basic_tAlexis Hildebrandt2023-04-121-0/+1
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Fix deprecation warningsAlexis Hildebrandt2023-02-011-14/+18
| | | | Code clean-up
* Remove support for Python 2.xAlexis Hildebrandt2023-02-011-99/+7
|
* Handle return value of PyUnicode_READYAlexis Hildebrandt2022-10-021-1/+2
| | | | | | to ensure access macros are only called on "legacy" unicode string objects that are "ready". See https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_READY
* Fix handling of UCS-2 encoded stringsAlexis Hildebrandt2022-10-021-1/+1
| | | | | | Add test to python/demo.py Fixes #2132
* Fix handling of UCS-1 encoded stringsAlexis Hildebrandt2022-10-021-11/+12
| | | | Add test to python/demo.py
* Properly handle PyUnicode_1BYTE_DATAAlexis Hildebrandt2022-07-201-3/+1
|
* Fix use of deprecated Python legacy Unicode APIAlexis Hildebrandt2022-07-201-18/+52
| | | | | | | | replacing it with APIs introduced in Python 3.3 to ensure ledger's Python bindings continue to function when the legacy Unicode API is removed in Python 3.12. For details see https://docs.python.org/3.10/c-api/unicode.html
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Port to python3Dimitri John Ledkov2019-12-051-4/+15
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Changed a run-time test into compile-timeJohn Wiegley2012-02-111-5/+4
|
* Untabified all source filesJohn Wiegley2010-06-111-21/+21
|
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-041-0/+2
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Fixed Ledger/Python byte vs. char Unicode bridgeJohn Wiegley2009-11-201-8/+1
|
* All strings passed to Python are now Unicode objectsJohn Wiegley2009-11-101-64/+41
|
* Python Unicode objects are now handledJohn Wiegley2009-11-101-10/+68
|
* Made many object methods in Python propertiesJohn Wiegley2009-11-051-6/+9
|
* std::string now only intercepted if STRING_VERIFY_ONJohn Wiegley2009-11-051-5/+11
|
* Added Python interface for commodity_tJohn Wiegley2009-11-021-0/+44
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+1
|
* Moved python/*.cc files into src/John Wiegley2009-02-241-0/+170
This is because soon, I intend to have real Python source files in python/.