summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set svn:eol-style to native.Tim Peters2006-03-015-281/+281
|
* Fix parsing of exception_hierarchy.txt when a platform-specific exception isBrett Cannon2006-03-011-0/+1
| | | | specified. Hopefully this wll bring warming to Tim's Windows-loving heart.
* Document new Py_ssize_t API.Martin v. Löwis2006-03-012-1/+27
|
* Use %ld and casts to long for refcount printing, in absense of a universallyThomas Wouters2006-03-013-12/+31
| | | | | available %zd format character. Mark with an XXX comment so we can fix this, later.
* Use %zd format characters for Py_ssize_t types.Thomas Wouters2006-03-011-6/+6
|
* Remove redundant isinstance() check.Thomas Wouters2006-03-011-1/+1
|
* Put back the essence of Jeremy's original XXX comment.Thomas Wouters2006-03-011-1/+3
|
* Add tool to check documentation against declaration.Martin v. Löwis2006-03-011-0/+157
|
* Make documentation match the implementation.Martin v. Löwis2006-03-016-167/+168
|
* Repair mangled code in the Windows flavor ofTim Peters2006-03-011-2/+1
| | | | | | | | | | | posix__getfullpathname(). In partial answer to the now-deleted XXX comment: /* XXX(twouters) Why use 'et#' here at all? insize isn't used */ `insize` is an input parameter too, and it was left uninitialized, leading to seemingly random failures.
* Add Misc/NEWS entry for Misc/Vim/vim_syntax.py . Also use conditionalBrett Cannon2006-03-012-4/+5
| | | | expression for the hell of it.
* PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon2006-03-0116-232/+570
| | | | | | | | | added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846.
* Use Py_ssize_t for PyArg_UnpackTuple arguments.Martin v. Löwis2006-03-012-3/+3
|
* Remove unused field.Martin v. Löwis2006-03-011-1/+0
|
* Make ob_refcnt and tp_maxalloc (and friends) Py_ssize_t.Martin v. Löwis2006-03-011-4/+4
|
* Py_ssize_t-ify.Thomas Wouters2006-03-011-5/+10
|
* Fix DBEnv's set_tx_timestamp wrapper to be slightly more correct onThomas Wouters2006-03-011-4/+5
| | | | | | | | | non-32bit platforms. Will still only allow 32 bits in a timestamp on Win64, but at least it won't crash, and it'll work right on platforms where longs are big enough to contain time_t's. (A better-working, although conceptually less-right fix would have been to use Py_ssize_t here, but Martin and Tim won't let me.)
* Move #include to outside "extern C {}", before Tim figures out it'll breakThomas Wouters2006-02-281-2/+3
| | | | VC++.
* Regenerate.Thomas Wouters2006-02-281-0/+2
|
* Don't pollute namespace as bad as before. All the types are static now.Neal Norwitz2006-02-282-159/+159
|
* Make 'as' an actual keyword when with's future statement is used. NotThomas Wouters2006-02-285-206/+212
| | | | actually necessary for functionality, but good for transition.
* Change non-ASCII warning into a SyntaxError.Martin v. Löwis2006-02-281-10/+6
|
* Include code.h more sanely.Thomas Wouters2006-02-281-3/+2
|
* No need to export PySTEntry_New, it is only used in symtable.cNeal Norwitz2006-02-282-3/+3
|
* Set eol-style on new .py files.Tim Peters2006-02-280-0/+0
|
* Updates to the with-statement:Guido van Rossum2006-02-2812-96/+609
| | | | | | | | | | | | | | | | - New semantics for __exit__() -- it must re-raise the exception if type is not None; the with-statement itself doesn't do this. (See the updated PEP for motivation.) - Added context managers to: - file - thread.LockType - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore} - decimal.Context - Added contextlib.py, which defines @contextmanager, nested(), closing(). - Unit tests all around; bot no docs yet.
* unparse.py can now unparse itself.Martin v. Löwis2006-02-281-2/+139
|
* Add a note about removing the file once the bug is fixedNeal Norwitz2006-02-281-1/+2
|
* Its right now.Tim Peters2006-02-281-3/+3
|
* Ignore .pyc filesNeal Norwitz2006-02-280-0/+0
|
* Note that as generates a warning tooNeal Norwitz2006-02-281-0/+2
|
* Martin owns PEP 353 and did most of the workNeal Norwitz2006-02-281-1/+1
|
* Make __future__ features similar for with and absolute import since they ↵Neal Norwitz2006-02-281-2/+2
| | | | were both added before a1
* Generally inehrit codeflags that are in PyCF_MASK, instead of writing it outThomas Wouters2006-02-281-4/+4
| | | | | in multiple places. This makes compile()/eval()/etc also inherit the absolute-import codeflag, like division and with-statement already were.
* Add some stats collection in debugging mode.Jeremy Hylton2006-02-281-3/+41
| | | | No good way to extract output yet.
* Gave README a .txt extension.Tim Peters2006-02-281-0/+0
|
* from __future__ import with_statement addon for 'with', mostly written byThomas Wouters2006-02-2816-40/+102
| | | | Neal.
* Add directory which contains known ref leaks. Some of these are likely to ↵Neal Norwitz2006-02-284-0/+52
| | | | be system dependent (like test_gestalt).
* Use simple PyList to implement list of PyObject pointersJeremy Hylton2006-02-281-44/+20
|
* Set EOL style to native.Tim Peters2006-02-285-969/+969
|
* Another bit of unconstification.Tim Peters2006-02-281-1/+1
|
* Whitespace normalization.Tim Peters2006-02-289-993/+990
|
* TabifyJeremy Hylton2006-02-281-84/+87
|
* Instead of printing the exception when you interrupt a test (Ctrl-C),Neal Norwitz2006-02-281-1/+9
| | | | print the status so far and suppress printing the exception (but still exit).
* Remove asdl_seq_APPEND() and simplify asdl seq implementation.Jeremy Hylton2006-02-283-81/+59
| | | | Clarify intended use of set_context() and check errors at all call sites.
* Update commentsNeal Norwitz2006-02-281-1/+2
|
* Real arena implementationJeremy Hylton2006-02-282-72/+84
| | | | | Replace the toy arena implementation with a real one, based on allocating 8K chunks of memory by default.
* George Yoshida points out that the special charactersNeal Norwitz2006-02-281-1/+1
| | | | | from Tools/compiler/ast.txt are not used anywhere else in asttable.txt. So remove "\&".
* Test case to cover subscription bug from SF 1333982Jeremy Hylton2006-02-282-0/+12
|
* Wups, add NEWS item I'd written but not checked in.Thomas Wouters2006-02-281-0/+6
|