1. 10 Dec, 2001 9 commits
    • Guido van Rossum's avatar
      property_descr_get(): Fix a curious bug in the property() type: when · 368a587c
      Guido van Rossum authored
      no get function was defined, the property's doc string was
      inaccessible.  This was because the test for prop_get was made
      *before* the test for a NULL/None object argument.
      
      Also changed the property class defined in Python in a comment to test
      for NULL to decide between get and delete; this makes it less Python
      but then, assigning None to a property doesn't delete it!
      368a587c
    • Fred Drake's avatar
      Added documentation for str.decode(). · 5db6fa69
      Fred Drake authored
      This closes SF bug #490823.
      5db6fa69
    • Guido van Rossum's avatar
      SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't work · 6221d2d0
      Guido van Rossum authored
      Using grid methods on ScrolledText widgets does not
      work as expected. It either fails to pack a widget, or
      can even cause Tk to lock up.
      
      The problem is that the .grid method is being called on
      the text widget, not the frame widget. This can lead
      to the well-known lockup in Tk when a frame's children
      are managed by both the pack and grid managers. Even
      if it doesn't lock up, the frame is never placed within
      the intended widget.
      
      Program fragment:
      >>> import ScrolledText
      >>> s = ScrolledText.ScrolledText()
      >>> s.grid(row=0, column=0, rowspan=2)
      
      The following patch uses the same hack to copy the
      'grid' and 'place' geometry manager methods to the
      ScrolledText instance as is already used for the 'pack'
      manager.
      6221d2d0
    • Michael W. Hudson's avatar
      Fix for · 6200369d
      Michael W. Hudson authored
      [ #409430 ] pydoc install broken
      6200369d
    • Jack Jansen's avatar
      The new menu initialization code would also add the SIOUX menus if a (frozen)... · f7dee674
      Jack Jansen authored
      The new menu initialization code would also add the SIOUX menus if a (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it.
      f7dee674
    • Guido van Rossum's avatar
      New fodder. · 1f176b24
      Guido van Rossum authored
      1f176b24
    • Guido van Rossum's avatar
      SF patch #491049 (David Jacobs): Small PyString_FromString optimization · 0749e99a
      Guido van Rossum authored
      PyString_FromString():
        Since the length of the string is already being stored in size,
        changed the strcpy() to a memcpy() for a small speed improvement.
      0749e99a
    • Michael W. Hudson's avatar
      Fix for · e8d2acf1
      Michael W. Hudson authored
      [ #477371 ] build_scripts can use wrong #! line
      
      scripts now get "built" into a directory
      
      build/scripts-$(PYTHON_VERSION)/
      e8d2acf1
    • Jeremy Hylton's avatar
      51c20129
  2. 09 Dec, 2001 10 commits
  3. 08 Dec, 2001 9 commits
  4. 07 Dec, 2001 12 commits