[kde] [Bug 418228] New: Python files temporarily taken as matlab files

David bugzilla_noreply at kde.org
Wed Feb 26 17:09:47 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=418228

            Bug ID: 418228
           Summary: Python files temporarily taken as matlab files
           Product: kde
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: david.cortes.rivera at gmail.com
  Target Milestone: ---

Steps to reproduce:
- Create some valid python (.py) file.
- Edit the file so that it would start with commented lines having 3 (three)
"#" symbols.
- Edit some line so that it would contain a decimal number with exponential
notation (e.g. 1e1).
- Inspect the folder in which the file is located with Dolphin, without
pressing F5.

Expected behavior: should recognize the file as a python file.

Actual behavior: takes the file as a matlab file, until refreshing, after which
it becomes a python file, but upon editing it again will become matlab once
more, and will again become python upon next refresh.

Example:
### Some comment
### Another comment
### More comments

import numpy as np

n = int(1e1)
k = int(5e0)
nz = int(.5*n)
lam = 3e0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list