このスレッドでは, 結局どのモジュールを開発するの?ということについて議論したいと思います.
まず, 対象とするpythonはv 2.7とします.
とりあえず以下のポリシーで選択してみました
・deprecatedなものは削除
・pythonの言語仕様に強く依存しているものは削除
・MacPythonはサポート外. mac os 9もサポート外
・__future__などのpython 3.0への以降を意識したものは削除
こうして一覧を見ると, AIFFへのread/writeとか必要なのか?とか思ったりもしますが...
以下, 上のポリシーで選択されたモジュール
**** string
**** re
**** struct
**** difflib
**** textwrap
**** codecs
**** unicodedata
**** stringgrep
**** fpformat
**** datetime
**** calender
**** collections
**** heapq
**** bisect
**** array
**** sched
**** queue
**** weakref
**** types
**** copy
**** pprint
**** repr
**** math
**** cmath
**** decimal
**** fractions
**** random
**** itertools
**** functools
**** os.path
**** fileinput
**** stat
**** statvfs
**** filecmp
**** tempfile
**** glob
**** fnmatch
**** linecache
**** shutil
**** pickle
**** copy_reg
**** shelve
**** mershal
**** anydbm
**** whichdb
**** dbm
**** gdbm
**** dumbdbm
**** sqlite3
**** zlib
**** gzip
**** bz2
**** zipfile
**** tarfile
**** csv
**** ConfigParser
**** robotparser
**** netrc
**** xdrlib
**** plistlib
**** hashlib
**** hmac
**** os
**** io
**** time
**** argparse
**** getopt
**** logging
**** getpass
**** curses
**** curses.textpad
**** curses.wrapper
**** curses.ascii
**** curses.panel
**** platform
**** errno
**** ctypes
**** select
**** threding
**** thread
**** dummy_threading
**** dummy_thread
**** multiprocessing
**** mmap
**** readline
**** rlcompleter
**** subprocess
**** socket
**** ssl
**** signal
**** asyncore
**** asynchat
**** email
**** json
**** mailcap
**** mailbox
**** mimetypes
**** base64
**** binshex
**** binascii
**** quopri
**** uu
**** HTMLParser
**** htmlentitydefs
**** xml.parsers.expat
**** xml.dom
**** xml.dom.minidom
**** xml.dom.pulldom
**** xml.sax
**** xml.sax.handler
**** xml.sax.saxutils
**** xml.sax.xmlreader
**** xml.etree.ElementTree
**** webbrowser
**** cgi
**** cgitb
**** wsgiref
**** urllib
**** urllib2
**** httpilb
**** ftplib
**** poplib
**** imaplib
**** nntplib
**** smtplib
**** smtpd
**** telnetlib
**** uuid
**** urlparse
**** SocketServer
**** BaseHTTPServer
**** SimpleHTTPServer
**** CGIHTTPServer
**** cookielib
**** Cookie
**** xmlrpclib
**** SimpleXMLRPCServer
**** DocXMLRPCServer
**** audioop
**** aifc
**** sunau
**** wave
**** chunk
**** colorsys
**** imghdr
**** sndhdr
**** ossaudiodev
**** gettext
**** locale
**** cmd
**** shlex
**** Tkinter
**** tkk
**** tix
**** ScrolledText
**** turtle
**** doctest
**** unittest
**** test
**** test.test_support
**** sys
**** sysconfig
**** __builtin__
**** __main__
**** warnings
**** contextlib
**** abc
**** atexit
**** traceback
**** gc
**** inspect
**** site
**** fpectl
**** distutils
**** formatter
**** mslib
**** msvcrt
**** _winreg
**** winsound
**** posix
**** pwd
**** spwd
**** grp
**** crypt
**** termios
**** tty
**** pty
**** fcntl
**** pipes
**** resource
**** nis
**** syslog
**** ic
**** MacOS
**** macostools
**** findertools
**** EasyDialogs
**** FrameWork
**** autoGIL
**** ColorPicker
元々の一覧
*** string services
**** string
**** re
**** struct
**** difflib
**** StringIO
**** cStringIO
**** textwrap
**** codecs
**** unicodedata
**** stringgrep
**** fpformat
*** data types
**** datetime
**** calender
**** collections
**** heapq
**** bisect
**** array
**** sets
**** sched
**** mutex
**** queue
**** weakref
**** UserDict
**** UserList
**** UserString
**** types
**** new
**** copy
**** pprint
**** repr
*** numeric and mathematical modules
**** numbers
**** math
**** cmath
**** decimal
**** fractions
**** random
**** itertools
**** functools
**** operator
*** file and directory access
**** os.path
**** fileinput
**** stat
**** statvfs
**** filecmp
**** tempfile
**** glob
**** fnmatch
**** linecache
**** shutil
**** dircache
**** macpath
*** data persistence
**** pickle
**** cPickle
**** copy_reg
**** shelve
**** mershal
**** anydbm
**** whichdb
**** dbm
**** gdbm
**** dbhash
**** bsddb
**** dumbdbm
**** sqlite3
*** data compression and archiving
**** zlib
**** gzip
**** bz2
**** zipfile
**** tarfile
*** file formats
**** csv
**** ConfigParser
**** robotparser
**** netrc
**** xdrlib
**** plistlib
*** cryptographic services
**** hashlib
**** hmac
**** md5
**** sha
*** generic operating system serices
**** os
**** io
**** time
**** argparse
**** optparse
**** getopt
**** logging
**** getpass
**** curses
**** curses.textpad
**** curses.wrapper
**** curses.ascii
**** curses.panel
**** platform
**** errno
**** ctypes
*** optional operating system services
**** select
**** threding
**** thread
**** dummy_threading
**** dummy_thread
**** multiprocessing
**** mmap
**** readline
**** rlcompleter
*** interprocess communication and networking
**** subprocess
**** socket
**** ssl
**** signal
**** popen2
**** asyncore
**** asynchat
*** internet data handling
**** email
**** json
**** mailcap
**** mailbox
**** mhlib
**** mimetools
**** mimetypes
**** MimeWriter
**** mimify
**** multifile
**** rfc822
**** base64
**** binshex
**** binascii
**** quopri
**** uu
*** structured markup processing tools
**** HTMLParser
**** sgmllib
**** htmllib
**** htmlentitydefs
**** xml.parsers.expat
**** xml.dom
**** xml.dom.minidom
**** xml.dom.pulldom
**** xml.sax
**** xml.sax.handler
**** xml.sax.saxutils
**** xml.sax.xmlreader
**** xml.etree.ElementTree
*** internet protocols and support
**** webbrowser
**** cgi
**** cgitb
**** wsgiref
**** urllib
**** urllib2
**** httpilb
**** ftplib
**** poplib
**** imaplib
**** nntplib
**** smtplib
**** smtpd
**** telnetlib
**** uuid
**** urlparse
**** SocketServer
**** BaseHTTPServer
**** SimpleHTTPServer
**** CGIHTTPServer
**** cookielib
**** Cookie
**** xmlrpclib
**** SimpleXMLRPCServer
**** DocXMLRPCServer
*** multimedia services
**** audioop
**** imageop
**** aifc
**** sunau
**** wave
**** chunk
**** colorsys
**** imghdr
**** sndhdr
**** ossaudiodev
*** internationalization
**** gettext
**** locale
*** program frameworks
**** cmd
**** shlex
*** graphical user interfaces with tk
**** Tkinter
**** tkk
**** tix
**** ScrolledText
**** turtle
*** development tools
**** pydoc
**** doctest
**** unittest
**** test
**** test.test_support
*** debugging and profiling
**** bdb
**** pdb
**** hotshot
**** timeit
**** trace
*** python runtime services
**** sys
**** sysconfig
**** __builtin__
**** future_builtins
**** __main__
**** warnings
**** contextlib
**** abc
**** atexit
**** traceback
**** __future__
**** gc
**** inspect
**** site
**** user
**** fpectl
**** distutils
*** custom python interpreters
**** code
**** codeop
*** restricted execution
**** rexec
**** Bastion
*** importing modules
**** imp
**** importlib
**** imputil
**** zipimport
**** pkgutil
**** modulefinder
**** runpy
*** python language services
**** parser
**** symtable
**** symbol
**** token
**** keyword
**** tokenize
**** tabnanny
**** pyclbr
**** py_compile
**** compileall
**** dis
**** pickletools
*** miscellaneous services
**** formatter
*** ms windoes specific services
**** mslib
**** msvcrt
**** _winreg
**** winsound
*** unix specific services
**** posix
**** pwd
**** spwd
**** grp
**** crypt
**** dl
**** termios
**** tty
**** pty
**** fcntl
**** pipes
**** posixfile
**** resource
**** nis
**** syslog
**** commands
*** max os x specific services
**** ic
**** MacOS
**** macostools
**** findertools
**** EasyDialogs
**** FrameWork
**** autoGIL
**** ColorPicker
*** macpython osa modules
**** gensuitemodule
**** aetools
**** arpack
**** aetypes
**** MiniAEFrame
*** sgi irix specific services
**** al
**** AL
**** cd
**** fl
**** FL
**** flp
**** fm
**** gl
**** DEVICE
**** GL
**** imgfile
**** jpeg
*** sunos specific services
**** sunaudiodev
**** SUNAUDIODEV
-- ryohei
とりあえず, asdの雛形まで作成しました
https://github.com/garaemon/clap/tree/master/asdf/
どのモジュールから開発していくのか?ということですが,
自分がほしい機能から実装していくというので良いと思います.
しかし, 優先度をつけるとしたら,
clap-builtinとclap-unittestが最初に力をいれるべきところだとは思っています.
# unittestがないとテストが書けない!
このあたりのライブラリから実装すると良いんじゃないか?というのはあるでしょうか?
参考: http://docs.python.org/library/
-- ryohei
2010/12/3 Ryohei Ueda <gara...@gmail.com>:
iteratorを実装するなら, それを利用出来るforも実装すべきですよね?
個人的には, mapcarじゃだめなのか?というところで悩んでいます...
iteratorにすると出来ることとしては, lazyな評価が意識せずにできるところとかでしょうか?
-- ryohei
2010/12/3 Naoto Yokoyama <built...@gmail.com>:
並行して, iteratorについてはちょっとサーベイをします.
seriesのベンチマークも取りたいと思います.
とりあえず, の目標をたてたいなとおもってます.
モジュール10個を一区切りにしたいと思っています.
# ちなみに全部で200以上ありますw
モジュールが10個できたら, documentation, web page, test...などを整備したいなー
とおもっています.
で, モジュール10傑を選びたいとおもいます.
# もちろん個人の興味でその他のモジュールを実装してもらっても全然OKです
僕からあげると,
builtin
string
re
unittest
sys
os
copy
とかでしょうか. ほかにこれがいいんじゃない?というのはありますか?