Comments (5)
As far as I understand the docs, the problem isn't that it's empty, it's that it could be empty.
Anyway, @nalgeon, this seems to be a bug if support for Python 3.6 is needed (as specified in pyproject.toml
). Otherwise the Python version could just be bumped and then this isn't a bug. 😉
from iuliia-py.
Если делать тоже самое в с командной строки (интерпретатор или приложение), то все корректно работает. Если запускать как скрипт, то выскакивает эта ошибка. Пока что вызываю через subprocess как временное решение.
from iuliia-py.
re.split()
does not support splitting on an empty pattern match in pythons 3.5 and 3.6, cf. the documentation. It works in python 3.7 and above.
from iuliia-py.
re.split()
does not support splitting on an empty pattern match in pythons 3.5 and 3.6, cf. the documentation. It works in python 3.7 and above.
Hi.
Thank for reply.
I don't know what you mean "empty pattern match". It shouldn't be empty. Tested on Python 3.6.8.
Anyway problem solved using Go implementation.
from iuliia-py.
@kthy, thanks a lot! You are absolutely right. I've bumped the minimal Python version to 3.7.
from iuliia-py.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iuliia-py.