"""
@file
@brief Puts everything related to package :epkg:`yaml` in a separate files.
"""
import yaml
from yaml import CLoader as Loader


def yaml_load(content):
    """
    Parses a :epkg:`yml` file with :epkg:`yaml`.

    @param      content     string
    @return                 structured data
    """
    return yaml.load(content, Loader=Loader)

@@ -95,16 +95,25 @@
 rt yaml%0A
+try:%0A    
 from yam
@@ -139,16 +139,54 @@
  Loader%0A
+except ImportError:%0A    Loader = None%0A
 %0A%0Adef ya
@@ -344,24 +344,95 @@
 ata%0A    %22%22%22%0A
+    if Loader is None:%0A        return yaml.load(content)%0A    else:%0A    
     return y

add permissive import