Changes between Version 31 and Version 32 of PyYAMLDocumentation
- Timestamp:
- 08/20/06 12:28:18 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PyYAMLDocumentation
v31 v32 648 648 === Aliases === 649 649 650 '''Note that PyYAML does not yet support recursive objects.''' 650 ~~'''Note that PyYAML does not yet support recursive objects.'''~~ 651 651 652 652 Using YAML you may represent objects of arbitrary graph-like structures. If you want to refer … … 662 662 }}} 663 663 expresses the idea of a hero holding a heavy sword in both hands. 664 665 PyYAML now fully supports recursive objects. For instance, the document 666 {{{ 667 &A [ *A ] 668 }}} 669 will produce a list object containing a reference to itself. 664 670 665 671 … … 1299 1305 SafeLoader(stream) 1300 1306 BaseLoader(stream) 1307 1308 # The following classes are available only if you build LibYAML bindings. 1309 CLoader(stream) 1310 CSafeLoader(stream) 1311 CBaseLoader(stream) 1301 1312 }}} 1302 1313 … … 1314 1325 '''`BaseLoader(stream)`''' does not resolve or support any tags and construct only basic Python objects: 1315 1326 lists, dictionaries and Unicode strings. 1327 1328 '''`CLoader`''', '''`CSafeLoader`''', '''`CBaseLoader`''' are versions of the above classes written in C 1329 using the [wiki:LibYAML] library. 1316 1330 1317 1331 {{{ … … 1421 1435 SafeDumper(stream, ...) 1422 1436 BaseDumper(stream, ...) 1437 1438 # The following classes are available only if you build LibYAML bindings. 1439 CDumper(stream, ...) 1440 CSafeDumper(stream, ...) 1441 CBaseDumper(stream, ...) 1423 1442 }}} 1424 1443 … … 1435 1454 1436 1455 '''`BaseDumper(stream)`''' does not support any tags and is useful only for subclassing. 1456 1457 '''`CDumper`''', '''`CSafeDumper`''', '''`CBaseDumper`''' are versions of the above classes written in C 1458 using the [wiki:LibYAML] library. 1437 1459 1438 1460 {{{ … … 1550 1572 1551 1573 To do and long-term goals: 1552 * fix recursive objects,refactor Emitter, tabs,1574 * ~~fix recursive objects,~~ refactor Emitter, tabs, 1553 1575 ~~indentation for flow collections, indentation for scalars (min=1?), 'y' is '''!!bool'''~~, 1554 * libyaml3000 (my SoC proposal).1576 * ~~libyaml3000 (my SoC proposal).~~
