rupython 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rupython-1.0.3 → rupython-1.0.4}/PKG-INFO +1 -1
- {rupython-1.0.3 → rupython-1.0.4}/rupython//320/237/321/200/320/265/320/276/320/261/321/200/320/260/320/267/320/276/320/262/320/260/321/202/320/265/320/273/321/214.py +3 -2
- {rupython-1.0.3 → rupython-1.0.4}/rupython.egg-info/PKG-INFO +1 -1
- {rupython-1.0.3 → rupython-1.0.4}/setup.py +1 -1
- {rupython-1.0.3 → rupython-1.0.4}/LICENSE +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/README.md +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython/__main__.py +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython/__/320/227/320/260/320/263/320/276/320/273/320/276/320/262/320/276/321/207/320/275/321/213/320/271_/320/272/320/276/320/264__.py" +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython//320/234/320/276/320/264/321/203/320/273/320/270//320/234/320/260/321/202/320/265/320/274.py" +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython//320/234/320/276/320/264/321/203/320/273/320/270//320/240/320/265/320/263/320/222/321/213/321/200.py" +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython.egg-info/SOURCES.txt +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython.egg-info/dependency_links.txt +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/rupython.egg-info/top_level.txt +0 -0
- {rupython-1.0.3 → rupython-1.0.4}/setup.cfg +0 -0
@@ -564,6 +564,7 @@ def Преобразовать_код(путь_к_файлу):
|
|
564
564
|
return None if Ошибка_чтения_кода else исходник
|
565
565
|
|
566
566
|
def Вывести_текст_исключения(исключение, заголовок, путь_к_файлу):
|
567
|
+
назв_исп_ф = путь_к_файлу.split('\\' if Система.platform.startswith('win32') else '/')[-1]
|
567
568
|
сч = 1
|
568
569
|
while True:
|
569
570
|
try:
|
@@ -573,9 +574,9 @@ def Вывести_текст_исключения(исключение, заг
|
|
573
574
|
exc_value=исключение
|
574
575
|
).stack[-сч]
|
575
576
|
except: break
|
576
|
-
if искл.
|
577
|
+
if искл.filename == назв_исп_ф: break
|
577
578
|
сч += 1
|
578
|
-
if искл.
|
579
|
+
if искл and искл.filename == назв_исп_ф:
|
579
580
|
номер_строки = искл.lineno - 2
|
580
581
|
else:
|
581
582
|
try: номер_строки = исключение.lineno - 2
|
@@ -3,7 +3,7 @@ from pathlib import Path as Путь
|
|
3
3
|
|
4
4
|
Установить(
|
5
5
|
name = 'rupython',
|
6
|
-
version = '1.0.
|
6
|
+
version = '1.0.4',
|
7
7
|
description = "Исполнитель кода Русского Питона",
|
8
8
|
packages = [ 'rupython', 'rupython.Модули' ],
|
9
9
|
long_description = (Путь(__file__).parent / "README.md").read_text("UTF-8"),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|