[issue24258] BZ2File objects do not have name attribute

2021-04-27 Thread Hasan Diwan
Hasan Diwan added the comment: Patch adds a bz2.BZ2File.name property corresponding to the filename passed in. -- keywords: +patch nosy: +Hasan Diwan versions: +Python 3.10, Python 3.11, Python 3.8, Python 3.9 -Python 3.6 Added file: https://bugs.python.org/file49991/bz2.name.patch

[issue37668] Allow individual test to be specified by "#" or "."

2019-07-24 Thread Hasan Diwan
New submission from Hasan Diwan : The attached patch allows for individual tests to be specified using a #. Existing tests still pass: == Tests result: SUCCESS == All 40 tests OK. Total duration: 4 min 15 sec Tests result: SUCCESS -- components: Tests files: python.pat messages

[issue24395] webbrowser.py update to use argparse.py

2015-06-06 Thread Hasan Diwan
New submission from Hasan Diwan: The webbrowser module uses getopt, which needs to be ripped out and replaced with argparse. The attached file does just this. -- components: Library (Lib) files: webbrowser.py messages: 244913 nosy: Hasan Diwan, georg.brandl priority: normal severity