homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pep-0000.txt doesn't build anymore
Type: compile error Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, georg.brandl, mikehoy, orsenthil, pitrou
Priority: normal Keywords:

Created on 2011年10月11日 21:55 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (3)
msg145370 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011年10月11日 21:55
$ make
make: Dépendance circulaire pep-0000.txt <- pep-0000.txt abandonnée.
python genpepindex.py .
Traceback (most recent call last):
 File "genpepindex.py", line 67, in <module>
 main(sys.argv)
 File "genpepindex.py", line 64, in main
 write_pep0(peps, pep0_file)
 File "/home/antoine/cpython/peps/pep0/output.py", line 195, in write_pep0
 authors_dict = verify_email_addresses(peps)
 File "/home/antoine/cpython/peps/pep0/output.py", line 104, in verify_email_addresses
 "listed:\n" + '\n'.join(err_output))
ValueError: some authors have more than one email address listed:
 Gregory Ewing: [u'greg@cosc.canterbury.ac.nz', u'greg.ewing@canterbury.ac.nz']
make: *** [pep-0000.txt] Erreur 1
msg145433 - (view) Author: Mike Hoy (mikehoy) * Date: 2011年10月12日 21:10
:~/peps$ find . -name "*.txt" | xargs grep "canterbury"
./pep-3152.txt:Author: Gregory Ewing <greg.ewing@canterbury.ac.nz>
./pep-0380.txt:Author: Gregory Ewing <greg.ewing@canterbury.ac.nz>
./pep-0284.txt: Greg Ewing <greg.ewing@canterbury.ac.nz>
./pep-0335.txt:Author: Gregory Ewing <greg@cosc.canterbury.ac.nz>
Looks like pep-0335.txt has a "Gregory Ewing" with a different email address (greg@cosc.canterbury.ac.nz) that is normally associated with "Gregory Ewing" (greg.ewing@canterbury.ac.nz).
Which is an error according to:
pep0/output.py:
 if too_many_emails:
 err_output = []
 for author, emails in too_many_emails:
 err_output.append(" %s: %r" % (author, emails))
 raise ValueError("some authors have more than one email address "
 "listed:\n" + '\n'.join(err_output))
msg145444 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011年10月13日 00:04
Fixed in 25ff1adf5f30 
History
Date User Action Args
2022年04月11日 14:57:22adminsetgithub: 57363
2011年10月13日 00:04:14orsenthilsetstatus: open -> closed

nosy: + orsenthil
messages: + msg145444

resolution: fixed
stage: resolved
2011年10月13日 00:03:03pitrousetnosy: + georg.brandl
2011年10月12日 21:10:16mikehoysetmessages: + msg145433
2011年10月12日 20:42:20mikehoysetnosy: + mikehoy
2011年10月11日 21:55:08pitroucreate

AltStyle によって変換されたページ (->オリジナル) /