Not being able to upload .py files

Me too. Linux Mint, Firefox, trying to upload a .rs Rust file, which, I’m 100% sure it’d work with the contents copy/pasted, it is literally just ASCII text that forms Rust source code. Model is the new Gemini Pro 2.5 preview (and if you want it named more precisely than that then give your models better names). Frontend is aistudio.google.com.

Edit: it worked to rename the file with .txt at the end. Gemini can totally handle Rust/Scheme source code named as scm.txt / .rs.txt, pure frontend issue. Why is the list of allowed filetypes so restrictive?