Move PSF-LICENSE and add Lib README.md

This commit is contained in:
ben committed 2019-04-05 19:19:55 +13:00
1 parent c01dc5310a
commit 79caaa5a0b
3 files changed
+10 -11

No files matched your search

View File
File renamed without changes.
+10
View File
@@ -0,0 +1,10 @@
Standard Library for RustPython
===============================
This directory contains all of the Python files that make up the standard library for RustPython.
Most of these files are copied over from the CPython repository(the 3.7 branch), with slight modifications to allow them
to work under RustPython. The current goal is to complete the standard library with as few modifications as possible.
Current modifications are just temporary workarounds for bugs/missing feature within the RustPython implementation.
The first target is to run the ``unittest`` module, so we can leverage the CPython test suite.
-11
View File
@@ -1,11 +0,0 @@
""" Regular expressions """
def match(pattern, string, flags=0):
return _compile(pattern, flags).match(string)
def _compile(pattern, flags):
p = sre_compile.compile(pattern, flags)
return p