[issue42770] Typo in email.headerregistry docs

2020-12-28 Thread bazwal
New submission from bazwal : The section for class email.headerregistry.ContentDispositionHeader has a typo in an attribute name: "content-disposition" should be corrected to "content_disposition". -- assignee: docs@python components: Documentation messages: 38391

[issue31537] Bug in readline module documentation example

2017-09-20 Thread bazwal
New submission from bazwal: The second example in the readline module docs uses readline.get_history_length() (lines 8 & 14) where it should use readline.get_current_history_length(). -- assignee: docs@python components: Documentation messages: 302655 nosy: bazwal, docs@py

[issue25953] re fails to identify invalid numeric group references in replacement strings

2015-12-25 Thread bazwal
New submission from bazwal: This code example: re.sub(r'(?P[123])', r'\g', '') will correctly raise a KeyError due to the invalid group reference. However, this very similar code example: re.sub(r'(?P[123])', r'\g<3>', '&#x

[issue23262] webbrowser module broken with Firefox 36+

2015-02-26 Thread bazwal
bazwal added the comment: I arrived at an almost identical solution to the one given by Oleg. It works for me with FF 28, 35 & 36 - but presumably there are earlier versions where it does not, otherise why have the -remote option at all? The gist of the Mozilla bug report is that the op

[issue23262] webbrowser module broken with Firefox 36+

2015-02-27 Thread bazwal
bazwal added the comment: > this will break the support of IceApe on Debian Etch Is Python committed to supporting obsolete Debian releases? The latest oldstable Debian release (6.0 Squeeze) has iceape-2.0.11 [1], which does seem to support the -new-window and -new-tab options (I have