[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

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



[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: 348377
nosy: Hasan Diwan
priority: normal
severity: normal
status: open
title: Allow individual test to be specified by "#" or "."
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file48502/python.pat

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



[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: normal
status: open
title: webbrowser.py update to use argparse.py
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file39641/webbrowser.py

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