issues Search Results · repo:dflook/python-minifier language:Python
Filter by
57 results
(77 ms)57 results
indflook/python-minifier (press backspace or delete to remove)If you have multiple files with and import statements then --rename-globals cannot be used.
For the files program.py
from library1 import NUMBER
import library2
instance = library2.SomethingClass()
print(NUMBER) ...
kevinjwalters
- 2
- Opened on Mar 24
- #126
Summary
Class variable defined in annotated assigns are renamed when rename_global is set to True
class MyClass:
my_other_var : int = 10 # - will be renamed while it shouldn t
...
Reproduce
...
mrtichou
- 2
- Opened on Mar 6
- #125
print(
\xd0\x9f\xd1\x80\xd0\xbe\xd1\x84\xd0\xb5\xd1\x81\xd1\x81\xd0\xb8\xd0\xbe\xd0\xbd\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xb0\xd1\x8f
) Which decoded to utf-8 gives Профессиональная (Professional) When ...
ImInTheICU
- 4
- Opened on Feb 28
- #124
Hi, there. Thanx for a great app.
I m trying to minify a simple peace of code that contains Latin characters and non-Latin characters (Cyrylic) in a
string. All non-Latin characters in the output file ...
xxxxxxbox
- Opened on Feb 24
- #123
#!/usr/bin/env -S python3.13
# Documentation
# -------------
Version 2 of the Monitor Brightness Manager Module
--------------------------------------------------
This module provides a GUI for monitor ...
RokeJulianLockhart
- 1
- Opened on Feb 11
- #122
While I know that merging lines via semicolons is an attractive way to save character space, this really should be a
feature that can be turned off.
I m currently running into issues getting python-minifier ...
Archmonger
- 1
- Opened on Feb 9
- #121
The following code
def f(arg, /):
print([x for y in range(10) if (x := y // 2) 1])
print(arg, arg)
f(10)
which prints
[1, 1, 3, 3]
10 10
minifies to
A=print
def B(B):A([B for A in range(10)if(B:=A//2) ...
defect
BarrensZeppelin
- 2
- Opened on Nov 11, 2024
- #119
From src/python_minifier/transforms/constant_folding.py, lines 51-54:
if isinstance(original_value, float) and math.isnan(original_value):
# There is no nan literal.
# ...
mqyhlkahu
- Opened on Nov 1, 2024
- #118
What: I use a few emojis in my code, green check, red cross...etc. \u274c is literally the Unicode for ❌
Error:
Traceback (most recent call last):
File frozen runpy , line 198, in _run_module_as_main ...
ylli2000
- 2
- Opened on Oct 13, 2024
- #113
There seems to be a issue introduced in 2.10.0 - the following code is broken after minify (no minify options specified
on command line):
class RichText:
BOLD = \033[1m
END = \033[0m
...
richardthegit
- 4
- Opened on Sep 19, 2024
- #107

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.