473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

omissions in python docs?

Hi,

1) The shelve module doesn't list close() as a method.

2) The fnmatch module does not even mention translate().

I have a hard time believing I am the first one to notice those
omissions. Are the docs just old and poorly maintained? Or, is there
some reason those methods were omitted?

May 17 '07 #1
12 1685
7stud schrieb:
I have a hard time believing I am the first one to notice those
omissions. Are the docs just old and poorly maintained? Or, is there
some reason those methods were omitted?
You are likely the first one to notice, and then talk about that.

It often happened in the past that patches were admitted which don't
simultaneously update the documentation, hence they diverge. These
days, patches are regularly rejected for not providing proper
documentation changes.

As you now found a difference, please write a patch and submit it
to sf.net/projects/python.

Regards,
Martin
May 17 '07 #2
It often happened in the past that patches were admitted which don't
simultaneously update the documentation, hence they diverge. These
days, patches are regularly rejected for not providing proper
documentation changes.
Nevertheless, the docs *ARE* old and poorly maintained. Sometimes you
find the info that you need in the docs, and other times Google is a
better source of information. I find that the weakest part of many
module docs are the examples.

May 17 '07 #3
me******@yahoo.com schrieb:
>It often happened in the past that patches were admitted which don't
simultaneously update the documentation, hence they diverge. These
days, patches are regularly rejected for not providing proper
documentation changes.

Nevertheless, the docs *ARE* old and poorly maintained.
I agree they are old, but they are *not* poorly maintained.
There is a strict policy that changes to the code *must*
be accompanied by documentation updates, and contributed
documentation patches are quickly integrated (more quickly
than code changes). So from a maintenance point of view,
the documentation is at a better standing than the code.

Regards,
Martin
May 17 '07 #4
Martin v. Löwis wrote:
7stud schrieb:
>I have a hard time believing I am the first one to notice those
omissions. Are the docs just old and poorly maintained? Or, is there
some reason those methods were omitted?

You are likely the first one to notice, and then talk about that.

It often happened in the past that patches were admitted which don't
simultaneously update the documentation, hence they diverge. These
days, patches are regularly rejected for not providing proper
documentation changes.

As you now found a difference, please write a patch and submit it
to sf.net/projects/python.
Please note that the documentation patch doesn't need to be in the Latex
source format used to produce the docs - editors will add any necessary
markup.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
------------------ Asciimercial ---------------------
Get on the web: Blog, lens and tag your way to fame!!
holdenweb.blogspot.com squidoo.com/pythonology
tagged items: del.icio.us/steve.holden/python
All these services currently offer free registration!
-------------- Thank You for Reading ----------------

May 17 '07 #5
En Thu, 17 May 2007 13:39:43 -0300, 7stud <bb**********@yahoo.com>
escribió:
2) The fnmatch module does not even mention translate().

I have a hard time believing I am the first one to notice those
omissions.
At least for 2) you're late. It's already documented on 2.5.1:
http://sourceforge.net/tracker/index...70&atid=105470

--
Gabriel Genellina

May 17 '07 #6
On May 18, 9:24 am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
En Thu, 17 May 2007 13:39:43 -0300, 7stud <bbxx789_0...@yahoo.com>
escribió:
2) The fnmatch module does not even mention translate().
I have a hard time believing I am the first one to notice those
omissions.

At least for 2) you're late. It's already documented on 2.5.1:http://sourceforge.net/tracker/index...d=1630844&grou...
Not quite. All that says is that you raised the problem and that
somebody else's patch was accepted.

It's not in 2.5.1 AFAICT: not in "current docs" on Python website, not
in CHM file distributed with Windows version of Python 2.5.1

It is in "development docs'" (2.6a0) on Python website.

Nit-pickingly yours,
John

May 18 '07 #7
On May 17, 5:24 pm, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
At least for 2) you're late. It's already documented on 2.5.1:http://sourceforge.net/tracker/index...d=1630844&grou...
Darn. I could have been somebody!
>Nit-pickingly yours,
John
No so. I checked the downloaded docs on my computer and the supposedly
up to date docs here:

http://docs.python.org/lib/module-fnmatch.html

before posting. I rechecked them after reading Gabriel Genellina's
post, and I couldn't find translate() in the fnmatch module.

There's still time!

May 18 '07 #8
On May 17, 7:23 pm, 7stud <bbxx789_0...@yahoo.comwrote:
On May 17, 5:24 pm, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
At least for 2) you're late. It's already documented on 2.5.1:http://sourceforge.net/tracker/index...d=1630844&grou...

Darn. I could have been somebody!
Nit-pickingly yours,
John

No so. I checked the downloaded docs on my computer and the supposedly
up to date docs here:

http://docs.python.org/lib/module-fnmatch.html

before posting. I rechecked them after reading Gabriel Genellina's
post, and I couldn't find translate() in the fnmatch module.

There's still time!
By the way, have the python doc keepers ever visited the php docs? In
my opinion, they are the best docs of any language I've encountered
because users can add posts to any page in the docs to correct them or
post code showing how to get around various idiosyncrasies when using
the functions.

May 18 '07 #9
En Thu, 17 May 2007 21:13:49 -0300, John Machin <sj******@lexicon.net>
escribió:
On May 18, 9:24 am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
>En Thu, 17 May 2007 13:39:43 -0300, 7stud <bbxx789_0...@yahoo.com>
escribió:
2) The fnmatch module does not even mention translate().

At least for 2) you're late. It's already documented on
2.5.1:http://sourceforge.net/tracker/index...d=1630844&grou...
Not quite. All that says is that you raised the problem and that
somebody else's patch was accepted.
It's not in 2.5.1 AFAICT: not in "current docs" on Python website, not
in CHM file distributed with Windows version of Python 2.5.1
But it *is* corrected on the CHM file from Release 2.5.1c1 (5th April,
2007), and also in the source distribution for 2.5.1 final
(libfnmatch.tex). I don't have the 2.5.1-final Windows binaries to check,
but if it's not updated there, perhaps there was a hiccup on the release
process.
And the docs on python.org aren't updated either. Hiccups comes in
sequence...

--
Gabriel Genellina

May 18 '07 #10
7stud wrote:
On May 17, 7:23 pm, 7stud <bbxx789_0...@yahoo.comwrote:

By the way, have the python doc keepers ever visited the php docs? In
my opinion, they are the best docs of any language I've encountered
because users can add posts to any page in the docs to correct them or
post code showing how to get around various idiosyncrasies when using
the functions.
Hi,

I also like the php docs and love that you can type any function into
the search at php.net and the documentation just comes up and there is
example code and then user comments also.

--
Kind Regards,
Anthony Irwin

http://www.irwinresources.com
http://www.makehomebusiness.com
email: anthony at above domains, - www.
May 18 '07 #11

"Anthony Irwin" <no****@noemailhere.nowherewrote in message
news:f2**********@news-01.bur.connect.com.au...
| 7stud wrote:
| On May 17, 7:23 pm, 7stud <bbxx789_0...@yahoo.comwrote:
| >
| By the way, have the python doc keepers ever visited the php docs? In
| my opinion, they are the best docs of any language I've encountered
| because users can add posts to any page in the docs to correct them or
| post code showing how to get around various idiosyncrasies when using
| the functions.
| >
| I also like the php docs and love that you can type any function into
| the search at php.net and the documentation just comes up and there is
| example code and then user comments also.

Reactions to php docs are rather idiosyncratic. I did visit in response to
such positive recommendations and and consider them to be pretty bad, and
posted why at the time.

tjr

May 18 '07 #12
Anthony Irwin wrote:
7stud wrote:
>On May 17, 7:23 pm, 7stud <bbxx789_0...@yahoo.comwrote:

By the way, have the python doc keepers ever visited the php docs? In
my opinion, they are the best docs of any language I've encountered
because users can add posts to any page in the docs to correct them or
post code showing how to get around various idiosyncrasies when using
the functions.

Hi,

I also like the php docs and love that you can type any function into
the search at php.net and the documentation just comes up and there is
example code and then user comments also.
For searching, we got at least pyhelp.cgi_.

HTH,
Stargaming

... _pyhelp.cgi: http://starship.python.net/crew/theller/pyhelp.cgi
May 18 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

75
by: Xah Lee | last post by:
http://python.org/doc/2.4.1/lib/module-re.html http://python.org/doc/2.4.1/lib/node114.html --------- QUOTE The module defines several functions, constants, and an exception. Some of the...
24
by: Christopher J. Bottaro | last post by:
This post is just the culmination of my thoughts and discussions with my coworkers on Python. If you are not interested, please skip over it. At my work, we are developing a product from...
2
by: Xah Lee | last post by:
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in Python i quickly located the...
28
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. ...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 393 open (+15) / 3315 closed (+17) / 3708 total (+32) Bugs : 908 open (+22) / 5975 closed (+49) / 6883 total (+71) RFE : 223 open...
12
by: xiong.xu.cn | last post by:
Hi there, I'm new to python and I'm from the java world. Though I love to learn python, I'm not very comfortable with the python documentation. Because when i read jdk doc, i can see the class...
14
by: Robert Dailey | last post by:
Hi, Is there a C++ version of the C Python API packaged with python 2.5? It would be nice to have a OOP approach to embedding python in C++. It would also be a bonus if this C++ Python API...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.