Re: [PATCH v2 2/2] .gitignore: ignore Python compiled bytecode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 16, 2025 at 02:57:39PM +0800, Mauro Carvalho Chehab wrote:
> While the building system doesn't create any Python JIT bytecode,
> if one manually runs kernel-doc.py or get_abi.py, Python will,
> by default, create a bytecode and store it under scripts/lib/*.
> 
> This is normal, and not controlled by the Kernel itself. So,
> add *.pyc as an extension to be ignored.

...

>  *.mod.c
>  *.o
>  *.o.*
> +*.pyc

Shouldn't we prevent the order? (This should go after the "patch")

>  *.patch
>  *.rmeta
>  *.rpm

...

P.S. I'm going to test the first patch (at least) soon.

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux