Summary: | Style-checking hangs and uses all memory when opening __builtin__.py | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Francis Herne <mail> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 5.0.80 | ||
Target Milestone: | 5.1.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdev-python/1e483026bc536321dd255ef8dc3324bb1ce39a07 | Version Fixed In: |
Description
Francis Herne
2017-01-14 11:50:05 UTC
Git commit 07a4f7a2df00d4d891e6683e2dbbe416f993df51 by Sven Brauch. Committed on 14/01/2017 at 13:08. Pushed by brauch into branch '5.1'. style checking: read data from stdin as bytes, not in some encoding This makes sure the correct amount of bytes is read. Might be related to M +4 -4 codestyle.py https://commits.kde.org/kdev-python/07a4f7a2df00d4d891e6683e2dbbe416f993df51 Git commit 1e483026bc536321dd255ef8dc3324bb1ce39a07 by Sven Brauch. Committed on 14/01/2017 at 13:09. Pushed by brauch into branch '5.1'. Fix OOM condition in style checking: move buffer processing out of read loop Code was obviously broken, just look at it ;) M +8 -7 pythonstylechecking.cpp https://commits.kde.org/kdev-python/1e483026bc536321dd255ef8dc3324bb1ce39a07 |