[New-bugs-announce] [issue24108] fnmatch.translate('*.txt') fails

Christophe BAL report at bugs.python.org
Fri May 1 21:36:55 CEST 2015

New submission from Christophe BAL:


I find the following bug on Python 3.4.

>>> import fnmatch, re
>>> regex = fnmatch.translate('*.txt')
>>> regex

The string regex should be '.*\\.txt$'.

components: asyncio
messages: 242346
nosy: gvanrossum, haypo, projetmbc, yselivanov
priority: normal
severity: normal
status: open
title: fnmatch.translate('*.txt') fails
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list