1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-06-02 10:36:04 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
Hugo 450b86d8c3 Add support for Python 3.7 and 3.8 2020-02-14 21:00:55 +02:00
Hugo 86879e0c2b Drop support for EOL Python 3.4 2020-02-14 20:59:47 +02:00
Hugo 054c0b7a34 Drop EOL Python 2.5, 2.6, 3.2 and 3.3 2017-12-26 13:46:44 +02:00
Hugo 9faac616a5 Add Python 3.6 2017-12-26 00:48:27 +02:00
Joakim Hamren eb7d894f22 Integrated google's double-conversion lib
To fix issues with floating-point precision we've made use of Google's
double-conversion lib to handle conversions of doubles to and from strings.

In addition to fixing our precision problems this will improve double
encoding by 4-5x. Decoding is however slightly slower according to the
benchmarks - but accurate at least.

This change removes the double_precision encoding option and the
precise_float decoding option.
2017-02-14 12:20:04 +01:00
anthraxx 3943517711 do not forcefully remove the build directory manually
this fixes issue #179.
setuptools should itself know when to use cache or create a
new build... however if someone wants to override that, it's
still possible but forcefully doing that on whatever
setuptools target will (and does) introduce problems.

Build directory should be cleaned up via the clean sub-command.
examples:
- clean up temp:
  python setup.py clean
- clean up whole build dir
  python setup.py clean -a

Or if somebody wants to, the build dir could be removed on the
shell.
2016-01-26 14:34:08 +01:00
Joakim Hamren 3723f573d3 Reverting usage of python setup.py test 2016-01-20 09:10:48 +01:00
Joakim Hamren e3ca6c5f43 Fixed assertRegex error on python 2 and checking if nose2.collector works with python 2.6 2016-01-18 07:44:55 +01:00
Joakim Hamren 7079f3c709 Added unittest2 to setup.py tests_require 2016-01-18 06:51:46 +01:00
Joakim Hamren 23f092438e Added test package requirements to setup.py 2016-01-18 06:45:34 +01:00
Tim Dawborn 04428508d6 * Refactored the unit testing and benchmarking code to work natively under
both Python 2 and Python 3, removing the need for 2to3 to be run. This
  indirectly fixes #177.
* Corrected a duplicate-named method in the unit testing code. Corrected the
  now-exposed broken logic that wasn't being tested. This was
  highlighted in #186 but the author did not appear to realise that the
  method name was being masked in the unit test class.
* Corrected the test case skipping logic to use unittest.skipIf instead
  of just returning from the method upon an ImportError so that the skip
  can actually be registered as a skipped test instead of a passed test.
* Updated the tests to additionally run on Python 3.5 on Travis. This
  covers #195.
* Merged the two benchmarking files into one, and modularised the code.
  Also added native RST output so the benchmarking results can be placed
  directly into the README file.
2015-12-29 14:23:23 +11:00
Guy Rozendorn 1910b1d63b Try to use setuptools, for building eggs 2013-05-23 17:27:23 +03:00
unknown dd4aacd70f Fixed type-o in pull request. Bumped version 2012-12-17 15:32:44 +01:00
Kevin Stanton dc798430d5 added compile arg to support compilation on CentOS 5.8 x86_64 2012-11-15 17:53:58 -06:00
Jonas Tarnstrom a083f2f2a4 Documentation improvementes 2012-10-01 10:36:38 +02:00
Jonas Tarnstrom a16f229e7c Added Python 3 as supported version in distutils 2012-06-26 14:08:43 +02:00
Kieran O'Mahony 06992a2072 Python 3 support 2012-06-12 12:04:59 +01:00
Kieran O'Mahony d041aba16a tabs -> spaces, convert newlines 2012-06-12 12:04:59 +01:00
unknown 83f1ee99f7 Restructured code for better pypi packaging 2012-02-07 17:11:29 +01:00