Hello community, here is the log from the commit of package python3-decorator for openSUSE:Factory checked in at 2016-02-08 09:48:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-decorator (Old) and /work/SRC/openSUSE:Factory/.python3-decorator.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-decorator" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-decorator/python3-decorator.changes 2015-12-14 10:15:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-decorator.new/python3-decorator.changes 2016-02-08 09:48:34.000000000 +0100 @@ -1,0 +2,14 @@ +Sat Feb 6 06:40:41 UTC 2016 - [email protected] + +- specfile: + * update copyright year + * CHANGES.txt -> CHANGES.md + * remove a *~ file from the tar-ball in %setup + +- update to version 4.0.7: + * Switched to a new changelog format (the one in + http://keepachangelog.com/) since it was contributed by Alexander + Artemenko. Re-added a newline to support old version of Python, as + requested by [azjps](https://github.com/azjps). + +------------------------------------------------------------------- Old: ---- decorator-4.0.6.tar.gz New: ---- decorator-4.0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-decorator.spec ++++++ --- /var/tmp/diff_new_pack.QVb9Ex/_old 2016-02-08 09:48:35.000000000 +0100 +++ /var/tmp/diff_new_pack.QVb9Ex/_new 2016-02-08 09:48:35.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-decorator # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-decorator -Version: 4.0.6 +Version: 4.0.7 Release: 0 Url: http://pypi.python.org/pypi/decorator Summary: Better living through Python with decorators @@ -44,6 +44,8 @@ %prep %setup -q -n decorator-%{version} sed -i 's/\r//' docs/README.rst # Fix EOL encoding +# remove a backup file that made it into the tar-ball of 4.0.7 +rm src/decorator.egg-info/SOURCES.txt~ %build python3 setup.py build @@ -54,7 +56,7 @@ %files %defattr(-,root,root,-) -%doc docs/README.rst LICENSE.txt CHANGES.txt +%doc docs/README.rst LICENSE.txt CHANGES.md %{python3_sitelib}/decorator.py* %{python3_sitelib}/decorator-%{version}-py%{py3_ver}.egg-info ++++++ decorator-4.0.6.tar.gz -> decorator-4.0.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/CHANGES.md new/decorator-4.0.7/CHANGES.md --- old/decorator-4.0.6/CHANGES.md 1970-01-01 01:00:00.000000000 +0100 +++ new/decorator-4.0.7/CHANGES.md 2016-02-06 06:45:17.000000000 +0100 @@ -0,0 +1,252 @@ +HISTORY +-------- + +## 4.0.7 (2016-02-06) + +Switched to a new changelog format (the one in http://keepachangelog.com/) +since it was contributed by Alexander Artemenko. Re-added a newline to support +old version of Python, as requested by [azjps](https://github.com/azjps). + +## 4.0.6 (2015-12-11) + +Removed a file x.py accidentally entered in the tarball. + +## 4.0.5 (2015-12-09) + +Documented a quirk signaled by David Goldstein when writing decorators +for functions with keyword arguments. Avoided copying the globals, +as signaled by Benjamin Peterson. + +## 4.0.4 (2015-09-25) + +Included a patch from Zev Benjamin: now decorated functions play well +with cProfile. + +## 4.0.3 (2015-09-25) + +Added a warning about the memoize example, as requested by Robert +Buchholz. + +## 4.0.2 (2015-07-28) + +docs/README.rst was not included in MANIFEST.in by accident, +thus breaking the source installation. + +## 4.0.1 (2015-07-28) + +Added docs directory and upload_docs command. Fixed bug with +`__qualname__`, reported by Lucian Petrut. + +## 4.0.0 (2015-07-24) + +Removed the need for 2to3 by dropping the support for Python 2.5. +Added a MANIFEST.in file and produced a proper wheel. Improved +the integration with setuptools so that `python setup.py test` works. +Reworked the documentation and introduced `decorator.decorated`. +Removed any dependence from `inspect.getargspec`, which is deprecated +in Python 3.5, as signaled by Ralf Gommers. +Fixed `contextmanager` to work with Python 3.5. +Copied the `__qualname__` attribute, as requested by Frazer McLean. +Added a `dispatch_on` facility to implement generic functions. + +## 3.4.2 (2015-03-22) + +Same as 3.4.1, re-uploaded to PyPI. + +## 3.4.1 (2015-03-16) + +Ported the repository from GoogleCode to GitHub and added Travis CI +support. Tests are executed with the new command `python test.py -v`. +setuptools is now mandatory in Python 3. The suggested +installation tool is now `pip`, not `easy_install`. Supported IronPython +and other Python implementations without sys._getframe, as requested by +Doug Blank. + +## 3.4.0 (2012-10-18) + +Added the ability to use classes and generic callables as callers and +implemented a signature-preserving contexmanager decorator. Fixed a bug +with the signature f(**kw) in Python 3 and fixed a couple of doctests +broken by Python 3.3, both issues pointed out by Dominic Sacré. + +## 3.3.3 (2012-04-23) + +Fixed a bug with kwonlyargs for Python 3, submitted by Chris +Ellison. + +## 3.3.2 (2011-09-01) + +Fixed a bug with __kwdefaults__ for Python 3, submitted by Chris +Ellison. + +## 3.3.1 (2011-04-22) + +Fixed a doctest broken for Python 3.2, as noted by +Arfrever Frehtes Taifersar Arahesis; changed the name of +the attribute ``undecorated`` to ``__wrapped__``, by following the +Python 3.2 convention, as requested by Ram Rachum; added +the Python 3 classifier to setup.py. + +## 3.3 (2011-01-01) + +Added support for function annotations. + +## 3.2.1 (2010-12-28) + +Now the .func_globals of the decorated function are the same of +the undecorated function, as requested by Paul Ollis. + +## 3.2 (2010-05-22) + +Added __version__ (thanks to Gregg Lind), removed functionality which +has been deprecated for years, removed the confusing decorator_factory +example and added official support for Python 3 (requested by Claus Klein). +Moved the documentation from PyPI to googlecode. + +## 3.1.2 (2009-08-25) + +Added attributes args, varargs, keywords and arg0, ..., argN +to FunctionMaker objects generated from a function; fixed another +Pylons-breaking bug signaled by Lawrence Oluyede. + +## 3.1.1 (2009-08-18) + +Fixed a bug which was breaking Pylons, signaled by +Gabriel de Perthuis, and added a test for it. + +## 3.1 (2009-08-16) + +Added decorator.factory, an easy way to define families of decorators +(requested by various users, including David Laban). Refactored the +FunctionMaker class and added an easier to use .create classmethod. +Internally, functools.partial is used for Python >= 2.5. + +## 3.0.1 (2009-02-16) + +Improved the error message in case a bound/unbound method is passed +instead of a function and documented this case; that should make life +easier for users like Gustavo Nerea. + +## 3.0 (2008-12-14) + +New major version introducing ``FunctionMaker`` and the two-argument +syntax for ``decorator``. Moreover, added support for getting the +source code. This version is Python 3.0 ready. Major overhaul of the +documentation, now hosted on http://packages.python.org/decorator. + +## 2.3.2 (2008-12-01) + +Small optimization in the code for decorator factories. First version +with the code uploaded to PyPI. + +## 2.3.1 (2008-07-25) + +Set the zipsafe flag to False, since I want my users to have the source, +not a zipped egg. + +## 2.3.0 (2008-07-10) + +Added support for writing decorator factories with minimal effort +(feature requested by Matthew Wilson); implemented it by enhancing +'decorator' to a Python 2.6 class decorator. + +## 2.2.0. (2007-07-31) + +Added a note on 'inspect.getsource' not working for decorated +functions; referenced PEP 326; highlighted the snippets in the +documentation with pygments; slightly simplified the code. + +## 2.1.0. (3/07/2007) + +Replaced the utility 'update_wrapper' with 'new_wrapper' and +updated the documentation accordingly; fixed and improved the +doctester argument parsing, signaled by Sam Wyse. + +## 2.0.1 (2007-02-17) + +Included the licence in the source code too; fixed a versioning +issue by adding the version number to the zip file and fixing +the link to it on the web page, thanks to Philip Jenvey. + +## 2.0 (2007-01-13) + +Rewritten and simplified the implementation; broken compatibility +with previous versions (in minor ways); added the utility function +'update_wrapper' instead of 'newfunc'. + +## 1.1 (2006-12-02) + +'decorator' instances now have attributes __name__, __doc__, +__module__ and __dict__ coming from the associated caller function; +included the licence into the documentation. + +## 1.0 (2006-08-10) + +Added LICENSE.txt; added a setuptools-friendly setup.py script +contributed by Luke Arno. + +## 0.8.1 (2006-06-21) + +Minor fixes to the documentation. + +## 0.8 (2006-06-16) + +Improved the documentation, added the 'caveats' section. + +## 0.7.1 (2006-05-15) + +Improved the tail_recursive example. + +## 0.7 (2006-05-10) + +Renamed 'copyfunc' into 'newfunc' and added the ability to copy +the signature from a model function; improved '_decorator' to +set the '__module__' attribute too, with the intent of improving +error messages; updated the documentation. + +## 0.6 (2005-12-20) + +Changed decorator.__call__ so that the module somewhat works +even for Python 2.3 (but the signature-preserving feature is +lost). + +## 0.5.2 (2005-06-28) + +Minor changes to the documentation; improved `getattr_` and +shortened `locked`. + +## 0.5.1 (2005-05-20) + +Minor corrections to the documentation. + +## 0.5 (2005-05-19) + +Fixed a bug with out-of-the-mind signatures, added a check for +reserved names in the argument list and simplified the code (thanks to +Duncan Booth). + +## 0.4.1 (2005-05-17) + +Fixed a typo in the documentation (thanks to Anthon van der Neut). + +## 0.4 (2005-05-12) + +Added getinfo, some tests and improved the documentation. + +## 0.3 (2005-05-10) + +Simplified copyfunc, renamed deferred to delayed and added the +nonblocking example. + +## 0.2 (2005-05-09) + +Added copyfunc, improved the multithreading examples, improved the +doctester program. + +## 0.1.1 (2005-05-06) + +Added the license specification and two docstrings. + +## 0.1 (2005-05-04) + +Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/CHANGES.txt new/decorator-4.0.7/CHANGES.txt --- old/decorator-4.0.6/CHANGES.txt 2015-12-11 05:12:11.000000000 +0100 +++ new/decorator-4.0.7/CHANGES.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,118 +0,0 @@ -HISTORY --------- - -4.0.6 Removed a file x.py accidentally entered in the tarball (2015/12/11) -4.0.5 Documented a quirk signaled by David Goldstein when writing decorators - for functions with keyword arguments. Avoided copying the globals, - as signaled by Benjamin Peterson (2015/12/09) -4.0.4 Included a patch from Zev Benjamin: now decorated functions play well - with cProfile (2015/09/25) -4.0.3 Added a warning about the memoize example, as requested by Robert - Buchholz (2015/09/25) -4.0.2 docs/README.rst was not included in MANIFEST.in by accident, - thus breaking the source installation (2015/07/28) -4.0.1 Added docs directory and upload_docs command. Fixed bug with - `__qualname__`, reported by Lucian Petrut (2015/07/28) -4.0.0 Removed the need for 2to3 by dropping the support for Python 2.5. - Added a MANIFEST.in file and produced a proper wheel. Improved - the integration with setuptools so that `python setup.py test` works. - Reworked the documentation and introduced `decorator.decorated`. - Removed any dependence from `inspect.getargspec`, which is deprecated - in Python 3.5, as signaled by Ralf Gommers. - Fixed `contextmanager` to work with Python 3.5. - Copied the `__qualname__` attribute, as requested by Frazer McLean. - Added a `dispatch_on` facility to implement generic functions. - (2015/07/24) -3.4.2 Same as 3.4.1, re-uploaded to PyPI (2015-03-22) -3.4.1 Ported the repository from GoogleCode to GitHub and added Travis CI - support. Tests are executed with the new command `python test.py -v`. - setuptools is now mandatory in Python 3. The suggested - installation tool is now `pip`, not `easy_install`. Supported IronPython - and other Python implementations without sys._getframe, as requested by - Doug Blank (2015/03/16) -3.4.0 Added the ability to use classes and generic callables as callers and - implemented a signature-preserving contexmanager decorator. Fixed a bug - with the signature f(**kw) in Python 3 and fixed a couple of doctests - broken by Python 3.3, both issues pointed out by Dominic Sacré (18/10/2012) -3.3.3 Fixed a bug with kwonlyargs for Python 3, submitted by Chris - Ellison (23/04/2012) -3.3.2 Fixed a bug with __kwdefaults__ for Python 3, submitted by Chris - Ellison (01/09/2011) -3.3.1 Fixed a doctest broken for Python 3.2, as noted by - Arfrever Frehtes Taifersar Arahesis; changed the name of - the attribute ``undecorated`` to ``__wrapped__``, by following the - Python 3.2 convention, as requested by Ram Rachum; added - the Python 3 classifier to setup.py (22/04/2011) -3.3. Added support for function annotations (1/1/2011) -3.2.1. Now the .func_globals of the decorated function are the same of - the undecorated function, as requested by Paul Ollis (28/12/2010) -3.2. Added __version__ (thanks to Gregg Lind), removed functionality which - has been deprecated for years, removed the confusing decorator_factory - example and added official support for Python 3 (requested by Claus Klein). - Moved the documentation from PyPI to googlecode (22/05/2010) -3.1.2. Added attributes args, varargs, keywords and arg0, ..., argN - to FunctionMaker objects generated from a function; fixed another - Pylons-breaking bug signaled by Lawrence Oluyede (25/08/2009) -3.1.1. Fixed a bug which was breaking Pylons, signaled by - Gabriel de Perthuis, and added a test for it. (18/08/2009) -3.1. Added decorator.factory, an easy way to define families of decorators - (requested by various users, including David Laban). Refactored the - FunctionMaker class and added an easier to use .create classmethod. - Internally, functools.partial is used for Python >= 2.5 (16/08/2009) -3.0.1. Improved the error message in case a bound/unbound method is passed - instead of a function and documented this case; that should make life - easier for users like Gustavo Nerea (16/02/2009) -3.0. New major version introducing ``FunctionMaker`` and the two-argument - syntax for ``decorator``. Moreover, added support for getting the - source code. This version is Python 3.0 ready. - Major overhaul of the documentation, now hosted on - http://packages.python.org/decorator (14/12/2008) -2.3.2. Small optimization in the code for decorator factories. First version - with the code uploaded to PyPI (01/12/2008) -2.3.1. Set the zipsafe flag to False, since I want my users to have the source, - not a zipped egg (25/07/2008) -2.3.0. Added support for writing decorator factories with minimal effort - (feature requested by Matthew Wilson); implemented it by enhancing - 'decorator' to a Python 2.6 class decorator (10/07/2008) -2.2.0. Added a note on 'inspect.getsource' not working for decorated - functions; referenced PEP 326; highlighted the snippets in the - documentation with pygments; slightly simplified the code (31/07/2007) -2.1.0. Replaced the utility 'update_wrapper' with 'new_wrapper' and - updated the documentation accordingly; fixed and improved the - doctester argument parsing, signaled by Sam Wyse (3/07/2007) -2.0.1. Included the licence in the source code too; fixed a versioning - issue by adding the version number to the zip file and fixing - the link to it on the web page, thanks to Philip Jenvey (17/02/2007) -2.0. Rewritten and simplified the implementation; broken compatibility - with previous versions (in minor ways); added the utility function - 'update_wrapper' instead of 'newfunc' (13/01/2007) -1.1. 'decorator' instances now have attributes __name__, __doc__, - __module__ and __dict__ coming from the associated caller function; - included the licence into the documentation (02/12/2006) -1.0. Added LICENSE.txt; added a setuptools-friendly setup.py script - contributed by Luke Arno (10/08/2006) -0.8.1. Minor fixes to the documentation (21/06/2006) -0.8. Improved the documentation, added the 'caveats' section (16/06/2006) -0.7.1. Improved the tail_recursive example (15/05/2006) -0.7. Renamed 'copyfunc' into 'newfunc' and added the ability to copy - the signature from a model function; improved '_decorator' to - set the '__module__' attribute too, with the intent of improving - error messages; updated the documentation (10/05/2006) -0.6. Changed decorator.__call__ so that the module somewhat works - even for Python 2.3 (but the signature-preserving feature is - lost) (20/12/2005) -0.5.2. Minor changes to the documentation; improved 'getattr_' and - shortened 'locked' (28/06/2005) -0.5.1. Minor corrections to the documentation (20/05/2005) -0.5. Fixed a bug with out-of-the-mind signatures, added a check for reserved - names in the argument list and simplified the code (thanks to Duncan - Booth) (19/05/2005) -0.4.1. Fixed a typo in the documentation (thanks to Anthon van der Neut) - (17/05/2005) -0.4. Added getinfo, some tests and improved the documentation (12/05/2005) -0.3. Simplified copyfunc, renamed deferred to delayed and added the - nonblocking example (10/05/2005) -0.2. Added copyfunc, improved the multithreading examples, improved - the doctester program (09/05/2005) -0.1.1. Added the license specification and two docstrings (06/05/2005) -0.1. Initial release (04/05/2005) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/MANIFEST.in new/decorator-4.0.7/MANIFEST.in --- old/decorator-4.0.6/MANIFEST.in 2015-07-28 09:46:14.000000000 +0200 +++ new/decorator-4.0.7/MANIFEST.in 2016-02-06 06:29:51.000000000 +0100 @@ -1,2 +1,2 @@ -include docs/README.rst LICENSE.txt CHANGES.txt performance.sh documentation.pdf +include docs/README.rst LICENSE.txt CHANGES.md performance.sh documentation.pdf recursive-include src/tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/PKG-INFO new/decorator-4.0.7/PKG-INFO --- old/decorator-4.0.6/PKG-INFO 2015-12-11 05:15:13.000000000 +0100 +++ new/decorator-4.0.7/PKG-INFO 2016-02-06 06:48:12.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: decorator -Version: 4.0.6 +Version: 4.0.7 Summary: Better living through Python with decorators Home-page: https://github.com/micheles/decorator Author: Michele Simionato diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/documentation.pdf new/decorator-4.0.7/documentation.pdf --- old/decorator-4.0.6/documentation.pdf 2015-12-11 05:14:10.000000000 +0100 +++ new/decorator-4.0.7/documentation.pdf 2016-02-06 06:46:45.000000000 +0100 @@ -269,7 +269,7 @@ << /Outlines 83 0 R /PageLabels 125 0 R /PageMode /UseNone /Pages 103 0 R /Type /Catalog >> endobj 82 0 obj -<< /Author (Michele Simionato) /CreationDate (D:20151211051408-01'00') /Creator (\(unspecified\)) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (\(unspecified\)) +<< /Author (Michele Simionato) /CreationDate (D:20160206064643-01'00') /Creator (\(unspecified\)) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (\(unspecified\)) /Title (The decorator module) >> endobj 83 0 obj @@ -403,7 +403,7 @@ 1 0 0 1 91.03937 3 cm q 0 0 0 rg -BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (4.0.5 \(2015-12-11\)) Tj T* ET +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (4.0.5 \(2016-02-06\)) Tj T* ET Q Q q @@ -9187,7 +9187,7 @@ trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) - [(\344\271\334\024\243\366\306\346\246\010\347/\245\002\314\236) (\344\271\334\024\243\366\306\346\246\010\347/\245\002\314\236)] + [(\347\367c\007_*\306\025\301d\365f\375\246\245\214) (\347\367c\007_*\306\025\301d\365f\375\246\245\214)] /Info 82 0 R /Root 81 0 R /Size 147 >> startxref 321882 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/setup.cfg new/decorator-4.0.7/setup.cfg --- old/decorator-4.0.6/setup.cfg 2015-12-11 05:15:13.000000000 +0100 +++ new/decorator-4.0.7/setup.cfg 2016-02-06 06:48:12.000000000 +0100 @@ -5,7 +5,7 @@ upload-dir = docs [egg_info] -tag_date = 0 -tag_svn_revision = 0 tag_build = +tag_svn_revision = 0 +tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/src/decorator.egg-info/PKG-INFO new/decorator-4.0.7/src/decorator.egg-info/PKG-INFO --- old/decorator-4.0.6/src/decorator.egg-info/PKG-INFO 2015-12-11 05:15:06.000000000 +0100 +++ new/decorator-4.0.7/src/decorator.egg-info/PKG-INFO 2016-02-06 06:47:58.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: decorator -Version: 4.0.6 +Version: 4.0.7 Summary: Better living through Python with decorators Home-page: https://github.com/micheles/decorator Author: Michele Simionato diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/src/decorator.egg-info/SOURCES.txt new/decorator-4.0.7/src/decorator.egg-info/SOURCES.txt --- old/decorator-4.0.6/src/decorator.egg-info/SOURCES.txt 2015-12-11 05:15:06.000000000 +0100 +++ new/decorator-4.0.7/src/decorator.egg-info/SOURCES.txt 2016-02-06 06:47:59.000000000 +0100 @@ -1,4 +1,4 @@ -CHANGES.txt +CHANGES.md LICENSE.txt MANIFEST.in documentation.pdf @@ -9,6 +9,7 @@ src/decorator.py src/decorator.egg-info/PKG-INFO src/decorator.egg-info/SOURCES.txt +src/decorator.egg-info/SOURCES.txt~ src/decorator.egg-info/dependency_links.txt src/decorator.egg-info/not-zip-safe src/decorator.egg-info/top_level.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/src/decorator.egg-info/SOURCES.txt~ new/decorator-4.0.7/src/decorator.egg-info/SOURCES.txt~ --- old/decorator-4.0.6/src/decorator.egg-info/SOURCES.txt~ 1970-01-01 01:00:00.000000000 +0100 +++ new/decorator-4.0.7/src/decorator.egg-info/SOURCES.txt~ 2015-12-11 05:15:06.000000000 +0100 @@ -0,0 +1,17 @@ +CHANGES.txt +LICENSE.txt +MANIFEST.in +documentation.pdf +performance.sh +setup.cfg +setup.py +docs/README.rst +src/decorator.py +src/decorator.egg-info/PKG-INFO +src/decorator.egg-info/SOURCES.txt +src/decorator.egg-info/dependency_links.txt +src/decorator.egg-info/not-zip-safe +src/decorator.egg-info/top_level.txt +src/tests/__init__.py +src/tests/documentation.py +src/tests/test.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/decorator-4.0.6/src/decorator.py new/decorator-4.0.7/src/decorator.py --- old/decorator-4.0.6/src/decorator.py 2015-12-11 05:12:30.000000000 +0100 +++ new/decorator-4.0.7/src/decorator.py 2016-02-06 06:41:11.000000000 +0100 @@ -1,6 +1,6 @@ # ######################### LICENSE ############################ # -# Copyright (c) 2005-2015, Michele Simionato +# Copyright (c) 2005-2016, Michele Simionato # All rights reserved. # Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ import itertools import collections -__version__ = '4.0.6' +__version__ = '4.0.7' if sys.version >= '3': from inspect import getfullargspec @@ -179,6 +179,9 @@ if n in ('_func_', '_call_'): raise NameError('%s is overridden in\n%s' % (n, src)) + if not src.endswith('\n'): # add a newline for old Pythons + src += '\n' + # Ensure each generated function has a unique filename for profilers # (such as cProfile) that depend on the tuple of (<filename>, # <definition line>, <function name>) being unique.
