1. 30 Nov, 1993 1 commit
    • Guido van Rossum's avatar
      * import.c (get_module): pass .py filename to parse_file, not .pyc filename! · 590baa4a
      Guido van Rossum authored
      * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous
        functions.
      * bltinmodule.c: removed lambda (which is now a built-in function);
        removed implied lambda for string arg to filter/map/reduce.
      * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in
        function by lambda as grammar entity: instead of "lambda('x: x+1')" you
        write "lambda x: x+1".
      * Xtmodule.c (checkargdict): return 0, not NULL, for error.
      590baa4a
  2. 23 Nov, 1993 3 commits
    • Guido van Rossum's avatar
      Fix lay-out of previous fix. · 8732d6ae
      Guido van Rossum authored
      8732d6ae
    • Guido van Rossum's avatar
      * timemodule.c: Add hack for Solaris 2. · b376a4ad
      Guido van Rossum authored
      * posixmodule.c: don't prototype getcwd() -- it's not portable...
      * mappingobject.c: double-check validity of last_name_char in
        dict{lookup,insert,remove}.
      * arraymodule.c: need memmove only for non-STDC Suns.
      * Makefile: comment out HTML_LIBS and XT_USE by default
      * pythonmain.c: don't prototype getopt() -- it's not standardized
      * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
        recvfrom() to (ANY*).
      * pythonrun.c (initsigs): fix prototype, make it static
      * intobject.c (LONG_BIT): only #define it if not already defined
      * classobject.[ch]: remove all references to unused instance_convert()
      * mappingobject.c (getmappingsize): Don't return NULL in int function.
      b376a4ad
    • Guido van Rossum's avatar
      * {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}. · 83eb9625
      Guido van Rossum authored
      * lib2.tex: change bogus \\var to \var.
      83eb9625
  3. 19 Nov, 1993 1 commit
  4. 17 Nov, 1993 1 commit
    • Guido van Rossum's avatar
      * import.c (get_module): total rewrite, to ensure proper search order: for · c45611d0
      Guido van Rossum authored
        each dir in sys.path, try each possible extension.  (Note: C extensions
        are loaded before Python modules in the same directory, to allow having
        a C version used when dynamic loading is supported and a Python version
        as a back-up.)
      * import.c (reload_module): test for error from getmodulename()
      * moduleobject.c: implement module name as dict entry '__name__' instead
        of special-casing it in module_getattr(); this way a module (or
        function!) can access its own module name, and programs that know what
        they are doing can rename modules.
      * stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0].
      c45611d0
  5. 11 Nov, 1993 3 commits
  6. 10 Nov, 1993 2 commits
  7. 08 Nov, 1993 2 commits
    • Sjoerd Mullender's avatar
      Use __init__ instead of init. · b2e358d4
      Sjoerd Mullender authored
      Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py.
      b2e358d4
    • Guido van Rossum's avatar
      * string.py: added rindex(), rfind(); changed index() to interpret · e65cce5e
      Guido van Rossum authored
        negative start indices starting from the right.
      * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__().
      * os.py: added execl, execlp, and execvp.
      * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda)
      * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce
      * commands.py: use os, not posix
      * test_grammar.py: make it easy to disable non-portable int overflow tests
      * dis.py: don't abuse range()
      e65cce5e
  8. 05 Nov, 1993 9 commits
  9. 03 Nov, 1993 1 commit
    • Guido van Rossum's avatar
      * nismodule.c: database keys and values can contain null bytes. be more · e77a7570
      Guido van Rossum authored
        careful about these.
      * arraymodule.c: added 8 byte swap; added 'i' format character; added
        reverse() method; rename read/write to fromfile/tofile.
      * config.c: Set version to 0.9.9++.
      * rotormodule.c (r_rand): declare k1..k5 as unsigned longs so the shifts
        will have a well-defined effect independent of word size.
      * bltinmodule.c: renamed bagof() to filter().
      e77a7570
  10. 02 Nov, 1993 1 commit
  11. 01 Nov, 1993 12 commits
  12. 30 Oct, 1993 3 commits
  13. 28 Oct, 1993 1 commit