pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.52k stars 3.02k forks source link

Ignore leading BOM in pip configuration files #6132

Open mcandre opened 5 years ago

mcandre commented 5 years ago

In the event that the pip configuration file leads with a Unicode BOM, ignore that sequence. Currently, if you try to create a pip.ini file from PowerShell, then pip is unable to process the resulting file due to the presence of the BOM.

piotr-dobrogost commented 5 years ago

If it's utf8 with BOM then this is PS bug.