[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2009-02-04 Thread Akira Kitada
Akira Kitada added the comment: Still present in 2.6/3.0 -- nosy: +akitada, tarek type: resource usage -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker <http://bugs.python.org/iss

[issue5158] Document distutils 'depends' option for extensions

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> georg.brandl components: +Documentation nosy: +georg.brandl, tarek ___ Python tracker <http://bugs.python.org/iss

[issue1371826] distutils is silent about multiple -I/-L/-R

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker <http://bugs.python.org/issue1

[issue1481347] parse_makefile doesn't handle $$ correctly

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.4 ___ Python tracker <http://bugs.python.org/issue1

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: compile error -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/iss

[issue793069] Add --remove-source option

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek versions: +Python 2.7, Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue793069> ___ ___ Python-bug

[issue763043] unable to specify another compiler

2009-02-05 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek versions: +Python 2.7, Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue763043> ___ ___ Python-bug

[issue4010] configure options don't trickle down to distutils

2009-02-06 Thread Akira Kitada
Changes by Akira Kitada : Removed file: http://bugs.python.org/file12868/issue4010.diff ___ Python tracker <http://bugs.python.org/issue4010> ___ ___ Python-bugs-list m

[issue4010] configure options don't trickle down to distutils

2009-02-06 Thread Akira Kitada
Akira Kitada added the comment: s/get_config_vars/get_config_var/ -- versions: +Python 3.1 Added file: http://bugs.python.org/file12954/issue4010.diff ___ Python tracker <http://bugs.python.org/issue4

[issue3686] PKG-INFO file should differentiate between authors and maintainers

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: Maintainer field is not specified in PEP 241, PEP 314 and even PEP 345. Can we add this field to PEP 345? -- nosy: +akitada, tarek type: -> feature request ___ Python tracker <http://bugs.python.org/iss

[issue1294032] Distutils writes keywords comma-separated

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: s/PEP341/PEP345/? -- nosy: +akitada, tarek type: -> behavior ___ Python tracker <http://bugs.python.org/issue1294032> ___ _

[issue1294032] Distutils writes keywords comma-separated

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: I think it still need to be clarified in PEP that Keywords field accept comma-or-space-separated values. ___ Python tracker <http://bugs.python.org/issue1294

[issue1092365] Distutils needs a way *not* to install files

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: I don't understand the use case of that option. -- nosy: +akitada, tarek ___ Python tracker <http://bugs.python.org/issu

[issue1326113] Letting "build_ext --libraries" take more than one lib

2009-02-08 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request ___ Python tracker <http://bugs.python.org/issue1326113> ___ ___ Python-bugs-list mai

[issue2624] swig support in distutils should use the build and temp dirs

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: Same with issue1016626? -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue2624> ___ ___ Python-bugs-list mailin

[issue828336] Allow set swig include dirs in setup.py

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: seems this is already fixed in issue1046644. -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue828336> ___ ___

[issue1016626] distutils support for swig is under par

2009-02-08 Thread Akira Kitada
Akira Kitada added the comment: Same with issue2624? -- nosy: +akitada, tarek ___ Python tracker <http://bugs.python.org/issue1016626> ___ ___ Python-bugs-list m

[issue1004696] translate Windows cr-lf when installing scripts on Linux

2009-02-08 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1004696> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1718574] build_clib --build-clib/--build-temp option bugs

2009-02-08 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1718574> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1083299] Distutils doesn't pick up all the files it should.

2009-02-09 Thread Akira Kitada
Akira Kitada added the comment: I don't think that's not depends keyword is used for. I assume explanation on issue5158 is the way that "depends" is supposed to be used. -- nosy: +akitada, tarek ___ Python tracker <

[issue1222585] C++ compilation support for distutils

2009-02-09 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1589266] bdist_sunpkg distutils command

2009-02-09 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.3 ___ Python tracker <http://bugs.python.org/issue1

[issue1035576] Add New RPM-friendly record option to setup.py

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1035576> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue818201] distutils: clean -b ignored; set_undefined_options doesn't

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue818201> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue755286] Generate rpm filelist including directories

2009-02-10 Thread Akira Kitada
Akira Kitada added the comment: Duplicate of issue1035576 -- nosy: +akitada, tarek ___ Python tracker <http://bugs.python.org/issue755286> ___ ___ Python-bug

[issue1035576] Add New RPM-friendly record option to setup.py

2009-02-10 Thread Akira Kitada
Akira Kitada added the comment: duplicate of issue755286 -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue1035576> ___ ___ Python-bugs-list m

[issue1169193] Handle ungzipped man pages in rpm builds correctly

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3 ___ Python tracker <http://bugs.python.org/issue1

[issue809846] distutils/bdistwin32 doesn't clean up RO files properly

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue809846> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1169193] Handle ungzipped man pages in rpm builds correctly

2009-02-10 Thread Akira Kitada
Akira Kitada added the comment: Duplicate of issue644744 -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue1169193> ___ ___ Python-bugs-list m

[issue644744] bdist_rpm fails when installing man pages

2009-02-10 Thread Akira Kitada
Akira Kitada added the comment: Duplicate of issue1169193 -- nosy: +akitada, tarek ___ Python tracker <http://bugs.python.org/issue644744> ___ ___ Python-bug

[issue1382562] --install-base not honored on win32

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.4 ___ Python tracker <http://bugs.python.org/issue1

[issue957381] bdist_rpm fails on redhat9, fc1, fc2

2009-02-10 Thread Akira Kitada
Akira Kitada added the comment: Is this problem already closed? -- nosy: +akitada, tarek ___ Python tracker <http://bugs.python.org/issue957381> ___ ___ Pytho

[issue1289136] distutils extension library path bug on cygwin

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior ___ Python tracker <http://bugs.python.org/issue1289136> ___ ___ Python-bugs-list mailing list Un

[issue1274324] 'setup.py install' fail on linux from read-only storage

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior ___ Python tracker <http://bugs.python.org/issue1274324> ___ ___ Python-bugs-list mailing list Un

[issue1028432] Specify a source baseurl for bdist_rpm.

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.3 ___ Python tracker <http://bugs.python.org/issue1

[issue1051216] make distutils.core.run_setup re-entrant

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.4 ___ Python tracker <http://bugs.python.org/issue1

[issue1635363] Add command line help to windows unistall binary

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> tarek components: +Windows nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1635363> ___ ___ Python-

[issue969718] BASECFLAGS are not passed to module build line

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.4 ___ Python tracker <http://bugs.python.org/issue

[issue1648890] HP-UX: ld -Wl,+b...

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker <http://bugs.python.org/issue1

[issue1285] setp.py error "The process cannot access the file ..."

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- components: +Windows ___ Python tracker <http://bugs.python.org/issue1285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue436259] [Windows] exec*/spawn* problem with spaces in args

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> tarek nosy: +tarek versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue

[issue1692592] Stripping debugging symbols from compiled C extensions

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1692592> ___ ___ Python-bugs-list mailin

[issue1682403] docutils clarification request for "rest"

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6 ___ Python tracker <http://bugs.python.org/issue1

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1254718> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1887] distutils doesn't support out-of-source builds

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> tarek components: +Build nosy: +tarek ___ Python tracker <http://bugs.python.org/issue1887> ___ ___ Python-bugs-lis

[issue919238] Recursive variable definition causes sysconfig infinite loop

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.7, Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker <http://bugs.python.org/issue

[issue44345] The First-line (comment) of the parser.c is incorrect.

2021-06-07 Thread Akira Nonaka
New submission from Akira Nonaka : The First-line (comment) of the parser.c is incorrect. "// @generated by pegen.py from ./Grammar/python.gram" pegen.py no longer exists. It is now "pegen" package. -- components: Demos and Tools messages: 395306 nosy: anon

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-07 Thread Akira Nonaka
Change by Akira Nonaka : -- title: The First-line (comment) of the parser.c is incorrect. -> The first line (comment) of the parser.c is incorrect. ___ Python tracker <https://bugs.python.org/issu

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-07 Thread Akira Nonaka
Change by Akira Nonaka : -- keywords: +patch pull_requests: +25175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26591 ___ Python tracker <https://bugs.python.org/issu

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-08 Thread Akira Nonaka
Change by Akira Nonaka : -- pull_requests: +25184 pull_request: https://github.com/python/cpython/pull/26602 ___ Python tracker <https://bugs.python.org/issue44

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-08 Thread Akira Nonaka
Akira Nonaka added the comment: I have just signed the contributor agreement. -- ___ Python tracker <https://bugs.python.org/issue44345> ___ ___ Python-bug

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-08 Thread Akira Nonaka
Change by Akira Nonaka : -- pull_requests: +25199 pull_request: https://github.com/python/cpython/pull/26615 ___ Python tracker <https://bugs.python.org/issue44

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- pull_requests: +572 ___ Python tracker <http://bugs.python.org/issue28876> ___ ___ Python-bugs-list mailing list

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Akira Li
Akira Li added the comment: > Akira, could you open a pull request on GitHub? Done. PR 699 -- ___ Python tracker <http://bugs.python.org/issue28876> ___ ___ Py

[issue29352] provide the authorative source for s[i:j] negative slice indices (<-len(s)) behavior for standard sequences

2017-03-17 Thread Akira Li
Akira Li added the comment: I prefer the wording in the current patch. Though I don't have strong feelings one way or the other as long as the behavior is specified explicitly. -- ___ Python tracker <http://bugs.python.org/is

[issue29352] provide the authorative source for s[i:j] negative slice indices (<-len(s)) behavior for standard sequences

2017-03-17 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- pull_requests: +576 ___ Python tracker <http://bugs.python.org/issue29352> ___ ___ Python-bugs-list mailing list

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-07 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue1065986> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12317] inspect.getabsfile() is not documented

2013-09-08 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue12317> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-16 Thread Akira Kitada
Akira Kitada added the comment: Attaching a modified version of issue1065986.patch. The differences are: - Added _binstr(), which is str() that works with unicode objects. - Changed getdoc() to return encoded docstrings/comments - Used _binstr() to convert __version__, __date__, __author__ and

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-17 Thread Akira Kitada
Akira Kitada added the comment: With this patch applied, the example from issue15791 works fine. $ echo "__author__ = u'Michele Orr\xf9'" > foo.py && ./python -c "import foo; print foo.__author__; help(foo)" Michele Orrù Help on module foo: NAME

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-21 Thread Akira Kitada
Akira Kitada added the comment: Updated the previous patch to test unicode strings in __{version,date,author,credits}__ don't crash. -- Added file: http://bugs.python.org/file31832/issue1065986-3.patch ___ Python tracker <http://bugs.py

[issue13963] dev guide has no mention of mechanics of patch review

2013-09-21 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue13963> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1185124] pydoc doesn't find all module doc strings

2013-09-21 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +akitada ___ Python tracker <http://bugs.python.org/issue1185124> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-21 Thread Akira Kitada
Akira Kitada added the comment: Now we have a working fix for 2.7. Could someone please review the attached patch? -- ___ Python tracker <http://bugs.python.org/issue1065

[issue1185124] pydoc doesn't find all module doc strings

2013-09-25 Thread Akira Kitada
Akira Kitada added the comment: Do you have any plan to work on patch for 2.7? Apparently your patch is only for 3.x. -- ___ Python tracker <http://bugs.python.org/issue1185

[issue1065986] Fix pydoc crashing on unicode strings

2013-11-20 Thread Akira Kitada
Akira Kitada added the comment: Added to html pydoc generates. -- Added file: http://bugs.python.org/file32721/issue1065986-4.patch ___ Python tracker <http://bugs.python.org/issue1065

[issue1065986] Fix pydoc crashing on unicode strings

2013-11-20 Thread Akira Kitada
Akira Kitada added the comment: Good catch. Fixed. -- Added file: http://bugs.python.org/file32738/issue1065986-5.patch ___ Python tracker <http://bugs.python.org/issue1065

[issue22069] TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline

2014-07-25 Thread Akira Li
New submission from Akira Li: TextIOWrapper(b, newline="\n", line_buffering=True) object calls flush() while writing "\r". See test_line_buffering() method in Lib/test/test_io.py:2114 The documentation says [1]: > If line_buffering is True, flush() is implied when a

[issue563491] Add separator argument to readline()

2014-07-25 Thread Akira Li
Akira Li added the comment: Reincarnation: issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack -- nosy: +akira ___ Python tracker <http://bugs.python.org/issue563

[issue17083] can't specify newline string for readline for binary files

2014-07-25 Thread Akira Li
Akira Li added the comment: Related issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack It suggests to extend the newline support for both text and binary files. -- nosy: +akira ___ Python tracker

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-25 Thread Akira Li
Akira Li added the comment: To make the discussion more specific, here's a patch that adds support for alternative newlines in _pyio.TextIOWrapper. It aslo updates the documentation and adds more io tests. It does not provide C implementation or the extended newline support for binary files

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-26 Thread Akira Li
Akira Li added the comment: > As a side-effect it also fixes the bug in line_buffering=True > behavior, see issue22069O. It should be issue22069 "TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline" Reuploaded the patch so that it appl

[issue19829] _pyio.BufferedReader and _pyio.TextIOWrapper destructor don't emit ResourceWarning if the file is not closed

2014-07-27 Thread Akira Li
Akira Li added the comment: Related issue21859 "Add Python implementation of FileIO" -- nosy: +akira ___ Python tracker <http://bugs.python.o

[issue1152248] Add support for reading records with arbitrary separators to the standard IO stack

2014-07-28 Thread Akira Li
Akira Li added the comment: > Akira, your patch does this: > > -self._writetranslate = newline != '' > -self._writenl = newline or os.linesep > +self._writetranslate = newline in (None, '\r', '\r\n') > +sel

[issue22094] test_ossaudiodev fails unnecessarily

2014-07-28 Thread Akira Li
New submission from Akira Li: $ ./python -mtest -uaudio test_ossaudiodev [1/1] test_ossaudiodev test test_ossaudiodev failed -- Traceback (most recent call last): File "./Lib/test/test_ossaudiodev.py", line 148, in test_playback self.play_sound_file(*sound_info) File &

[issue22094] oss_audio_device.write(data) produces short writes

2014-07-28 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- title: test_ossaudiodev fails unnecessarily -> oss_audio_device.write(data) produces short writes ___ Python tracker <http://bugs.python.or

[issue22094] oss_audio_device.write(data) produces short writes

2014-07-28 Thread Akira Li
Akira Li added the comment: >From Modules/ossaudiodev.c: /* NB. writeall() is only useful in non-blocking mode: according to Guenter Geiger on the linux-audio-dev list (http://eca.cx/lad/2002/11/0380.html), OSS guarantees that write() in blocking mode consumes

[issue22094] oss_audio_device.write(data) produces short writes

2014-07-28 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- components: +Library (Lib) -Tests ___ Python tracker <http://bugs.python.org/issue22094> ___ ___ Python-bugs-

[issue22054] Add os.get_blocking() and os.set_blocking() functions

2014-07-28 Thread Akira Li
Akira Li added the comment: Maybe is_something() is a better name than get_something() if something is a boolean? -- nosy: +akira ___ Python tracker <http://bugs.python.org/issue22

[issue12970] os.walk() consider some symlinks as dirs instead of non-dirs

2014-07-28 Thread Akira Li
Akira Li added the comment: I've updated os.walk() documentation to mention that *dirnames* list includes symlinks to directories. To imitate the other two cases: - treat the symlinks as files: for dirpath, dirnames, files in os.walk(top): dirs = [] for name in dir

[issue22054] Add os.get_blocking() and os.set_blocking() functions

2014-07-28 Thread Akira Li
Akira Li added the comment: > os and socket modules already use getxxx() / setxxx() names: > > - os.get_inheritable() / os.set_inheritable() > - os.getuid() / os.setuid() > - os.getgroups() / os.setgroups() > - os.getxattr() os.setxattr() > - socket.gettimeout(

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Akira Li
Akira Li added the comment: Set has no __ior__ method but MutableSet has: class MySet(MutableSet): update = MutableSet.__ior__ Unlike set.__ior__; MutableSet.__ior__ accepts an arbitrary iterable and therefore MutableSet.update is redundant. set.__ior__ doesn't accept an arbi

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Akira Li
Akira Li added the comment: On the other hand update() method may accept multiple iterables at once: def update(self, *iterables): for it in iterables: self |= it and therefore it is not equivalent to __ior__ method. In this case: 'difference', 'intersectio

[issue22101] collections.abc.Set doesn't provide copy() method

2014-07-29 Thread Akira Li
New submission from Akira Li: The documentation for standard types says [1]: clear() and copy() are included for consistency with the interfaces of mutable containers that don’t support slicing operations (such as dict and set) New in version 3.3: clear() and copy() methods. [1] https

[issue22101] collections.abc.Set doesn't provide copy() method

2014-07-31 Thread Akira Li
Akira Li added the comment: > I don't think this is needed nor do I think that it is a good idea to > have a copy() method in the ABCs because they know so little about > their concrete underlying class (perhaps the backing store in the > filesystem or a database). Besides, a

[issue16353] add function to os module for getting path to default shell

2014-08-01 Thread Akira Li
Akira Li added the comment: > Should it be function? Why not use just a variable initialized at > import time? The path to the default shell shouldn't change during > the time of program execution. > if sys.platform == 'win32': > default_shell = 'cmd.exe&

[issue16353] add function to os module for getting path to default shell

2014-08-01 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue16353> ___ ___ Python-bugs-

[issue16353] add function to os module for getting path to default shell

2014-08-01 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Removed file: http://bugs.python.org/file36195/os.get_shell_executable.patch ___ Python tracker <http://bugs.python.org/i

[issue16353] add function to os module for getting path to default shell

2014-08-01 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Added file: http://bugs.python.org/file36196/os.get_shell_executable.patch ___ Python tracker <http://bugs.python.org/i

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-08-04 Thread Akira Li
Akira Li added the comment: About the name: abstract_tests could be used e.g.: @abstract_tests class AbcSetTests(TestCase): # test abc.Set Set = abstract_property() def setUp(self): self.set = self.Set('abc') def test_diffe

[issue19055] Clarify docs for re module: why * does not match as many repetitions as possible.

2014-08-11 Thread Akira Li
Akira Li added the comment: tl;dr: added patch that clarifies Python re behavior. Please, review. --- The documented behavior is not clear: why (a|ab)* is not equivalent to (a|ab)(a|ab) for aba if the docs say "as many repetitions as are possible"? And it is not obvious (it is no

[issue19055] Clarify docs for re module: why * does not match as many repetitions as possible.

2014-08-11 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Removed file: http://bugs.python.org/file36340/re-docs-repetitions.patch ___ Python tracker <http://bugs.python.org/i

[issue19055] Clarify docs for re module: why * does not match as many repetitions as possible.

2014-08-11 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Added file: http://bugs.python.org/file36341/re-docs-repetitions.patch ___ Python tracker <http://bugs.python.org/i

[issue5411] Add xz support to shutil

2014-08-11 Thread Akira Li
Akira Li added the comment: sphinx generates warning for the current docs introduced by this issue: WARNING: Explicit markup ends without a blank line; unexpected unindent. I've uploaded a documentation patch that fixes it. -- nosy: +akira Added file: http://bugs.pytho

[issue21041] pathlib.PurePath.parents rejects negative indexes

2014-08-18 Thread Akira Li
Akira Li added the comment: > #7951 has an interesting debate on negative indexes that is possibly > applicable here. Mark could you point to a message that explains why p.parents[-2] is worse than p.parents[len(p.parents)-2]? -- ___ Python t

[issue22241] strftime/strptime round trip fails even for UTC datetime object

2014-08-21 Thread Akira Li
New submission from Akira Li: >>> from datetime import datetime, timezone >>> dt = datetime.now(timezone.utc) >>> fmt = '%Y-%m-%d %H:%M:%S.%f %Z%z' >>> datetime.strptime(dt.strftime(fmt), fmt) Traceback (most recent call last): File "

[issue22241] strftime/strptime round trip fails even for UTC datetime object

2014-08-21 Thread Akira Li
Akira Li added the comment: I don't see, how it is a duplicate. Everything works if pytz.utc (.tzname() == 'UTC') is used instead of timezone.utc (.tzname() == 'UTC+00:00'). Everything works if UTC class from the example [1] in the tzinfo docs is used. It onl

[issue22246] add strptime(s, '%s')

2014-08-21 Thread Akira Li
New submission from Akira Li: issue12750 makes strftime('%s') portable. For symmetry, datetime.strptime(s, '%s') could be enabled to return local time as an aware (to avoid loosing info) datetime object for a given integer (seconds since the Epoch) timestamp string. I

[issue22246] add strptime(s, '%s')

2014-08-21 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Removed file: http://bugs.python.org/file36430/draft-strptime-%s.diff ___ Python tracker <http://bugs.python.org/i

[issue22246] add strptime(s, '%s')

2014-08-21 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: Added file: http://bugs.python.org/file36431/draft-strptime-%s.diff ___ Python tracker <http://bugs.python.org/i

<    1   2   3   4   5   >