summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis2006-04-135-12/+11
|
* Replace INT_MAX with PY_SSIZE_T_MAX where string lengthMartin v. Löwis2006-04-131-4/+4
| | | | are concerned.
* Replace INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis2006-04-131-3/+3
|
* Add PY_SSIZE_T_MIN/MAX to _testcapi.Georg Brandl2006-04-131-0/+2
|
* Stop claiming that Py_Finalize releases all memory.Martin v. Löwis2006-04-131-1/+4
| | | | Fixes part of #1445210.
* Remove another INT_MAX limitationMartin v. Löwis2006-04-131-2/+1
|
* Replace most INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis2006-04-131-11/+11
|
* C++ compiler changes. casts, rename variables with reserved names.Anthony Baxter2006-04-133-32/+32
|
* Support NFD of very long strings.Martin v. Löwis2006-04-131-3/+3
|
* test_compile can be really long if we are using -u compiler.Neal Norwitz2006-04-131-2/+11
| | | | | | | | | This may be causing the debian sparc buildbot to fail. Print a little message to let the user ^w buildbot know it's still thinking. We may want to adjust the time period which is currently 5 minutes. Will backport.
* Change more ints to Py_ssize_t.Martin v. Löwis2006-04-131-40/+39
|
* Revert 34153: Py_UNICODE should not be signed.Martin v. Löwis2006-04-131-8/+3
|
* whoops. missed one in an auto-generated file. another extern "C" {} for C++ ↵Anthony Baxter2006-04-131-0/+10
| | | | compiler compatibility
* Remove tests that no longer leak. There is still one leaking generator testNeal Norwitz2006-04-133-30/+19
|
* Fix {} mismatch spotted by George Yoshida.Neal Norwitz2006-04-131-1/+1
|
* tty isn't supported on all boxes.Tim Peters2006-04-131-1/+6
|
* Fix typography of Martin's nameAndrew M. Kuchling2006-04-132-4/+4
|
* spread the extern "C" { } magic pixie dust around. Python itself builds nowAnthony Baxter2006-04-1312-0/+112
| | | | | using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core.
* Write some ctypes examplesAndrew M. Kuchling2006-04-131-4/+73
|
* If compiling with g++ don't use -Wstrict-prototpes.Skip Montanaro2006-04-132-7/+13
|
* reverting r45321: Patch #860326: traceback.format_exception_only() nowAnthony Baxter2006-04-133-30/+1
| | | | | | | | prepends the exception's module name to non-builtin exceptions, like the interpreter itself does. broke a number of doctests. should be discussed before checking in (see discussion on python-dev).
* casting nastiness to make C++ compiler happyAnthony Baxter2006-04-131-2/+10
|
* Add a cast to make code compile with a C++ compiler.Anthony Baxter2006-04-131-1/+1
|
* Patch #860326: traceback.format_exception_only() now prepends theGeorg Brandl2006-04-123-1/+30
| | | | | exception's module name to non-builtin exceptions, like the interpreter itself does.
* Fixes bug #1117761Gregory P. Smith2006-04-122-8/+10
| | | | | | | | | bsddb.*open() methods cachesize parameter wouldn't work (raised an internal bsddb.db exception when it was given). The set_cachesize call needed to be moved from the DB object to the DBEnv since the env was introduced to allow for threading. (will backport to 2.4)
* Closes bug #1149413Gregory P. Smith2006-04-122-2/+9
| | | | | | | Using None for a filename with the 'n' flag when calling bsddb.btopen would cause an error while checking if the file None existed. error not likely to be seen as anyone using None for a filename would likely use the 'c' flag in the first place.
* Fix for a bug found by Armin Rigo, plus test.Thomas Heller2006-04-122-1/+13
| | | | https://sourceforge.net/tracker/?func=detail&atid=532154&aid=1467852&group_id=71702
* Don't set gi_frame to Py_None, use NULL instead, eliminating some insanePhillip J. Eby2006-04-122-7/+8
| | | | pointer dereferences.
* Mention ASCII as default encoding; update TODO list; use PyCF_ONLY_AST by ↵Andrew M. Kuchling2006-04-121-9/+26
| | | | MvL's suggestion; typographical tidying of MvL's name
* Bump version number; rearrange introduction a bitAndrew M. Kuchling2006-04-121-9/+8
|
* Ignore the references to the dummy objects used as deleted keysArmin Rigo2006-04-126-5/+40
| | | | in dicts and sets when computing the total number of references.
* Patch #1468808: don't complain if Tkinter is already deleted at the time ↵Georg Brandl2006-04-121-1/+3
| | | | Font.__del__ is run.
* Add PEP 243 sectionAndrew M. Kuchling2006-04-121-1/+26
|
* Update test_sundry. Many modules have now tests, butGeorg Brandl2006-04-121-36/+12
| | | | e.g. SimpleXMLRPCServer wasn't in here yet.
* Note C API incompatibilitiesAndrew M. Kuchling2006-04-121-0/+32
|
* Mention access to ASTsAndrew M. Kuchling2006-04-121-1/+14
|
* Bug #1469163: SimpleXMLRPCServer unconditionally attempted to import fcntl.Anthony Baxter2006-04-122-2/+9
| | | | Wrapped in a try/except.
* Off-by-one buffer overflow error.Armin Rigo2006-04-121-1/+1
|
* Patch #1463288: use a context manager to temporarily switch locales.Walter Dörwald2006-04-122-30/+164
| | | | Add tests for the output of the TextCalendar and HTMLCalendar classes.
* wrap docstrings so they are less than 80 columns. add spaces after commas.Neal Norwitz2006-04-121-3/+5
|
* gen_throw(): The caller doesn't own PyArg_ParseTuple()Tim Peters2006-04-121-3/+1
| | | | | | "O" arguments, so must not decref them. This accounts for why running test_contextlib.test_main() in a loop eventually tried to deallocate Py_None.
* Update comments and the skip list, maybe some of these tests don'tNeal Norwitz2006-04-121-3/+10
| | | | | | | | | | | | report failures, we'll see. Skip certain hopeless tests: compiler and logging. compiler will likely always show varying leaks since it doesn't work on a defined set of modules unless -u compiler is specified. But that takes forever (we only run with -u network currently). logging causes hangs when running with -R.
* Add another little test to make sure we roundtrip multiple list comp ifs ok.Neal Norwitz2006-04-121-0/+4
| | | | Add tests for generator expressions too.
* Update for new grammarNeal Norwitz2006-04-121-4/+4
|
* put in a reference to PEP 306 in a comment at the topAnthony Baxter2006-04-121-0/+3
|
* Get rid of some warnings on MacNeal Norwitz2006-04-122-6/+3
|
* avoid C++ name mangling for the _Py.*SizeT functionsAnthony Baxter2006-04-121-0/+6
|
* remove forward declarations. No constructors to move for these files. MakesAnthony Baxter2006-04-122-6/+1
| | | | code work with C++ compilers.
* Move constructors, add some casts to make C++ compiler happy. Still a problemAnthony Baxter2006-04-121-202/+201
| | | | with the getstring() results in pattern_subx. Will come back to that.
* remove forward declarations, move constructor functions. makes code C++ safe.Anthony Baxter2006-04-121-43/+42
|