File tree Expand file tree Collapse file tree 3 files changed +4
-25
lines changed Expand file tree Collapse file tree 3 files changed +4
-25
lines changed Original file line number Diff line number Diff line change 11Changes
22=======
33
4+ Version 2.6.0
5+
6+ 1 . Drop utils.is_str function
7+
48Version 2.5.0
59-------------
610
Original file line number Diff line number Diff line change 88
99"""
1010
11- from .utils import is_str
1211from .utils import get_architecture
1312from .utils import loggers
1413from .utils import create_temp_file_name
Original file line number Diff line number Diff line change 77
88import os
99import sys
10- import platform
1110import logging
1211import tempfile
1312import shutil
14- import subprocess
1513import warnings
1614
1715
18- def is_str (string ):
19- """
20- Python 2 and 3 compatible string checker.
21-
22- Args:
23- string (str | basestring): the string to check
24-
25- Returns:
26- bool: True or False
27-
28- """
29- warnings .warn (
30- "The is_str function is deprecated. \
31- Use isinstance(string, str) instead." ,
32- DeprecationWarning )
33-
34- if sys .version_info [:2 ] >= (3 , 0 ):
35- return isinstance (string , str )
36-
37- return isinstance (string , basestring )
38-
39-
4016def find_xml_generator (name = "castxml" , search_path = None ):
4117 """
4218 Try to find a c++ parser (xml generator)
You can’t perform that action at this time.
0 commit comments