Commit Graph
24 Commits
Author SHA1 Message Date
Nicolas Évrard 03d2e3fa9a Add reversed operators to PYSON expressions
review8201002
issue4856
2015-07-07 12:48:28 +02:00
Cédric Krier b7776731a6 Add noeval to PYSONDecoder
issue1616
review15071002
2015-03-10 23:47:38 +01:00
Cédric Krier e985252f2d Add __repr__ to PYSON
issue4607
review4151002
2015-03-10 23:38:33 +01:00
Cédric Krier 08b4dc2dd0 Improve type checking in PYSON
- convert long type to int
- convert str and unicode to basestring
- use isinstance when possible

issue4405
review11881002
2015-02-14 17:52:59 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Guillem Barba 42d5410fab Add Id into pyson.CONTEXT
issue4352
review14701002
2014-11-21 14:31:13 +01:00
Cédric Krier 93deeeced8 Allow to use easily unicode_literals
Transparently encode __name__ to utf-8 to allow usage of unicode_literals
Fix PYSON to support unicode

issue4294
review11601002
2014-11-10 23:30:49 +01:00
Cédric Krier baa50526ba Ensure __and__/__or__ of PYSON is always boolean
issue4187
review9731002
2014-09-18 19:14:37 +02:00
Cédric Krier 76cd64e6f8 Add Len to PYSON
issue3692
review3661002
2014-02-27 12:36:53 +01:00
Cédric Krier 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +01:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 15aadf7ceb Allow to use Greater/Less PYSON with Decimal
review300001
2012-03-20 17:53:13 +01:00
Cédric Krier b28f80fd36 Use relativedelta to make all the datetime computation
issue2469
review266001
2012-03-05 10:14:14 +01:00
Cédric Krier 9d9f1182f4 Add pyson.Id
review210001
2011-12-23 16:00:30 +01:00
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier 66c05f49a7 Use simplejson if possible as it is faster
review146001
2011-10-14 09:56:05 +02:00
Cédric Krier 2fc1c27b3f Make PYSON more Pythonic
review80001
2011-08-21 11:19:06 +02:00
Cédric Krier 1ce3832259 Remove version_info test 2011-07-12 23:54:14 +02:00
Cédric Krier 852f04dc51 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:16:15 +02:00
Cédric Krier 47809e3bf7 Add support for datetime in pyson encoder 2010-02-23 15:43:39 +01:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier 5819e2cbe9 Better test to import json
There is an other json module for python < 2.6
2010-01-20 15:22:33 +01:00
Cédric Krier 847fb72e90 Add PySON to replace python string evaluation on client side 2010-01-20 10:55:19 +01:00