[issue17514] Add the license to argparse.py

2013-03-21 Thread David James

New submission from David James:

Lib/argparse.py [1] doesn't mention a license in it. Could you please add a 
license to it?

According to the argparse project [2], argparse is licensed under the Python 
license. Chromium OS uses argparse. If you would add information about the 
license to argparse, we'd appreciate it.

Here's an example license string that passes the Debian licensecheck [3] script:

# Licensed under the Python Software Foundation License version 2.7


In case you don't understand why Chromium wants include a license in 
argparse.py, rather than just consulting the global LICENSE file, here's a bit 
more detail: Chromium includes many files from different authors in its 
distribution. Many projects contain LICENSE files, but this doesn't mean that 
every file under the project is licensed under that license. So it's helpful if 
each file has a quick note that mentions what license it uses. This helps us 
ensure that we understand the license of all files we include. We automate this 
check using  Debian's licensecheck.pl script.


[1]: http://hg.python.org/cpython/file/62a988b3bf2e/Lib/argparse.py
[2]: https://code.google.com/p/argparse/source/browse/LICENSE.txt
[3]: 
http://ftp.de.debian.org/debian/pool/main/d/devscripts/devscripts_2.12.6.tar.gz 
or 
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/devscripts/licensecheck.pl

--
components: Library (Lib)
messages: 184929
nosy: David.James
priority: normal
severity: normal
status: open
title: Add the license to argparse.py
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 
3.4, Python 3.5

___
Python tracker 
<http://bugs.python.org/issue17514>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33481] configparser.write() does not save comments.

2018-05-13 Thread David James Peters

New submission from David James Peters :

The ConfigParser().write() does not save the comments; this makes using 
comments harder because it requires a separate demo ini file the user must be 
able to locate and read from without learning anything from the INI file they 
are using. Not Good. Pls make configparser save the comments or guide me to 
what I can do to fully support comments in my app. I am still reading the 
configparser documentation but it says its heavily customizable. Saving and 
loading comments is a must for my ini files.

--
components: Extension Modules
messages: 316457
nosy: pebaudhi
priority: normal
severity: normal
status: open
title: configparser.write() does not save comments.
type: behavior
versions: Python 3.6

___
Python tracker 
<https://bugs.python.org/issue33481>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com