Ignore:
Timestamp:
08/31/09 05:13:59 (5 years ago)
Author:
xi
Message:

Merged encoding fixes from the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/tags/3.09/ext/_yaml.pyx

    r361 r368  
    956956        self.dump_unicode = 0 
    957957        if PY_MAJOR_VERSION < 3: 
    958             if hasattr(stream, 'encoding'): 
     958            if getattr3(stream, 'encoding', None): 
    959959                self.dump_unicode = 1 
    960960        else: 
Note: See TracChangeset for help on using the changeset viewer.