Skip to content

Commit

Permalink
Merge branch 'release-6.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Jun 13, 2021
2 parents e13bb55 + 63bc8cf commit 7e3c4bd
Show file tree
Hide file tree
Showing 37 changed files with 42 additions and 39 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ feedparser and its unit tests are released under the following license:

----- begin license block -----

Copyright (C) 2010-2020 Kurt McKee <contactme@kurtmckee.org>
Copyright (C) 2010-2021 Kurt McKee <contactme@kurtmckee.org>
Copyright (C) 2002-2008 Mark Pilgrim
All rights reserved.

Expand Down Expand Up @@ -38,7 +38,7 @@ released under the following license:

----- begin license block -----

Copyright (C) 2010-2020 Kurt McKee <contactme@kurtmckee.org>
Copyright (C) 2010-2021 Kurt McKee <contactme@kurtmckee.org>
Copyright (C) 2004-2008 Mark Pilgrim. All rights reserved.

Redistribution and use in source (Sphinx ReST) and "compiled" forms (HTML, PDF,
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
coming in the next release:

6.0.3 - 12 June 2021
* Fix an issue with the HTTP request status on Python >= 3.9.

6.0.2 - 25 October 2020
* Stop building Python wheels with ``universal=1`` set. (#251)

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
feedparser - Parse Atom and RSS feeds in Python.

| Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
| Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
| Copyright 2002-2008 Mark Pilgrim
feedparser is open source. See the LICENSE file for more information.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# project information
project = 'feedparser'
copyright = '2010-2020 Kurt McKee, 2004-2008 Mark Pilgrim'
copyright = '2010-2021 Kurt McKee, 2004-2008 Mark Pilgrim'
language = 'en'

# documentation options
Expand Down
2 changes: 1 addition & 1 deletion docs/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Documentation license
=====================

Copyright 2010-2020 Kurt McKee, 2004-2008 Mark Pilgrim. All rights reserved.
Copyright 2010-2021 Kurt McKee, 2004-2008 Mark Pilgrim. All rights reserved.

Redistribution and use in source (Sphinx ReST) and "compiled" forms (HTML, PDF,
PostScript, RTF and so forth) with or without modification, are permitted
Expand Down
2 changes: 1 addition & 1 deletion dodo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of feedparser.
# Copyright 2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2020-2021 Kurt McKee <contactme@kurtmckee.org>
# Released under the BSD 2-clause license.

# The tasks defined in this file automates the entire
Expand Down
4 changes: 2 additions & 2 deletions feedparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down Expand Up @@ -32,7 +32,7 @@

__author__ = 'Kurt McKee <contactme@kurtmckee.org>'
__license__ = 'BSD 2-clause'
__version__ = '6.0.2'
__version__ = '6.0.3'

# HTTP "User-Agent" header to send to servers when downloading feeds.
# If you are embedding feedparser in a larger application, you should
Expand Down
2 changes: 1 addition & 1 deletion feedparser/api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The public API for feedparser
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/asctime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/greek.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/hungarian.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/iso8601.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/korean.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/perforce.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/rfc822.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/datetimes/w3dtf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/encodings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Character encoding routines
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Exceptions used throughout feedparser
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/html.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
4 changes: 2 additions & 2 deletions feedparser/http.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down Expand Up @@ -203,7 +203,7 @@ def get(url, etag=None, modified=None, agent=None, referrer=None, handlers=None,
result['href'] = f.url.decode('utf-8', 'ignore')
else:
result['href'] = f.url
result['status'] = getattr(f, 'status', 200)
result['status'] = getattr(f, 'status', None) or 200

# Stop processing if the server sent HTTP 304 Not Modified.
if getattr(f, 'code', 0) == 304:
Expand Down
2 changes: 1 addition & 1 deletion feedparser/mixin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the Atom, RSS, RDF, and CDF feed formats
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/admin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the administrative elements extension
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/cc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the Creative Commons licensing extensions
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/dc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the Dublin Core metadata extensions
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/georss.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the GeoRSS format
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/itunes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the iTunes format
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/mediarss.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the Media RSS format
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/namespaces/psc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Support for the Podlove Simple Chapters format
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/parsers/loose.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The loose feed parser that interfaces with an SGML parsing library
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/parsers/strict.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The strict feed parser that interfaces with an XML parsing library
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/sanitizer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/sgml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion feedparser/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010-2020 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2010-2021 Kurt McKee <contactme@kurtmckee.org>
# Copyright 2002-2008 Mark Pilgrim
# All rights reserved.
#
Expand Down

0 comments on commit 7e3c4bd

Please sign in to comment.