Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don’t worry, you can still create the pull request.
This comparison is big! We’re only showing the most recent 250 commits
Commits on Aug 28, 2000
gtrubetskoy periodic checkin, 2.5 in progress f53dde3
gtrubetskoy oops - a line missing in 85ee134
gtrubetskoy rbarrets addr patch 690bdb5
Commits on Sep 04, 2000
gtrubetskoy periodic checkin, InterpPerServer e92e349
gtrubetskoy req.register_cleanup() ccf254e
Commits on Sep 05, 2000
gtrubetskoy This shall be 2.5 124eec7
Commits on Sep 06, 2000
gtrubetskoy Windows patches 904862c
Commits on Sep 13, 2000
gtrubetskoy server.register_cleanup() ea19110
Commits on Oct 03, 2000
gtrubetskoy periodic check-in 192459d
gtrubetskoy per server now default 46fa02c
Commits on Oct 09, 2000
gtrubetskoy first stap at autoconf cf703bb
Commits on Oct 10, 2000
gtrubetskoy autoconf mostly works now 544fa14
Commits on Oct 12, 2000
gtrubetskoy periodic commit 2f29e27
Commits on Oct 13, 2000
gtrubetskoy this is 2.6 c265d98
Commits on Oct 16, 2000
gtrubetskoy grand reorg file split f266198
gtrubetskoy don't need util.h~ c9e5f05
Commits on Oct 17, 2000
gtrubetskoy RequestHandler typo cb82d17
gtrubetskoy req.status doc updated 556acf8
Commits on Oct 18, 2000
gtrubetskoy periodic checkin d9e3ff7
gtrubetskoy periodic checkin 4f1c3d2
Commits on Oct 20, 2000
gtrubetskoy minor install bugs fixed 9813777
Commits on Oct 21, 2000
gtrubetskoy minor install bugs fixed 3b0faf3
gtrubetskoy removed print 1 ee767cb
gtrubetskoy #undef _POSIX_THREADS 4a33810
gtrubetskoy #undef _POSIX_THREADS 2b97859
Commits on Oct 22, 2000
gtrubetskoy PyFinalize and another install bug fixed 6b1bdc1
gtrubetskoy 2.6.2 624715b
Commits on Oct 29, 2000
gtrubetskoy some more installation related (for static) problems fixed af06073
Commits on Oct 30, 2000
gtrubetskoy PythonHandlerModule implemented 3be1942
Commits on Nov 06, 2000
sbidoul - Updated mod_python.dsp to reflect new source structure.
- Added mod_python.mak for batch win32 build.
  Build instructions are at the top of mod_python.mak.
- Added Version.rc and include/mpversion.h to provide
  version information in the win32 mod_python.dll.
Commits on Nov 09, 2000
gtrubetskoy req.readline() and read() changes, some new docs, and a couple of oth…
…er things
Commits on Nov 12, 2000
gtrubetskoy Added publisher and util. now uses imp instead of __import__, and cgihandler
now automatically reloads even indirectly loaded scripts.
Commits on Nov 18, 2000
gtrubetskoy I forgot to uncomment type initialization. type(req.headers_in)
would segfault. Fixed. Continuing work on module.
Commits on Nov 19, 2000
gtrubetskoy Documented (sort of) 28d6499
Commits on Dec 05, 2000
gtrubetskoy Initial (not proof-read) LaTeX source for documentation is
checked in.
gtrubetskoy copyright change 21e7c98
Commits on Dec 06, 2000
gtrubetskoy copyright change 2 ac064fc
Commits on Dec 08, 2000
gtrubetskoy manual is good enough for now.... c99fc76
gtrubetskoy typo e538ea9
Commits on Dec 12, 2000
gtrubetskoy windows and vms docs 9ecc373
Commits on Dec 13, 2000
gtrubetskoy publisher handler improvements and docs 6603089
gtrubetskoy periodic checkin 9b0f7f5
Commits on Dec 14, 2000
gtrubetskoy removed doc 12f1fee
gtrubetskoy added dist to Doc Makefile, some more Doc fixes 2a55418
gtrubetskoy 2.7 prerelease 85f8641
Commits on Dec 16, 2000
gtrubetskoy save/resore thread corrected bcaf5c9
gtrubetskoy updated news b1b9c00
gtrubetskoy icons work now 03e4029
gtrubetskoy 2.7 b004ef5
Commits on Dec 18, 2000
gtrubetskoy typo in mod_python.c, fixed type inits on win32 296e128
gtrubetskoy doc and Doc don't jive on win32 3757c31
gtrubetskoy doc -> doc-html 007bb1f
Commits on Jan 18, 2001
gtrubetskoy publisher fixes and docs fixes cb3dfae
Commits on Jan 20, 2001
gtrubetskoy added req._content_type_set 6868b00
Commits on Jan 22, 2001
gtrubetskoy __auth__ improvements 7f64228
Commits on Jan 24, 2001
gtrubetskoy req.server.register_cleanup fixed 3e12264
Commits on Feb 11, 2001
gtrubetskoy 2.7.2 f286806
Commits on Apr 07, 2001
gtrubetskoy mostly documentation fixes 27a78ba
gtrubetskoy _eprintf fix db0e73e
Commits on Apr 08, 2001
gtrubetskoy dissapearing params fixed becd251
Commits on Apr 10, 2001
gtrubetskoy PythonImport fixed d6c4bf0
Commits on Apr 11, 2001
gtrubetskoy Eliminated the atol hack 72d6093
gtrubetskoy fixed importing in d352701
Commits on May 13, 2001
gtrubetskoy NOTFOUND typo 14955f3
gtrubetskoy 2.7.3 614733d
gtrubetskoy 2.7.3 5464516
Commits on May 14, 2001
gtrubetskoy password split bug fixed eb35230
Commits on May 18, 2001
gtrubetskoy CallBack.req threading bug 44f1631
Commits on May 19, 2001
gtrubetskoy fix to the last threading fix... e9732ec
Commits on May 23, 2001
gtrubetskoy the CallBack.req bug is really fixed 99f14a5
Commits on May 24, 2001
gtrubetskoy import fixed and FLAGs are cool now too 403f74c
gtrubetskoy PythonInterpreter documented, some other doc improves 85bf892
Commits on May 25, 2001
gtrubetskoy PythonAutoReload e268921
Commits on May 28, 2001
gtrubetskoy renamed apache name clashes b8a3bc8
Commits on Jun 04, 2001
gtrubetskoy releasing 2.7.4 eca3e53
Commits on Jun 07, 2001
gtrubetskoy Y2K NEWS problem fixed 0175cfc
Commits on Jun 11, 2001
gtrubetskoy Python 2.1 support e631e94
gtrubetskoy 2.7.5 release 9ca686a
gtrubetskoy doc-html 60ebdc0
Commits on Jul 09, 2001
gtrubetskoy fixed the File() methods bug. Thanks to Marc Fiuczynski for pointing …
…out the right solution.
Commits on Aug 04, 2001
gtrubetskoy 2.7.6 a874a73
Commits on Aug 18, 2001
gtrubetskoy mod_python 3.0 alpha 2ae7ce3
gtrubetskoy mp 3.0 alpha ca8340e
Commits on Sep 06, 2001
gtrubetskoy config works... may be a1de459
gtrubetskoy config works... may be 559ccbe
Commits on Sep 09, 2001
gtrubetskoy added access to my_generation and restart_time d7ec5b7
Commits on Oct 15, 2001
gtrubetskoy os.path.exists() bug workaround f916750
gtrubetskoy os.path.exists() bug workaround 5131409
Commits on Nov 03, 2001
gtrubetskoy hlist, and many other changes e4f66b5
Commits on Nov 06, 2001
gtrubetskoy blah 2e98610
gtrubetskoy reference counts d948ad2
Commits on Nov 25, 2001
gtrubetskoy hello wordl fixed 8189645
Commits on Nov 28, 2001
gtrubetskoy works with 2.0.28 2a02627
Commits on Mar 04, 2002
gtrubetskoy 2.0.32 mods 0b8cebb
Commits on Mar 05, 2002
gtrubetskoy python_init returns OK now c528397
Commits on Mar 23, 2002
gtrubetskoy new import_module 0f7852e
Commits on Apr 10, 2002
gtrubetskoy fix to make sure reloaded mod is in the path f371bd7
Commits on Jun 03, 2002
gtrubetskoy patches to compile with httpd-2.0.36 d659939
Commits on Jun 08, 2002
gtrubetskoy ./configure should work at least on linux now a55b29b
gtrubetskoy added Bob and Gary fa7f987
Commits on Jun 17, 2002
gtrubetskoy The httpdapy and zhandler have been deprecated. 58865cf
gtrubetskoy Updated chapter one of the docs to 3.0 content. ac9161d
Commits on Jun 18, 2002
gtrubetskoy Added check for apache version c0481ff
gtrubetskoy started reworking installation docs to 3.0 5ab18cf
Commits on Jun 19, 2002
gtrubetskoy fixed the 2.2 __methods__ incompatibility thing 6c3b27e
Commits on Jun 21, 2002
gtrubetskoy commented out mentions of static compile for now b3529ac
gtrubetskoy disabled --with-apache 9d4089b
Commits on Jun 24, 2002
gtrubetskoy Add ln to so it doesnt recompile every time 7fed80e
gtrubetskoy Installation is now touched up for 3.0 21297dc
Commits on Jul 15, 2002
gtrubetskoy a couple more tutorial corrections 0848ce5
Commits on Jul 16, 2002
gtrubetskoy Gary Bensons filter patch 9853b80
gtrubetskoy ReportError fixed 688c88a
Commits on Jul 18, 2002
gtrubetskoy corrected the publisher example in tutorial 40f31b3
gtrubetskoy 404 bug from creeping in from 2.7.7 fixed 3843203
Commits on Jul 22, 2002
gtrubetskoy more tutorial fixes b0ca8b4
Commits on Jul 26, 2002
gtrubetskoy authentication tutorial example now works 65b0a65
gtrubetskoy removed debug print stmnts 8b3a1c3
Commits on Jul 31, 2002
gtrubetskoy fixed req->finfo, publisher strips addhandler extensions and more 71b899f
Commits on Aug 03, 2002
gtrubetskoy added req.log_error 2d13aa7
Commits on Aug 09, 2002
gtrubetskoy the new python version of table 07b77aa
gtrubetskoy the cool new table object seems to actually work now ba4eae2
gtrubetskoy the cool new table object seems to actually work now 333782d
Commits on Aug 11, 2002
gtrubetskoy the new table object now passes all tests de9ad25
gtrubetskoy patches from Jarkko Torppa 81006b0
Commits on Aug 12, 2002
gtrubetskoy table subclassing segafult fixed b4db3d5
Commits on Aug 15, 2002
gtrubetskoy heavily modified request object and a bunch of other stuff 8f5f948
Commits on Aug 16, 2002
gtrubetskoy periodic checkin 4ab5b53
Commits on Aug 18, 2002
gtrubetskoy added rudimentary tests, some documentation fixes, and more misc stuff 9605d4f
gtrubetskoy fixed and README 5599fe1
Commits on Aug 19, 2002
gtrubetskoy added req.readlines() aefaa71
gtrubetskoy added req.document_root() b9fb6a6
gtrubetskoy now compiles with 2.0.40 b49e669
Commits on Aug 20, 2002
gtrubetskoy some fieldstorage changes, a table conparison bugfix and other improv…
Commits on Aug 21, 2002
gtrubetskoy reformatted tabs 72d8112
gtrubetskoy reformatted tabs f836947
Commits on Aug 22, 2002
gtrubetskoy added primitive filter docs and a bunch of other stuff 52de83c
gtrubetskoy 3.0.0 beta 94dd813
Commits on Aug 23, 2002
gtrubetskoy changes for windows build 41724a1
Commits on Aug 24, 2002
gtrubetskoy filter now wont segfault on FLUSH bucket ed40f2b
Commits on Aug 28, 2002
gtrubetskoy Added req.internal_redirect and fixed some bugs 72a6b4c
gtrubetskoy untabified 87baffd
Commits on Aug 30, 2002
gtrubetskoy cleaned up interpeter allocation stuff a bit f2fe346
Commits on Sep 02, 2002
gtrubetskoy reorganized config handling in preparation for connection handler 589601e
Commits on Sep 06, 2002
gtrubetskoy added PythonConnectionHandler and returned PythonEnablePdb 51a108d
gtrubetskoy added PythonConnectionHandler and returned PythonEnablePdb 69e06f9
Commits on Sep 07, 2002
gtrubetskoy Wrote docs for Connection handler and related changes a4f9f40
gtrubetskoy Wrote docs for Connection handler and related changes f687cf0
gtrubetskoy got ring of import string 541dc29
gtrubetskoy brought more to python 2.2 style e360119
gtrubetskoy Publisher now defaults to index if no path_info specified 1f967d2
Commits on Sep 12, 2002
gstein WHAM!
Revamp the copyright/license headers in all(?) of the files. Include
the appropriate attribution/recognition to Grisha's original work.
gstein Fix up the copyright files. a3664a4
Commits on Sep 14, 2002
grisha ext in python_handler() was uninitialized causing a segfault for some b92e326
grisha ap_register_*_filter() normalizes the filter's name before it stores it
by converting it to lower case and removing special characters.  If the
name is not the same when normalized then python_filter() will not be
able to work out which filter it is and will segfault.

thanks to Gary Benson <>
Commits on Sep 15, 2002
grisha Fixed a bug where we were trying to add an offset to a pointer without
having it cast to void* first. Also got rid of some mentions of memberlist
in favor of PyMemberDef.
Commits on Sep 16, 2002
grisha Filter chaining now works "better", i.e. multiple mod_python filters act
as expected without hanging or segfaulting.
Passing output of a mod_python filter to mod_include works fine, but not
the other way around for some reason mod_include gives an empty brigade?
Commits on Sep 17, 2002
grisha Figured out the issue of content-length being wrong when filter is in…

more than once in a request.
Commits on Sep 18, 2002
grisha Added basic documentation for the filter object. d5ef939
grisha *** empty log message *** 92de24a
grisha Added Justin's patches: segfault fix in mod_python.c, some autoconf
things and .cvsignore files.
Commits on Sep 19, 2002
grisha Added apache.config_tree() and apache.server_root(). facc64c
Commits on Sep 24, 2002
grisha More thorough tests, especially request object, also a few fixes. 25a992f
grisha removed some debugging code in requestobject.c that wasnt supposed to…
… slip into cvs
grisha beta 2 e0f0d77
Commits on Sep 27, 2002
grisha A small bug with the way a file extension is obtained and some other …
Commits on Oct 01, 2002
grisha More fixes to filters - the filters now behave correctly when PythonD…
…ebug is

on by sending traceback printout to the client.
Commits on Oct 04, 2002
grisha Bugfixes/patches from Robin Munn and other stuff. f228be3
grisha Added filter.pass_on(). fbbffb6
grisha More filter changes, filter's return value is now ignored. Added an e…

of a gzip filter.
Commits on Oct 08, 2002
grisha Major changes to the test script, which now is more or less organized
but still needs multitudes of documentation and additional tests.
Also added a httpdconf module as part of the test suite - it generates
Httpd configs similar to the way HTMLgen works. Right now its very bare,
but could eventually grow into something useful.
Commits on Oct 09, 2002
grisha Added some basic documentation for writing tests. b025b2e
Commits on Oct 10, 2002
grisha The test suite now runs on Windows without any tweaking! (Well, some
things DO have to be entered manually given that autoconf doesn't work
under Windows).
grisha Got rid of debug config in msvc since it doesn't work anyway. 10cdd18
Commits on Oct 12, 2002
grisha PythonInterpreter appears to be working correctly now. c68c906
grisha Took out some debugging print left behind. BTW, the previous check in…
… comment

should read PythonImport, not PythonInterpreter.
grisha Added a test for PythonTransHandler. 1e0d4e6
Commits on Oct 14, 2002
grisha A couple of changes to autoconf-related things to make us more solari…
grisha Uncommented some tests that got commented out by accident. cff8e2f
grisha -\> configure 8f88f88
Commits on Oct 15, 2002
grisha Addressed all (or most) compiler warnings. Also tested on FreeBSD and
added a not in the README re how to compile on it because of the
FreeBSD threads unease.
grisha Some doc typos fixed 01147d9
grisha This will be BETA3. f886d6b
grisha We don't need mod_python.sln for MSVC to work. 35ae26b
Commits on Oct 23, 2002
grisha This fixes _epintf and _floatidf issues on solaris b8dc2f9
grisha removed mkdep since it does not seem to be used fe9fbb9
grisha libpython.module is not user anymore a871748
grisha Two more unused files 0531a53
grisha distclean cleans more thoroughly 72d5ee6
Commits on Oct 24, 2002
grisha Fixed distclean 31e09cb
grisha some more fixes, dont remember 98a0dc8
grisha with-python now takes a python binary rather than the directory 87bd248
Commits on Oct 29, 2002
grisha Most likely fixed the segfault problem with tables. ("Most likely",
because the problem was impossible to replicate reliably)

Also added aditional logging to the tests so that's its easier to tell
where exactly something failed.
Commits on Oct 30, 2002
grisha Beta 4 75ba961
Commits on Nov 07, 2002
grisha .cvsignore files checked in 031371f
grisha Use python shared lib if available bdab27d
grisha root dir .cvsignore 65c5b10
grisha Added Justin Erenkrantz f868941
Commits on Nov 08, 2002
gstein Take Roy Fielding's advice and keep Grisha's email address out of the
source code. No need to send yet more spam his way :-)
Commits on Nov 11, 2002
grisha If no module is specified, the Publisher defaults to index 483a7c3
Commits on Nov 15, 2002
grisha Wait to call Py_Initialize until the 2nd DSO load.
Submitted by:	Justin Erenkrantz
grisha Added hints on building on Darwin. I hope they are correct! df12779
Commits on Nov 16, 2002
grisha While testing on PPC/Darwin found a couple of long long conversion bugs. 8baa89e
Commits on Nov 19, 2002
grisha Updated README with "new" and "upgrading" sections. 80a5d64
grisha Correct number of parts 80f2ef1
Commits on Nov 26, 2002
grisha corrected sent_boduct d98fc8b
grisha Another correction to the way we treat apr_off_t 4dc5036
grisha 3.0.1 release 213835d
Commits on Dec 02, 2002
grisha Fixed server.register_cleanup() which was left in its 2.x state 2ffa5bd
grisha Detect Python compiled as framework on Darwin.
Submitted by: Justin Erenkrantz
Commits on Dec 17, 2002
grisha For whatever reason on solaris 8 sed didn't filter blanks correctly r…

in configure thinking that Python is a Darwin framework... Not sure what
the problem with sed was, but replacing it with awk seems to have fixed it.
grisha Added _muldi3.o to list of objects to be explicitely linked in on Sol 8.
I haven't seen a problem with it, but Michael Schwager reported seeing it,
and it didn't seem to hurt anything to add it.
Commits on Dec 18, 2002
grisha Improved they way publisher deals with | .ext syntax handlers, resolving
issue reported by Damjan earlier. Also added tests for | .ext syntax.
Commits on Dec 19, 2002
grisha Table object's get() now accepts any object as second argument rather…
… than

just strings. This should fix some problems people reported when using
Commits on Dec 20, 2002
grisha Fixed a CGI bug reported by Gregory Bond <> 37f4523
grisha Fixed a problem with the way content-type was set reported by
Sebastian Tusk <>.
grisha Removed descriptions of what people did from CREDITS, leaving just na…

because the short descriptions were not descriptive enough, and we don't
have resources to maintain long ones. Now everyone gets equal credit.
grisha Removed the File class from publisher, it seemed unnecessary. 7cc0755
Commits on Dec 28, 2002
grisha The beginnings of a distutils based Windows installer. This requires
distutils from Python 2.3 because it has a windows post-install script
grisha Added CVS Id 0c3e059
grisha Added distclean for dist 8832adf
grisha dist/ is now generated by configure, which is more intuitive 3cb64e2
Commits on Dec 30, 2002
grisha Remove // comments
Submitted By: Justin Erenkrantz
grisha Replacing Makefile with 4168cde
grisha Added 6a57f12
grisha Make install now uses distutils to install the mod_python package. 95886eb
grisha Removed comment re auto generation f717d8d
grisha Set it to satically link with MFC. According to MS docs you don't
need the mcvcr70 dll, but I couldn't verify it, it always works for me
with or without the dll.
grisha Replaced long long with LONG_LONG b95d2b0
Commits on Dec 31, 2002
grisha ap_set_content_type now takes a copy of the Python string
Submitted By: Justin Erenkrantz
Commits on Jan 09, 2003
grisha Improved windows install script. e92940e
grisha Removed mentions of "static" 116f38a
grisha Added a cgi test and fixed a cgi problem. Thanks to Gregory Bond for
the pointer.
Obtained from:
Submitted by: Gregory Bond
Reviewed by:
grisha Oops, forgot to uncomment all other tests. 62dcf7d
grisha Added a call to PyOS_AfterFork() per Jack Diederich's suggestion. 7e6f4a2
Commits on Jan 10, 2003
grisha Added more people to credits 7c6ec59
grisha Looks like some lns insist on two arguments 691a5b8
Commits on Jan 18, 2003
grisha Changed buckets created by filter.write() from pool to heap, and added
apr_brigade_destroy to filter.flush(). This way all memory is freed after
a flush and httpd doesn't grow into a monster when filtering huge files.
grisha Updated NEWS. fded510
grisha Oops were in 2003 9fe0ca2
grisha remember to clean memory for filter.close() 2719e92
Commits on Jan 23, 2003
grisha Added tests for server obj, also a filter bug fixed 02d773e
grisha Added tests for connection, also corrected problems discovered in the…
… process
Commits on Jan 24, 2003
grisha tests pass on windows 133ec3e
Commits on Jan 26, 2003
grisha make sure we do not add None to sys.path c0b2b4d
Commits on Feb 12, 2003
grisha Added a test for req.headers_out. 5f5a0dc
Commits on Feb 28, 2003
grisha we now pass tests on darwin 73ad23f
grisha about to tag 3.0.2 d2e9f60
grisha Small problem with ConnectionHandler error output.
Submitted by: Chris Monson <>
Commits on Mar 07, 2003
grisha Reproduced and fixed the bug with headers out not going out if there was
a handler registered prior to fixup and mod_dir was used. It turnes out
that ap_internal_fast_redirect replaces pointers to headers_out and other
tables inside request, so the mod_python request object created prior to
fast_redirect gets left with stale pointers. Added a bit of code to always
make sure that we are using current tables.
Obtained from:
Submitted by: The bug discovered by and test case created by Geert Jansen
Reviewed by:
grisha Gearing up for 3.0.3 df688af