Guido van Rossum
0e41c8c848
Cosmetic change to the dox_8x3 hack.
1996-06-20 14:18:34 +00:00
Guido van Rossum
3b4da59cd6
Renamed static pow() to powerop() to avoid name conflict in some compilers.
1996-06-19 21:49:17 +00:00
Guido van Rossum
7c46a920ae
New style interface via pointer variable.
1996-06-17 17:07:23 +00:00
Guido van Rossum
cfd0a22252
struct frozen is now struct _frozen and comes from import.h.
1996-06-17 17:06:34 +00:00
Guido van Rossum
8fa9b6f932
Define sys.prefix and sys.exec_prefix (see Modules/getpath.c; from Makefile).
1996-06-17 17:02:48 +00:00
Guido van Rossum
6602099e7c
Got rid of florida hack and made it work with Solaris 2.5 pthreads.
...
Wonder if this will break it on all other platforms :-)
1996-06-11 18:32:18 +00:00
Guido van Rossum
582646aecc
grand renaming; added copyright to some files
1996-05-28 22:30:17 +00:00
Guido van Rossum
0a8626eb88
Plug memory leak (variable names in code objects were being leaked!)
1996-05-28 22:28:12 +00:00
Guido van Rossum
8c1e150215
Removed some done "to do" items.
...
Changed #ifdef DEBUG slightly.
1996-05-24 20:49:24 +00:00
Guido van Rossum
ded690fc35
rename printrefs, getobjects to _Py_ prefix
1996-05-24 20:48:31 +00:00
Guido van Rossum
dadc824c6e
removed verbose decl; added win3.1 dynamic linking.
1996-05-23 22:51:40 +00:00
Guido van Rossum
40f470f7e0
moved verbose decl to pydebug.h; added dos_8x3 feature
1996-05-23 22:51:04 +00:00
Guido van Rossum
f857a6becb
Added copyright.
...
Include config.h which may define COMPILER.
1996-05-23 22:50:26 +00:00
Guido van Rossum
5e3e426961
removed sime redundant header includes and decls.
1996-05-23 22:49:38 +00:00
Guido van Rossum
795ba583f2
Removed some redundant header includes.
...
dir(object) now returns object.__dict__.keys() even if __dict__ is not
a dictionary.
1996-05-23 22:49:07 +00:00
Guido van Rossum
7f3f2c1819
TRACE_REFS -> Py_TRACE_REFS
1996-05-23 22:45:41 +00:00
Guido van Rossum
aae0d32f66
Use new names for debug macros. Don't include pythonrun.h.
1996-05-22 16:35:33 +00:00
Guido van Rossum
9c9a07c9c9
Remember source filename as <module>.__file__.
1996-05-16 20:43:40 +00:00
Guido van Rossum
d17057745c
Add list() method, analogous to tuple().
1996-04-09 02:41:06 +00:00
Guido van Rossum
a5a3db70d4
Under NT, interface to mysterious module registry. (Mark H.)
1996-04-09 02:39:59 +00:00
Guido van Rossum
e71a947f8e
Under NT, change "long" sharedlib extension to ".dll". (Mark H.)
1996-04-09 02:39:15 +00:00
Guido van Rossum
c606fe186f
Under NT, define sys.dllhandle and sys.winver (Mark H.).
1996-04-09 02:37:57 +00:00
Guido van Rossum
4f1c59b818
Add'l change for NT (Mark H.).
1996-04-09 02:37:03 +00:00
Guido van Rossum
25e852985f
__FreeBSD__ shared libraries
1996-02-25 05:02:29 +00:00
Guido van Rossum
be1a6e29e3
Change Mac creator from 'PYTH' to 'Pyth' -- 'PYTH' was already taken
...
by someone else, 'Pyth' is now officially registered by the PSA.
1996-02-21 15:29:20 +00:00
Guido van Rossum
15ad9a6e52
only use 'j' for imaginary constants
1996-01-26 20:53:56 +00:00
Guido van Rossum
c96ef6ab9e
properly initialize optional arguments to apply()
1996-01-26 20:44:30 +00:00
Jack Jansen
1e7b2aa5d6
Removed unused var
1996-01-25 16:11:19 +00:00
Sjoerd Mullender
996e6dc959
Corrected format string in api_version_warning.
1996-01-23 16:07:29 +00:00
Guido van Rossum
ff4af06735
__hpux -> hpux equivalence
1996-01-12 01:17:50 +00:00
Guido van Rossum
b0352fa3fc
fix args options for setcheckinterval
1996-01-12 01:15:01 +00:00
Guido van Rossum
beeda8a7ba
changes for power (**) operator
1996-01-12 01:13:38 +00:00
Guido van Rossum
50564e8dae
changes for complex and power (**) operator
1996-01-12 01:13:16 +00:00
Guido van Rossum
8a5c5d277e
changes for complex numbers
1996-01-12 01:09:56 +00:00
Guido van Rossum
72b56e831f
don't return from main loop when error occurs
1995-12-10 04:57:42 +00:00
Jack Jansen
66a8977b0e
Moved mac-specific exit handling to macmain.c
1995-10-27 13:22:14 +00:00
Jack Jansen
9513f2c95a
Made a bit more robust against out-of-memory situations
1995-10-27 13:21:28 +00:00
Jack Jansen
0a72e8d4d2
Added missing include for <Aliases.h>
1995-10-23 13:54:01 +00:00
Guido van Rossum
6c066885f1
set date to oct 13
1995-10-12 00:48:18 +00:00
Guido van Rossum
53f4524a92
disable code generation for access statement
1995-10-08 00:42:46 +00:00
Guido van Rossum
1c45ca310b
keep exitfunc alive while calling it
1995-10-07 19:14:01 +00:00
Jack Jansen
95ffa23597
Removed unused variables
1995-10-03 14:38:41 +00:00
Guido van Rossum
a1e7e62893
fix bug with missing default for last arg (discovered by Tommy Burnette)
1995-09-18 21:44:04 +00:00
Guido van Rossum
befa14f1b9
#undef argument, for the Mac
1995-09-18 21:42:42 +00:00
Guido van Rossum
020dfe7f2e
include Python.h
1995-09-18 21:40:19 +00:00
Guido van Rossum
650ae0ab06
remove unwanted fatal() from err_badcall()
1995-09-18 21:31:16 +00:00
Guido van Rossum
9d78d8d2fb
spell TraceBack with capital B
1995-09-18 21:29:36 +00:00
Sjoerd Mullender
6ec3c653da
Implemented two new functions in sys:
...
getcounts() returns a list of counts of allocations and
deallocations for all different object types.
getobjects(n [, type ]) returns a list of recently allocated
and not-yet-freed objects of the given type (all
objects if no type given). Only the n most recent
(all if n==0) objects are returned.
getcounts is only available if compiled with -DCOUNT_ALLOCS,
getobjects is only available if compiled with -DTRACE_REFS. Note that
everything must be compiled with these options!
1995-08-29 09:18:14 +00:00
Guido van Rossum
05870115fc
rd_object() with exception is fatal error
1995-08-28 02:56:20 +00:00
Guido van Rossum
69f6ee6a9d
err_badcall() is fatal error
1995-08-28 02:55:48 +00:00
Guido van Rossum
667d704997
Initial revision
1995-08-04 04:20:48 +00:00
Guido van Rossum
e3e61c1642
empty kw dict is ok for builtins
1995-08-04 04:14:47 +00:00
Guido van Rossum
a1633cd993
split cofnfig.c in 1000 little files :-)
1995-08-04 04:13:00 +00:00
Guido van Rossum
47ad5e7d81
moved stuff around to resemble main.c
1995-08-04 04:10:43 +00:00
Guido van Rossum
6ec1efb645
add imp.get_frozen_object()
1995-08-04 04:08:57 +00:00
Guido van Rossum
b7b45627e8
avoid resize of 0-length tuple
1995-08-04 04:07:45 +00:00
Jack Jansen
21eb0b56a8
mac CW-only fix for messy windows upon exit
1995-07-29 13:55:06 +00:00
Jack Jansen
b7d0df4a91
Allow mac user to set "command line flags" by option-starting python.
1995-07-29 13:53:59 +00:00
Guido van Rossum
0db1ef96ac
fix bogus DECREF in finally clause
1995-07-28 23:06:00 +00:00
Jack Jansen
614cf81606
Undef 'argument' before including mac headers
1995-07-28 11:28:14 +00:00
Guido van Rossum
ff8b494cf0
changes for keyword args to built-in functions and classes
1995-07-26 18:16:42 +00:00
Guido van Rossum
ce0a6ded4d
never close the file in imp.load_...
1995-07-26 18:13:27 +00:00
Guido van Rossum
53bb7fff11
be more suspicious of getlocals()
1995-07-26 16:26:31 +00:00
Guido van Rossum
681d79aaf3
keyword arguments and faster calls
1995-07-18 14:51:37 +00:00
Guido van Rossum
11a3f0c2bc
NT specific change for nicer error message (Mark H)
1995-07-18 14:40:09 +00:00
Guido van Rossum
32120311ed
rename arglist to alist (conflict with new grammar symbol)
1995-07-10 13:52:21 +00:00
Guido van Rossum
f10570b9eb
3rd arg for raise; INCOMPLETE keyword parameter passing (currently f(kw=value) is seen as f('kw', value))
1995-07-07 22:53:21 +00:00
Guido van Rossum
7faeab3103
new MAGIC; some changes to default files for imp.load_... functions
1995-07-07 22:50:36 +00:00
Guido van Rossum
e78c5d0a16
ignore control-l (parallelling change to tokenizer.c)
1995-07-07 22:45:41 +00:00
Guido van Rossum
aaf18390ee
added sys.platform
1995-07-07 22:45:02 +00:00
Guido van Rossum
e40bddc3ef
new grammar
1995-07-07 22:44:10 +00:00
Guido van Rossum
872537cc86
added locals() and globals(); [raw_]input() uses readline()
1995-07-07 22:43:42 +00:00
Jack Jansen
eceb3e3f0a
Porting to CW CFM68K
1995-06-27 13:15:15 +00:00
Jack Jansen
ae12e19409
Added PY_RESOURCE (mac only) to imp module
1995-06-18 20:06:44 +00:00
Guido van Rossum
75f288de71
re-enabled NeXT dynamic linking (#ifdef NeXT)
1995-06-14 22:07:26 +00:00
Jack Jansen
5d9acb6b9e
Mac dynloading is now enabled by USE_MAC_DYNAMIC_LOADING.
...
Mac dynloading changed to allow multiple modules to live in with each
other in the same file.
1995-06-14 14:54:25 +00:00
Sjoerd Mullender
fbe6d33ffd
Check if we've already loaded a dynamic module under a different name.
1995-06-12 15:51:34 +00:00
Guido van Rossum
6233293ce5
OS/2 thread support
1995-04-10 11:36:14 +00:00
Guido van Rossum
4e2e0f9225
renaming phase 3
1995-03-31 10:27:23 +00:00
Guido van Rossum
9a1f388676
init sys_checkinterval to 10
1995-03-30 11:01:58 +00:00
Guido van Rossum
527c2643d1
flush stdout before writing to stderr in print_error()
1995-03-30 11:01:44 +00:00
Guido van Rossum
6f9e433ab3
fix dusty debugging macros
1995-03-29 16:57:48 +00:00
Guido van Rossum
684ed9891b
remove unused code for tp_call
1995-03-22 10:09:02 +00:00
Guido van Rossum
cc8914fb22
fix comment about exit()
1995-03-20 15:09:40 +00:00
Guido van Rossum
a44823b776
In NT, write fatal() msg to debugging device
1995-03-14 15:01:17 +00:00
Guido van Rossum
8d617a60b1
various tuple related optimizations; remove unused b/w compat code from ceval.c
1995-03-09 12:12:11 +00:00
Guido van Rossum
53e8d44eec
changes in NT tests
1995-03-09 12:11:31 +00:00
Guido van Rossum
59461c7052
use PROTO macro around fn prototype
1995-03-09 12:10:50 +00:00
Guido van Rossum
0fbec64c56
for BorlandC
1995-02-27 10:15:36 +00:00
Guido van Rossum
464a0a100f
for MPW __SC__
1995-02-27 10:15:10 +00:00
Guido van Rossum
4f508cc806
add explicit 0 flags for methodlist
1995-02-21 21:03:24 +00:00
Guido van Rossum
3097c3a87e
change ifdefs and fix "%#s" format
1995-02-21 21:02:46 +00:00
Guido van Rossum
2b7e04a9d9
for __SC__
1995-02-19 15:54:36 +00:00
Guido van Rossum
c388068431
magic number changes of CR/LF are swapped
1995-02-19 15:54:18 +00:00
Guido van Rossum
e9fbc0992c
rename macstrerror to PyMac_StrError; no EINTR test in CW
1995-02-18 14:52:19 +00:00
Guido van Rossum
8a1e8eb62f
fix bogus test for negative float
1995-02-18 14:51:32 +00:00
Guido van Rossum
6a75d26622
ported to 68K Mac; changed suffix to .slb
1995-02-18 14:51:15 +00:00
Guido van Rossum
3a205f7ea0
hope to fix DEC Alpha gcc problems by declaring ints instead of longs
1995-02-17 15:10:07 +00:00
Guido van Rossum
d9dfaf5a3b
fix typo (== for =) in assignment
1995-02-17 15:04:57 +00:00
Guido van Rossum
1d339e8c35
fix bug in try-finally with class exceptions; declare different func pointers for different uses
1995-02-17 15:04:21 +00:00