[issue22377] %Z in strptime doesn't match EST and others

2019-04-08 Thread Alex LordThorsen


Alex LordThorsen  added the comment:

This behavior is currently unchanged and the docs still state that `EST` is an 
acceptable value.

```
>>> datetime.strptime("2019-01-28 18:54:45 EST", "%Y-%m-%d %H:%M:%S %Z")
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/local/lib/python3.7/_strptime.py", line 359, in _strptime
(data_string, format))
ValueError: time data '2019-01-28 18:54:45 EST' does not match format '%Y-%m-%d 
%H:%M:%S %Z'
```

--
nosy: +Alex.LordThorsen

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



[issue22377] %Z in strptime doesn't match EST and others

2019-04-10 Thread Alex LordThorsen


Alex LordThorsen  added the comment:

It's been a while since I've committed a patch. Do I still upload a diff file 
here or should I open a PR for the doc changes on github?

--

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



[issue26450] make html fails on OSX

2016-02-27 Thread Alex LordThorsen

New submission from Alex LordThorsen:

Did a fresh hg clone of the python 3.6 code base (3.6.0a0) on  OSX 10.10.5 and 
made a modification to a library rst. I went to build my changes and ran

$ make html
sphinx-build -b html -d build/doctrees -D latex_paper_size=  . build/html
make: sphinx-build: No such file or directory
make: *** [build] Error 1

I looked at https://docs.python.org/devguide/documenting.html#building-doc to 
see about what I can do about this failure and didn't see anything OSX 
specific. 

$ sphinx-build -b html . build/html

Works, however.

--
components: Build
messages: 260954
nosy: Alex.Lord
priority: normal
severity: normal
status: open
title: make html fails on OSX
versions: Python 3.6

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



[issue26450] make html fails on OSX

2016-02-27 Thread Alex LordThorsen

Alex LordThorsen added the comment:

So I think this is really a documentation bug after playing with this a little 
bit. I built a virtual env and pip installed sphinx. If I'm in the virtual 
environment the build succeeds and out of it fails.

The documentation states that you need sphinx (in a different section) but 
doesn't have a step that explicitly tells you to install it.

Do devguide issues go on this bug tracker?

--

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



[issue26451] CSV documentation doesn't open with an example

2016-02-27 Thread Alex LordThorsen

New submission from Alex LordThorsen:

Had a friend get stuck on the CSV documentation. They didn't know what a CSV 
was (to start with) and couldn't find an example that made sense to them.  they 
went to other sources to figure out how to read CSV files in the end.

I made this patch in the hope that starting out with a very minimal example 
file format followed by an example python read will make landing on the CSV 
docs easier to follow for new programmers.

--
assignee: docs@python
components: Documentation
files: csv_documentation.patch
keywords: patch
messages: 260960
nosy: Alex.LordThorsen, docs@python
priority: normal
severity: normal
status: open
title: CSV documentation doesn't open with an example
versions: Python 3.6
Added file: http://bugs.python.org/file42040/csv_documentation.patch

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