Skip to content

Commit aa52269

Browse files
committed
added os.path functionality (limited subset)
Exposed a limited set of function from os.path (most of those which rely on pur string processing have been implemented). These have been added in an architecture specific manner to match the python implementation. (I.e., join on windows uses '\', and joing on linux uses '/'. The python 2.6 implementation were used as reference, and for unit test validation.
1 parent 53e5b88 commit aa52269

File tree

3 files changed

+708
-2
lines changed

3 files changed

+708
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ clean:
2020
.PHONY: test
2121
test:
2222
$(RM) -fr test
23-
$(CXX) pystring.cpp test.cpp $(CXXFLAGS) -o test
23+
$(CXX) pystring.cpp test.cpp $(CXXFLAGS) -DPYSTRING_UNITTEST=1 -o test
2424
./test

0 commit comments

Comments
 (0)