Skip to content

Commit 60b33e0

Browse files
committed
Become 2.9.1
* Update copyright year * Update changelog
1 parent 412015e commit 60b33e0

39 files changed

+49
-40
lines changed

CHANGES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Babel Changelog
22
===============
33

4+
Version 2.9.1
5+
-------------
6+
7+
Bugfixes
8+
~~~~~~~~
9+
10+
* The internal locale-data loading functions now validate the name of the locale file to be loaded and only
11+
allow files within Babel's data directory. Thank you to Chris Lyne of Tenable, Inc. for discovering the issue!
12+
413
Version 2.9.0
514
-------------
615

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2020 by the Babel Team, see AUTHORS for more information.
1+
Copyright (c) 2013-2021 by the Babel Team, see AUTHORS for more information.
22

33
All rights reserved.
44

babel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
access to various locale display names, localized number and date
1414
formatting, etc.
1515
16-
:copyright: (c) 2013-2020 by the Babel Team.
16+
:copyright: (c) 2013-2021 by the Babel Team.
1717
:license: BSD, see LICENSE for more details.
1818
"""
1919

2020
from babel.core import UnknownLocaleError, Locale, default_locale, \
2121
negotiate_locale, parse_locale, get_locale_identifier
2222

2323

24-
__version__ = '2.9.0'
24+
__version__ = '2.9.1'

babel/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Core locale representation and locale data access.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ``LC_ALL``, and
1313
* ``LANG``
1414
15-
:copyright: (c) 2013-2020 by the Babel Team.
15+
:copyright: (c) 2013-2021 by the Babel Team.
1616
:license: BSD, see LICENSE for more details.
1717
"""
1818

babel/lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* ``LC_ALL``, and
1212
* ``LANG``
1313
14-
:copyright: (c) 2015-2020 by the Babel Team.
14+
:copyright: (c) 2015-2021 by the Babel Team.
1515
:license: BSD, see LICENSE for more details.
1616
"""
1717

babel/localedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:note: The `Locale` class, which uses this module under the hood, provides a
99
more convenient interface for accessing the locale data.
1010
11-
:copyright: (c) 2013-2020 by the Babel Team.
11+
:copyright: (c) 2013-2021 by the Babel Team.
1212
:license: BSD, see LICENSE for more details.
1313
"""
1414

babel/localtime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Babel specific fork of tzlocal to determine the local timezone
77
of the system.
88
9-
:copyright: (c) 2013-2020 by the Babel Team.
9+
:copyright: (c) 2013-2021 by the Babel Team.
1010
:license: BSD, see LICENSE for more details.
1111
"""
1212

babel/messages/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Support for ``gettext`` message catalogs.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/messages/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Data structures for message catalogs.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/messages/checkers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
:since: version 0.9
99
10-
:copyright: (c) 2013-2020 by the Babel Team.
10+
:copyright: (c) 2013-2021 by the Babel Team.
1111
:license: BSD, see LICENSE for more details.
1212
"""
1313

babel/messages/extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
The main entry points into the extraction functionality are the functions
1414
`extract_from_dir` and `extract_from_file`.
1515
16-
:copyright: (c) 2013-2020 by the Babel Team.
16+
:copyright: (c) 2013-2021 by the Babel Team.
1717
:license: BSD, see LICENSE for more details.
1818
"""
1919

babel/messages/frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Frontends for the message extraction functionality.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111
from __future__ import print_function

babel/messages/jslexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
A simple JavaScript 1.5 lexer which is used for the JavaScript
77
extractor.
88
9-
:copyright: (c) 2013-2020 by the Babel Team.
9+
:copyright: (c) 2013-2021 by the Babel Team.
1010
:license: BSD, see LICENSE for more details.
1111
"""
1212
from collections import namedtuple

babel/messages/mofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Writing of files in the ``gettext`` MO (machine object) format.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/messages/plurals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Plural form definitions.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/messages/pofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Reading and writing of files in the ``gettext`` PO (portable object)
77
format.
88
9-
:copyright: (c) 2013-2020 by the Babel Team.
9+
:copyright: (c) 2013-2021 by the Babel Team.
1010
:license: BSD, see LICENSE for more details.
1111
"""
1212

babel/numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ``LC_ALL``, and
1313
* ``LANG``
1414
15-
:copyright: (c) 2013-2020 by the Babel Team.
15+
:copyright: (c) 2013-2021 by the Babel Team.
1616
:license: BSD, see LICENSE for more details.
1717
"""
1818
# TODO:

babel/plural.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
CLDR Plural support. See UTS #35.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111
import re

babel/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
.. note: the code in this module is not used by Babel itself
1010
11-
:copyright: (c) 2013-2020 by the Babel Team.
11+
:copyright: (c) 2013-2021 by the Babel Team.
1212
:license: BSD, see LICENSE for more details.
1313
"""
1414

babel/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Various utility classes and functions.
77
8-
:copyright: (c) 2013-2020 by the Babel Team.
8+
:copyright: (c) 2013-2021 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
# General information about the project.
4646
project = u'Babel'
47-
copyright = u'2020, The Babel Team'
47+
copyright = u'2021, The Babel Team'
4848

4949
# The version info for the project you're documenting, acts as replacement for
5050
# |version| and |release|, also used in various other places throughout the
@@ -53,7 +53,7 @@
5353
# The short X.Y version.
5454
version = '2.9'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '2.9.0'
56+
release = '2.9.1'
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.

scripts/dump_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
4+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
55
# All rights reserved.
66
#
77
# This software is licensed as described in the file LICENSE, which

scripts/dump_global.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
4+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
55
# All rights reserved.
66
#
77
# This software is licensed as described in the file LICENSE, which

scripts/import_cldr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
4+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
55
# All rights reserved.
66
#
77
# This software is licensed as described in the file LICENSE, which

tests/messages/test_catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_checkers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_mofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_plurals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/messages/test_pofile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_localedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_plural.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2007-2011 Edgewall Software, 2013-2020 the Babel team
3+
# Copyright (C) 2007-2011 Edgewall Software, 2013-2021 the Babel team
44
# All rights reserved.
55
#
66
# This software is licensed as described in the file LICENSE, which

0 commit comments

Comments
 (0)