Commits

Author Commit Message Labels Comments Date
Denis Bilenko
cythonpp.py: minor changes in comments
Denis Bilenko
replace cython_ifdef.py with cythonpp.py; m4 and unifdef are no longer needed to build gevent * Rename core_.pyx to core.ppyx and use C preprocessor macros here instead of m4 macros
Denis Bilenko
remove product of ./configure from .hgignore
Ralf Schmitt
do not mention libevent in intro.rst gevent is now using libev and requires at least python 2.5.
Ralf Schmitt
remove python 2.4 trove classifier in setup.py
Ralf Schmitt
remove _fileobject used for python 2.4 compatibility in socket.py
Ralf Schmitt
do not change source controlled files when building gevent run configure in build_temp instead and copy the pregenerated ares_build.h.dist to build_temp on windows. Run configure with /bin/sh instead of changing permissions.
Denis Bilenko
update libev to latest CVS version
Ralf Schmitt
check if unifdef understands -b option and workaround it if not some systems come with an outdated unifdef command that doesn't understand the "-b" option. We now check that beforehand and call unifdef without the -b option.
Ralf Schmitt
make test__memleak.py not report a SystemExit error when run with py.test
Ralf Schmitt
fallback to buffer if memoryview fails in _get_memory on python 2.7 fixes "python2.7 array.array doesn't support memoryview used in gevent.socket.send" issue (http://code.google.com/p/gevent/issues/detail?id=94)
Ralf Schmitt
create a pipe instead of select'ing on sys.stdin in test__select.py this makes test__select.py compatible with py.test and makes it possible to run test__select.py with stdin redirected.
Ralf Schmitt
dynamically generate test functions in test__execmodules.py
Ralf Schmitt
make test__queue.py compatible with py.test py.test wanted to run the test_get_interrupt and test_put_interrupt functions, so rename then.
Ralf Schmitt
test sendall with str, unicode and array array fails, see http://code.google.com/p/gevent/issues/detail?id=94
Ralf Schmitt
replace libevent with libev in gevent's docstring
Ralf Schmitt
call make when building sdist in setup.py we do this by using a custom sdist class. it's also called sdist as the classname is also used for the warning message about the missing README.txt and I didn't want to change that.
Ralf Schmitt
set PYTHON before running make this forces make to choose the same python executable that is running setup.py. if PYTHON is already set, don't overwrite it.
Ralf Schmitt
make cython_ifdef.py work on python 2.5 the builtin bin is not available on python 2.5, so don't use it in the _bin function.
Ralf Schmitt
use environment variables to override default executables used by make python may not exist (on some of the BSDs) or may be python 3 (on archlinux). We can now choose an executable by setting the environment variables PYTHON (or calling make PYTHON=...). While I'm here, do the same for m4 and cython (environment variables M4 and CYTHON)
Ralf Schmitt
make 'locals()' not spew out __builtin__.__dict__ in backdoor __builtins__ may either be the __builtin__ module or __builtin__.__dict__. in the latter case typing locals() at the backdoor prompt spews out lots of useless stuff. In the former case it just prints "{'__builtins__': <module '__builtin__' (built-in)>,..."
Ralf Schmitt
add optional banner argument to BackdoorServer
Ralf Schmitt
raise IOError on truncated POST requests fixes http://code.google.com/p/gevent/issues/detail?id=92
Ralf Schmitt
unify _do_read and _chunked_read in pywsgi this makes the code a bit cleaner and it's easier to check if we're using readline in _do_read. we need to do that in order to check for short post requests.
Ralf Schmitt
add some tests for pywsgi.Input this contains some failing tests for truncated post requests (http://code.google.com/p/gevent/issues/detail?id=92) we exercise the Input class without going through the complete WSGI toolchain.
Ralf Schmitt
use absolute imports in wsgi.py and hide _pywsgi this makes test__execmodules.py succeed. while I'm here, also hide the _pywsgi name.
Ralf Schmitt
run tests in their own __main__ module do not use the current globals() as namespace, rather setup a clean namespace inside a newly created __main__ module. the missing "import sys" in test__socket_timeout.py fixed two commits ago, wouldn't go unnoticed with this change.
Ralf Schmitt
use /usr/bin/env shebang in testrunner.py Otherwise I'm always confused for a minute until I remember to run "python testrunner.py"
Ralf Schmitt
add missing import in test__socket_timeout.py
Denis Bilenko
core: fix time() function
  1. Prev
  2. Next