1. 23 Şub, 2008 1 kayıt (commit)
  2. 25 Nis, 2007 1 kayıt (commit)
  3. 06 Nis, 2007 1 kayıt (commit)
  4. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  5. 04 Haz, 2002 2 kayıt (commit)
    • Guido van Rossum's avatar
      Repair the test (adding a docstring to the module type changed the · bdabeccf
      Guido van Rossum yazdı
      docstring for an uninitialized module object).
      bdabeccf
    • Guido van Rossum's avatar
      Surprising fix for SF bug 563060: module can be used as base class. · c3a787e0
      Guido van Rossum yazdı
      Change the module constructor (module_init) to have the signature
      __init__(name:str, doc=None); this prevents the call from type_new()
      to succeed.  While we're at it, prevent repeated calling of
      module_init for the same module from leaking the dict, changing the
      semantics so that __dict__ is only initialized if NULL.
      
      Also adding a unittest, test_module.py.
      
      This is an incompatibility with 2.2, if anybody was instantiating the
      module class before, their argument list was probably empty; so this
      can't be backported to 2.2.x.
      c3a787e0