Skip to content

Commit 8d78a5a

Browse files
committed
Merge branch 'master' into develop
2 parents e208f18 + 95fd48e commit 8d78a5a

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
- Fixed `minute_()`, `second_()` and `microsecond_()` setters changing the hour unit.
3737

3838

39+
## [0.6.6] - 2016-11-25
40+
41+
### Fixed
42+
43+
- Fixed a memory leak in C extension. (thanks to [ntoll](https://github.com/ntoll))
44+
45+
3946
## [0.6.5] - 2016-10-31
4047

4148
### Changed
@@ -263,7 +270,11 @@ This version causes major breaking API changes to simplify it and making it more
263270
Initial release
264271

265272

273+
<<<<<<< HEAD
266274
[Unreleased]: https://github.com/sdispater/pendulum/compare/master...develop
275+
=======
276+
[0.6.6]: https://github.com/sdispater/pendulum/releases/tag/0.6.6
277+
>>>>>>> master
267278
[0.6.5]: https://github.com/sdispater/pendulum/releases/tag/0.6.5
268279
[0.6.4]: https://github.com/sdispater/pendulum/releases/tag/0.6.4
269280
[0.6.3]: https://github.com/sdispater/pendulum/releases/tag/0.6.3

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
include README.rst LICENSE
2-
include pendulum/_extensions/tz/*.pyx
32
recursive-exclude tests *
43
recursive-exclude benchmark *

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
# The short X.Y version.
6161
version = '0.6'
6262
# The full version, including alpha/beta/rc tags.
63-
release = '0.6.5'
63+
release = '0.6.6'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

pendulum/_extensions/_helpers.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ PyObject* local_time(PyObject *self, PyObject *args) {
181181
minute = seconds / SECS_PER_MIN;
182182
second = seconds % SECS_PER_MIN;
183183

184-
return PyTuple_Pack(
185-
7,
184+
return Py_BuildValue("NNNNNNN",
186185
PyLong_FromLong(year),
187186
PyLong_FromLong(month),
188187
PyLong_FromLong(day),

pendulum/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# -*- coding: utf-8 -*-
22

3-
VERSION = '0.6.5'
3+
VERSION = '0.6.6'

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_version():
3535
if with_extensions == '1' or with_extensions is None:
3636
with_extensions = True
3737

38-
if hasattr(sys, 'pypy_version_info'):
38+
if with_extensions == '0' or hasattr(sys, 'pypy_version_info'):
3939
with_extensions = False
4040

4141
extensions = []
@@ -46,7 +46,6 @@ def get_version():
4646
extra_compile_args=['-Wno-unused-function']),
4747
]
4848

49-
5049
class BuildFailed(Exception):
5150

5251
pass

0 commit comments

Comments
 (0)