Skip to content

Commit 002ea01

Browse files
committed
Merge branch 'python-import' into tim/py-src-import2
2 parents 223e06b + d578956 commit 002ea01

File tree

13 files changed

+2265
-2570
lines changed

13 files changed

+2265
-2570
lines changed

graalpython/com.oracle.graal.python.cext/include/iterobject.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
#ifndef Py_ITEROBJECT_H
82
#define Py_ITEROBJECT_H
93
/* Iterators (the basic kind, over a sequence) */

graalpython/com.oracle.graal.python.cext/modules/_cpython_sre.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*
82
* Secret Labs' Regular Expression Engine
93
*
@@ -41,8 +35,6 @@
4135
* other compatibility work.
4236
*/
4337

44-
// this file was taken from CPython 3.6.4's file '_sre.c'
45-
4638
static const char copyright[] =
4739
" SRE 2.2.2 Copyright (c) 1997-2002 by Secret Labs AB ";
4840

@@ -59,7 +51,7 @@ static const char copyright[] =
5951

6052
/* name of this module, minus the leading underscore */
6153
#if !defined(SRE_MODULE)
62-
#define SRE_MODULE "cpython_sre"
54+
#define SRE_MODULE "sre"
6355
#endif
6456

6557
#define SRE_PY_MODULE "re"
@@ -2927,7 +2919,7 @@ static struct PyModuleDef sremodule = {
29272919
NULL
29282920
};
29292921

2930-
PyMODINIT_FUNC PyInit__cpython_sre(void)
2922+
PyMODINIT_FUNC PyInit__sre(void)
29312923
{
29322924
PyObject* m;
29332925
PyObject* d;

graalpython/com.oracle.graal.python.cext/modules/clinic/_sre.c.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*[clinic input]
82
preserve
93
[clinic start generated code]*/

graalpython/com.oracle.graal.python.cext/modules/sre.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*
82
* Secret Labs' Regular Expression Engine
93
*

graalpython/com.oracle.graal.python.cext/modules/sre_constants.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*
82
* Secret Labs' Regular Expression Engine
93
*

graalpython/com.oracle.graal.python.cext/modules/sre_lib.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*
82
* Secret Labs' Regular Expression Engine
93
*

graalpython/com.oracle.graal.python.cext/src/unicodectype.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* Copyright (c) 2018, Oracle and/or its affiliates.
2-
* Copyright (C) 1996-2017 Python Software Foundation
3-
*
4-
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5-
*/
6-
71
/*
82
Unicode character type helpers.
93

graalpython/com.oracle.graal.python.cext/src/unicodetype_db.h

Lines changed: 2263 additions & 2524 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)