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-b...@kde.org
          Reporter: david.cortes.riv...@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 watching all bug changes.

Reply via email to