History log of /external/python/cpython2/Modules/clmodule.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ca56dd4767617a2f5e946130de4beb06442a5cd5 17-Sep-2016 Martin Panter <vadmium+py@gmail.com> Issue #28139: Fix messed up indentation

Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
/external/python/cpython2/Modules/clmodule.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/clmodule.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/clmodule.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Modules/clmodule.c
650f5161f45390bc3b621bc7db9edfd54e7f59b9 14-May-2008 Brett Cannon <bcannon@gmail.com> Deprecate CL, CL_old, and cl for 3.0.
/external/python/cpython2/Modules/clmodule.c
1ac754fa10f5d199d19911e21185d0970cb3073f 19-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Check return result from Py_InitModule*(). This API can fail.

Probably should be backported.
/external/python/cpython2/Modules/clmodule.c
5de9842b34cbefbfe74e6a99004616352f223133 27-Apr-2002 Tim Peters <tim.peters@gmail.com> Repair widespread misuse of _PyString_Resize. Since it's clear people
don't understand how this function works, also beefed up the docs. The
most common usage error is of this form (often spread out across gotos):

if (_PyString_Resize(&s, n) < 0) {
Py_DECREF(s);
s = NULL;
goto outtahere;
}

The error is that if _PyString_Resize runs out of memory, it automatically
decrefs the input string object s (which also deallocates it, since its
refcount must be 1 upon entry), and sets s to NULL. So if the "if"
branch ever triggers, it's an error to call Py_DECREF(s): s is already
NULL! A correct way to write the above is the simpler (and intended)

if (_PyString_Resize(&s, n) < 0)
goto outtahere;

Bugfix candidate.
/external/python/cpython2/Modules/clmodule.c
b0aaec5706237c1086afbbbb9327be59509a6d83 02-Apr-2002 Neal Norwitz <nnorwitz@gmail.com> Convert more METH_OLDARGS & PyArg_Parse()

Please review.
/external/python/cpython2/Modules/clmodule.c
50905b557b2a46d4db432b7a9e61fe32afa557e3 31-Mar-2002 Neal Norwitz <nnorwitz@gmail.com> Convert from using METH_OLDARGS to METH_NOARGS.
These should be safe.
/external/python/cpython2/Modules/clmodule.c
43b936d08c51726205123ae1af5c5f8b5d3b6fcb 18-Jan-2002 Martin v. Löwis <martin@v.loewis.de> Patch #477750: Use METH_ constants in Modules.
/external/python/cpython2/Modules/clmodule.c
146483964e2e94b0d1709be438a1b86f75b5d730 08-Dec-2001 Guido van Rossum <guido@python.org> Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
/external/python/cpython2/Modules/clmodule.c
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Modules/clmodule.c
f3f33dcf03eaed3c4e720178f9d69205a66d6a91 21-Jul-2000 Thomas Wouters <thomas@python.org> Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
and a couple of functions that were missed in the previous batches. Not
terribly tested, but very carefully scrutinized, three times.

All these were found by the little findkrc.py that I posted to python-dev,
which means there might be more lurking. Cases such as this:

long
func(a, b)
long a;
long b; /* flagword */
{

and other cases where the last ; in the argument list isn't followed by a
newline and an opening curly bracket. Regexps to catch all are welcome, of
course ;)
/external/python/cpython2/Modules/clmodule.c
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython2/Modules/clmodule.c
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython2/Modules/clmodule.c
b18618dab7b6b85bb05b084693706e59211fa180 04-May-2000 Guido van Rossum <guido@python.org> Vladimir Marangozov's long-awaited malloc restructuring.
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode. I'm also holding back on his
change to main.c, which seems unnecessary to me.)
/external/python/cpython2/Modules/clmodule.c
b189a2f997b5b127a69b054483fee5603525c3dc 08-Oct-1997 Guido van Rossum <guido@python.org> lots of "goto error" replaced by "return" (Jack)
/external/python/cpython2/Modules/clmodule.c
0cb96de2699fa032ef1379ebb62a4dfb66ee5fde 01-Oct-1997 Guido van Rossum <guido@python.org> Apply two changes, systematically:

(1) Use PyErr_NewException("module.class", NULL, NULL) to create the
exception object.

(2) Remove all calls to Py_FatalError(); instead, return or
ignore the errors -- the import code now checks PyErr_Occurred()
after calling a module's init function, so it's no longer a
fatal error for the initialization to fail.

Also did some small cleanups, e.g. removed unnecessary test for
"already initialized" from initfpectl(), and unified
initposix()/initnt().

I haven't checked this very thoroughly, so while the changes are
pretty trivial -- beware of untested code!
/external/python/cpython2/Modules/clmodule.c
7242905385ade875d4e225de9c6558d56e698a0b 12-Aug-1997 Guido van Rossum <guido@python.org> Megapatch for IRIX 6 by Sjoerd.
/external/python/cpython2/Modules/clmodule.c
e474fb36ab724023a94090bc97d0a271b5b1e7e4 17-Jan-1997 Roger E. Masse <rmasse@newcnri.cnri.reston.va.us> Renamed.
/external/python/cpython2/Modules/clmodule.c
a376cc5cc86c62f912886c4002ed1a9b3b213b88 06-Dec-1996 Guido van Rossum <guido@python.org> Keep gcc -Wall happy.
/external/python/cpython2/Modules/clmodule.c
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython2/Modules/clmodule.c
3db845b6f77cdd29255efac2251140dd9bdedc59 17-May-1995 Sjoerd Mullender <sjoerd@acm.org> Make constants from cl.h include file available as module variables.
Also added Irix 5.3 constants.
/external/python/cpython2/Modules/clmodule.c
524b588553afb0759c5be590a7aa41db92dcd2ae 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
/external/python/cpython2/Modules/clmodule.c
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython2/Modules/clmodule.c
f64992e95d3b87799d4a423d2d0c0047b177c56b 03-Aug-1993 Sjoerd Mullender <sjoerd@acm.org> * clmodule.c (doParams): free PVbuffer in error condition.
* frameobject.c (newframeobject): initialize ob_type if taking entry
from the free list, since it is zeroed out when DEBUG is defined.
/external/python/cpython2/Modules/clmodule.c
e537240c252ff678d49451ee6f80fa934653a724 16-Mar-1993 Guido van Rossum <guido@python.org> * Changed many files to use mkvalue() instead of newtupleobject().
* Fixcprt.py: added [-y file] option, do only files younger than file.
* modsupport.[ch]: added vmkvalue().
* intobject.c: use mkvalue().
* stringobject.c: added "formatstring"; renamed string* to string_*;
ceval.c: call formatstring for string % value.
* longobject.c: close memory leak in divmod.
* parsetok.c: set result node to NULL when returning an error.
/external/python/cpython2/Modules/clmodule.c
22e44cd0b5c4966ae1231536541e822953bff63d 17-Feb-1993 Sjoerd Mullender <sjoerd@acm.org> * clmodule.c: the documentation was wrong, so changed the interface
accordingly: SetMin, SetMax, SetDefault are no longer methods of the
compressor/decompressor but are functions of the cl module and they
take a first argument which is a compression scheme
/external/python/cpython2/Modules/clmodule.c
4e2a4278e8b7b0665b5bebd928b3303cf2e616fa 16-Feb-1993 Sjoerd Mullender <sjoerd@acm.org> * clmodule.c: use function prototypes (found and fixed some bugs this
way); more efficiently check whether parameters are float; removed
one argument from DecompressImage method; use clGetParam instead of
clGetParams where it makes sense; convert int parameters in
SetParams, SetParam, SetMin, SetMax, and SetDefault to float when
needed; added QuerySchemeFromHandle method
* Makefile: interchanged cstubs and cgen.py so that $> in rule gets
them in the right order
/external/python/cpython2/Modules/clmodule.c
3a997279d50d98bc403103d3467740f69a5fc47f 04-Feb-1993 Sjoerd Mullender <sjoerd@acm.org> CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.
aifc.py: Several small improvements. Use new methods from CL module.
/external/python/cpython2/Modules/clmodule.c
8dd054d9183c529f530623364cdcf5c37ab2ada7 14-Dec-1992 Sjoerd Mullender <sjoerd@acm.org> adapted to newest version of CL library.
/external/python/cpython2/Modules/clmodule.c
384f24816b7a50c7c2c23740bbc1080fcb7a2d3f 29-Sep-1992 Sjoerd Mullender <sjoerd@acm.org> Lots of little fixes.
- merged CloseCompressor and CloseDecompressor into one function
- keep existing errors in error function (for exceptions raised in the
Compress or Decompress callback functions)
- remove newline from error string generated by error function
- allocate less memory when compressing multiple frames
- keep existing errors when clCompress or clDecompress fails
- raise an exception when compressed data doesn't fit within
dataMaxSize bytes
- allocate frameSize bytes for decompression buffer instead of
dataMaxSize
- use mkvalue more often
- new function QueryParams which will accept CL.AUDIO and CL.VIDEO
args
- changed some function names
/external/python/cpython2/Modules/clmodule.c
37f17b726c0001020ebc9320bd7bae6451fa08ce 25-Sep-1992 Sjoerd Mullender <sjoerd@acm.org> Fixed the last known bugs.
/external/python/cpython2/Modules/clmodule.c
d53a4f3d14e6ea022ac2295f9636759bb0120cec 24-Sep-1992 Sjoerd Mullender <sjoerd@acm.org> New built-in module "cl" (Compression Library). Only for Irix 4.0.5
and higher. Made a few improvements to previous version.
/external/python/cpython2/Modules/clmodule.c
c431549e214d9d611745f93da8a9c4cbcb3b9844 23-Sep-1992 Sjoerd Mullender <sjoerd@acm.org> New built-in module cl, the Compression Library.
/external/python/cpython2/Modules/clmodule.c