<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/dateutil-git.git/dateutil/parser/_parser.py, branch pganssle-patch-1</title>
<subtitle>github.com: dateutil/dateutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/'/>
<entry>
<title>Improve documentation for parser errors/warnings</title>
<updated>2020-01-02T19:49:54+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2020-01-02T16:51:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=6d89db3e530945362c1bc96e7530be3b359276f0'/>
<id>6d89db3e530945362c1bc96e7530be3b359276f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document that parser.parse raises ParserError</title>
<updated>2020-01-02T19:49:54+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2020-01-02T16:31:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=579cd769f05a75855be37b32c13910cc04e3f86f'/>
<id>579cd769f05a75855be37b32c13910cc04e3f86f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update documentation links</title>
<updated>2020-01-02T19:49:50+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2020-01-02T16:30:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=6edfecd6afb22fb2c7f0fd79259e40526fd20e2a'/>
<id>6edfecd6afb22fb2c7f0fd79259e40526fd20e2a</id>
<content type='text'>
Periodic update of all links that point to redirects or http targets
when an https target is available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Periodic update of all links that point to redirects or http targets
when an https target is available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix custom repr for ParserError</title>
<updated>2020-01-02T19:08:55+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2020-01-02T16:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=ea7f441b455cabbae2bf98f2d10fd11724001155'/>
<id>ea7f441b455cabbae2bf98f2d10fd11724001155</id>
<content type='text'>
This was originally dead code, because an indentation error had `__repr__`
defined after the `return` statement in `__str__`. The definition of the
`__repr__` is also changed to be more in line with the conception of a
repr as "what you would have to evalue to get this object".

Even though this is not guaranteed behavior, this commit also adds a
regression test to avoid simple errors like this in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was originally dead code, because an indentation error had `__repr__`
defined after the `return` statement in `__str__`. The definition of the
`__repr__` is also changed to be more in line with the conception of a
repr as "what you would have to evalue to get this object".

Even though this is not guaranteed behavior, this commit also adds a
regression test to avoid simple errors like this in the future.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TypeError in parser wrapper logic</title>
<updated>2020-01-02T17:36:59+00:00</updated>
<author>
<name>Mark Bailey</name>
<email>msb@eastface.co.uk</email>
</author>
<published>2019-12-23T22:46:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=79d2e486a34911ada6d81701f14dd3c4b9790afd'/>
<id>79d2e486a34911ada6d81701f14dd3c4b9790afd</id>
<content type='text'>
In attempting to pass-through the string representation of an exception
we are wrapping, we made the erroneous assumption that `args[0]` would
always be a string (or something that can concatenate cleanly with a
string). This turns out not to be the case with `IllegalMonthError`,
where it is an integer, so to avoid raising an erroneous `TypeError`, we
first convert the wrapped exception to a string.

See GH issue #981.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In attempting to pass-through the string representation of an exception
we are wrapping, we made the erroneous assumption that `args[0]` would
always be a string (or something that can concatenate cleanly with a
string). This turns out not to be the case with `IllegalMonthError`,
where it is an integer, so to avoid raising an erroneous `TypeError`, we
first convert the wrapped exception to a string.

See GH issue #981.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in comments and documentation</title>
<updated>2019-08-27T14:56:09+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2019-08-26T06:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=b7668eaf95bc1bddb02c6e377cfe21c65fccc4c6'/>
<id>b7668eaf95bc1bddb02c6e377cfe21c65fccc4c6</id>
<content type='text'>
Fixes several misspellings, typos and styling errors (e.g. github -&gt;
GitHub) in the comments and documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes several misspellings, typos and styling errors (e.g. github -&gt;
GitHub) in the comments and documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use tz.UTC in parser</title>
<updated>2019-04-23T17:54:56+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-04-23T17:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=6588716b69374dd1f516124c9f905ac1449b5eac'/>
<id>6588716b69374dd1f516124c9f905ac1449b5eac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap ValueError in ParserError</title>
<updated>2019-04-23T14:50:23+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-04-23T12:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=31e8c66d76b1a53ab692decf4330b6b5706bf08c'/>
<id>31e8c66d76b1a53ab692decf4330b6b5706bf08c</id>
<content type='text'>
Ensures that ValueErrors raised when building the datetime from an
already-parsed string will be raised as ParserError as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensures that ValueErrors raised when building the datetime from an
already-parsed string will be raised as ParserError as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use custom ParserError class in parser</title>
<updated>2019-04-23T14:50:23+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17+GitHub@gmail.com</email>
</author>
<published>2019-02-25T00:20:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=7aded5521bf6b6428986f616abf9fa77fd50cf97'/>
<id>7aded5521bf6b6428986f616abf9fa77fd50cf97</id>
<content type='text'>
This gives a nicer string representation while retaining access to the
input string in the exception arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gives a nicer string representation while retaining access to the
input string in the exception arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error condition when invalid tzinfos is passed</title>
<updated>2019-03-20T13:27:11+00:00</updated>
<author>
<name>Brock Mendel</name>
<email>jbrockmendel@gmail.com</email>
</author>
<published>2019-03-20T13:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/dateutil-git.git/commit/?id=d0404c685dadaaa0b8b4c1317aea23a3d21ed4f9'/>
<id>d0404c685dadaaa0b8b4c1317aea23a3d21ed4f9</id>
<content type='text'>
This switches the error from UnboundLocalError to TypeError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This switches the error from UnboundLocalError to TypeError.
</pre>
</div>
</content>
</entry>
</feed>
