summaryrefslogtreecommitdiff
path: root/python/string.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-10-23python/{depcache.cc,string.cc}: Ignore deprecation warnings for some callsJulian Andres Klode1-0/+2
Those functions are deprecated in APT, but we still need to provide them for backwards compatibility.
2012-10-02merge patch from Barry to fix #1030278Michael Vogt1-8/+20
2011-04-12apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820)Julian Andres Klode1-2/+2
This fix is large, but simple in concept. Instead of relying on Py_BuildValue and type signatures, or type-specific conversion functions, create a new set of overloaded MkPyNumber() functions that automatically do the right thing for each numerical type.
2011-04-11apt_pkg: Fix time_to_str, time_rfc1123 to accept more correct valuesJulian Andres Klode1-5/+5
(time_to_str accepts unsigned long, time_rfc1123 long long, y2k31-correct).
2010-04-01python: Return bool instead of int to Python where possible, looks better.Julian Andres Klode1-1/+1
2009-04-15* Introduce support for Python 3 (Closes: #523645)Julian Andres Klode1-1/+15
This is the first initial port to Python 3. The API is almost completely identical to the one found in Python 2, except that functions working with binary data require bytes (md5sum,sha1sum,sha256sum,Base64Encode). Using setup3.py to install the modules will not work, because the apt package still has to be converted to Python 3. For the package, we call 2to3-3.1 in debian/rules to do this automatically.
2008-05-16Remove trailing whitespace.Ben Finney1-11/+11
2007-08-28* python/string.cc:Michael Vogt1-1/+1
- fix overflow in SizeToStr()
2007-02-22* python/string.cc:Michael Vogt1-2/+4
- SizeToString supports PyLong too
2004-11-24Changed include pathsArch Librarian1-2/+2
Author: jgg Date: 2002-01-08 06:53:04 GMT Changed include paths
2004-11-24Alfredo's no_proxy patchArch Librarian1-1/+11
Author: jgg Date: 2001-02-23 05:46:02 GMT Alfredo's no_proxy patch
2004-11-24Initial revisionArch Librarian1-0/+96
Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision