[issue21446] Update reload fixer to use importlib instead of imp

2014-05-06 Thread Berker Peksag
New submission from Berker Peksag: Since imp.reload() was deprecated in issue 18193, the reload fixer (added in issue 11797) needs to be updated to use importlib.reload() instead of imp.reload(). -- components: 2to3 (2.x to 3.x conversion tool) files: reload-fixer.diff keywords: patch

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-05-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +fgracia ___ Python tracker <http://bugs.python.org/issue13630> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21450] [Issue 13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-05-07 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: Find(ed) text is not highlighted while dialog box is open ___ Python tracker <http://bugs.python

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-05-09 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue21463> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21466] General Index link to del statement is wrong

2014-05-10 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue21466> ___ ___ Python-bugs-list mailin

[issue21467] IDLE icon not included in Windows installer

2014-05-11 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> resolved ___ Python tracker <http://bugs.python.org/issue21467> ___ ___ Python-bugs-list mailing list Un

[issue21472] Fix wsgiref handling of absolute HTTP Request-URI

2014-05-11 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue21475] Support the Sitemap and Crawl-delay extensions in robotparser

2014-05-12 Thread Berker Peksag
Berker Peksag added the comment: There is a patch for Crawl-delay in issue 16099. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue21

[issue21198] Minor tarfile documentation bug

2014-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag, serhiy.storchaka stage: needs patch -> patch review Added file: http://bugs.python.org/file35223/issue21198.diff ___ Python tracker <http://bugs.python.org/issu

[issue21479] Document TarFile.open() as a classmethod

2014-05-12 Thread Berker Peksag
New submission from Berker Peksag: The patch also updates the signature of TarFile.open(). -- assignee: docs@python components: Documentation files: tarfile-open-classmethod.diff keywords: patch messages: 218323 nosy: berker.peksag, docs@python, serhiy.storchaka priority: normal

[issue20872] dbm/gdbm/ndbm close methods are not document

2014-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review versions: -Python 3.3 Added file: http://bugs.python.org/file35226/issue20872.diff ___ Python tracker <http://bugs.python.org/issu

[issue20969] Author of EPUB version of Python docs is set to Unknown instead of PSF

2014-05-12 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch. I followed Antoine's name suggestion. PSF would more suitable for the "epub_publisher" option: http://sphinx-doc.org/config.html#confval-epub_publisher -- keywords: +patch nosy: +berker.peksag stage: needs patch -

[issue21485] remove unnecesary .flush() calls in the asyncio subprocess code example

2014-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov ___ Python tracker <http://bugs.python.org/issue21485> ___ ___ Pytho

[issue21488] codecs.encode/decode documentation inconsistency

2014-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag, ncoghlan stage: -> patch review type: resource usage -> behavior versions: +Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35240/issue21488.diff ___ Python t

[issue21492] email.header.decode_header sometimes returns bytes, sometimes str

2014-05-13 Thread Berker Peksag
Berker Peksag added the comment: > >>> email.header.decode_header("foo") > [('foo', None)] email.header.decode_header() implements rfc-2047 and the "foo" header doesn't match the syntax described in rfc-2047 (see "2. Syntax of encod

[issue2052] Allow changing difflib._file_template character encoding.

2014-05-13 Thread Berker Peksag
Berker Peksag added the comment: Attaching two patches: issue2052.diff adds a "charset" keyword argument to HtmlDiff.make_file(). issue2052_html5.diff also adds a "charset" keyword argument to HtmlDiff.make_file() and updates the markup of HtmlDiff() to HTML5. I tested it

[issue2052] Allow changing difflib._file_template character encoding.

2014-05-13 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file35245/issue2052_html5.diff ___ Python tracker <http://bugs.python.org/issue2052> ___ ___ Python-bug

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2014-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> resolved ___ Python tracker <http://bugs.python.org/issue21156> ___ ___ Python-bugs-list mailing list Un

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-05-13 Thread Berker Peksag
Berker Peksag added the comment: Is there a chance to get this into 3.4.1? -- stage: -> patch review versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issu

[issue9266] ctypes "ValueError: NULL pointer access" on Win7 x64

2014-05-14 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue9266> ___ ___

[issue21488] codecs.encode/decode documentation inconsistency

2014-05-14 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> resolved ___ Python tracker <http://bugs.python.org/issue21488> ___ ___ Python-bugs-list mailing list Un

[issue21301] pathlib missing Path.expandvars(env=os.environ)

2014-05-14 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch to implement expandvars() for PurePath (with tests and documentation update). -- keywords: +patch nosy: +berker.peksag stage: -> patch review Added file: http://bugs.python.org/file35252/issue21

[issue21027] difflib new cli interface

2014-05-14 Thread Berker Peksag
Berker Peksag added the comment: > The HTML output contains an encoding in the : > See issue2052 for this. -- ___ Python tracker <http://bugs.python.org/i

[issue21047] html.parser.HTMLParser: convert_charrefs should become True by default

2014-05-16 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch to set the default "convert_charrefs" value to True (with documentation and whatsnew updates). -- keywords: +patch nosy: +berker.peksag stage: -> patch review Added file: http://bugs.python.org/file352

[issue19610] setup.py does not allow a tuple for classifiers

2014-05-16 Thread Berker Peksag
Berker Peksag added the comment: > A patch to detect bad type for classifiers in the check command would > also be acceptable for 3.5, or to catch it earlier, a check in the > Distribution class. Thanks for the idea, Éric. New patch attached. -- stage: needs patch ->

[issue21518] Expose RegUnloadKey in winreg

2014-05-17 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue21518> ___ ___ Python-bugs-list mailin

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-05-17 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch to deprecate the shutil.abspath function. -- nosy: +berker.peksag Added file: http://bugs.python.org/file35272/issue21391.diff ___ Python tracker <http://bugs.python.org/issue21

[issue2052] Allow changing difflib._file_template character encoding.

2014-05-17 Thread Berker Peksag
Berker Peksag added the comment: Attaching a new version of issue2052_html5.diff. Changes: - Switch from px to em in CSS - Cleanup markup a bit (e.g. delete redundant colgroup tags) -- Added file: http://bugs.python.org/file35273/issue2052_html5_v2.diff

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-05-17 Thread Berker Peksag
Berker Peksag added the comment: > Berker: do you consider your diff ready to go in, or is it an "early" > diff (like a work-in-progress)? I tested my patch with test_expectedFailure.py again. The patch is not really fixes the problem described in msg215240. So, I consider it

[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2014-05-17 Thread Berker Peksag
Berker Peksag added the comment: I've added missing self._formatMessage() functions to assertRegex and assertNotRegex asserts. -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review versions: -Python 3.3 Added file: http://bugs.python.org/file35274/issue20

[issue20483] Missing network resource checks in test_urllib2 & test_smtplib

2014-05-18 Thread Berker Peksag
Berker Peksag added the comment: I couldn't reproduce it either. I also tried related urllib and urllib2 tests: - test_urllib (passed) - test_urllibnet (skipped - Use of the 'network' resource not enabled) - test_urllib_response (passed) - test_urllib2net (skipped - Use of the &#x

[issue6671] webbrowser doesn't respect xfce default browser

2014-05-18 Thread Berker Peksag
Berker Peksag added the comment: Attaching a patch that checks both XDG_CURRENT_DESKTOP and DESKTOP_SESSION env vars for XFCE. -- nosy: +berker.peksag stage: test needed -> patch review versions: +Python 3.5 -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file35290/issue6

[issue20620] Update the min()/max() docs for the new default argument

2014-05-18 Thread Berker Peksag
Berker Peksag added the comment: Rebased patch. -- versions: +Python 3.5 Added file: http://bugs.python.org/file35291/issue20620_v3.diff ___ Python tracker <http://bugs.python.org/issue20

[issue20620] Update the min()/max() docs for the new default argument

2014-05-18 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file34081/issue20620.diff ___ Python tracker <http://bugs.python.org/issue20620> ___ ___ Python-bugs-list m

[issue17044] Implement PEP 422: Simple class initialisation hook

2014-05-18 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue17044> ___ ___ Python-bugs-list mailing list Unsub

[issue21535] test_license_exists_at_url fails with 3.4.1, wrong/unexpected http error code

2014-05-19 Thread Berker Peksag
Berker Peksag added the comment: This is probably related to issue 21534. -- nosy: +berker.peksag, larry ___ Python tracker <http://bugs.python.org/issue21

[issue20620] Update the min()/max() docs for the new default argument

2014-05-19 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue20620> ___ ___ Python-bugs-list mailing list Un

[issue21539] pathlib's Path.mkdir() should allow for "mkdir -p" functionality

2014-05-20 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file35303/issue21539.diff ___ Python tracker <http://bugs.python.org/issue21

[issue21544] Spam

2014-05-20 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg218856 ___ Python tracker <http://bugs.python.org/issue21544> ___ ___ Python-bugs-list m

[issue21544] Spam

2014-05-20 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -bill.little resolution: -> not a bug status: open -> closed title: Did y ou call me -> Spam ___ Python tracker <http://bugs.python.or

[issue21553] Behaviour of modules depends on how they where imported

2014-05-22 Thread Berker Peksag
Changes by Berker Peksag : -- superseder: -> Add '-p'/'--path0' command line option to override sys.path[0] initialisation ___ Python tracker <http://

[issue21198] Minor tarfile documentation bug

2014-05-22 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue21198> ___ ___ Python-bugs-list mailing list Un

[issue21479] Document TarFile.open() as a classmethod

2014-05-22 Thread Berker Peksag
Berker Peksag added the comment: Thanks for committing this, Raymond. -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issu

[issue21137] Better repr for threading.Lock()

2014-05-22 Thread Berker Peksag
Berker Peksag added the comment: Here is a new patch. I've disabled test_repr and test_locked_repr tests in Lib/test/test_importlib/test_locks.py. -- Added file: http://bugs.python.org/file35321/issue21137_v3.diff ___ Python tracker

[issue21558] Fix a typo in the contextlib docs

2014-05-22 Thread Berker Peksag
New submission from Berker Peksag: >From the code example at >https://docs.python.org/3.5/library/contextlib.html#supporting-a-variable-number-of-context-managers "if need_special resource:" (see line 4) should be "if need_special_resource:". Related changeset: ht

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-05-23 Thread Berker Peksag
Berker Peksag added the comment: +@property +def is_global(self): +return (not self in IPv4Network('100.64.0.0/10') and Can IPv4Network('100.64.0.0/10') moved to the _IPv4Constants class (e.g. _IPv4Constants._global_network = IPv4Network('100

[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-24 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file35337/socket.SocketType.html ___ Python tracker <http://bugs.python.org/issue20689> ___ ___ Python-bug

[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-24 Thread Berker Peksag
Berker Peksag added the comment: I couldn't reproduce this issue. I'm attaching HTML output of both socket.AddressFamily and socket.SocketType enum types. -- nosy: +berker.peksag Added file: http://bugs.python.org/file35336/socket.AddressF

[issue18381] unittest warnings counter

2014-05-25 Thread Berker Peksag
Berker Peksag added the comment: I get a test failure when I run the test suite with unittest.patch: test_Exit (unittest.test.test_program.Test_TestProgram) ... test test_unittest crashed -- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/regrte

[issue21558] Fix a typo in the contextlib docs

2014-05-25 Thread Berker Peksag
Berker Peksag added the comment: Thanks Raymond, will do. -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue21558> ___ ___ Py

[issue21137] Better repr for threading.Lock()

2014-05-25 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue21137> ___ ___ Python-bugs-list mailing list Un

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-25 Thread Berker Peksag
Berker Peksag added the comment: See issue 18879 for more information about the change. -- nosy: +berker.peksag, pitrou ___ Python tracker <http://bugs.python.org/issue21

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-05-26 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a simple test case. -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review Added file: http://bugs.python.org/file35366/issue21578.diff ___ Python tracke

[issue11468] Improve unittest basic example in the doc

2014-05-27 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue11468> ___ ___ Python-bugs-list mailing list Unsub

[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-27 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker <http://bugs.python.org/issue20689> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-05-27 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Eric. Here's a new patch. -- Added file: http://bugs.python.org/file35381/issue21578_v2.diff ___ Python tracker <http://bugs.python.org/is

[issue21608] logging.handlers.HTTPHandler.setFormatter() has no effect

2014-05-29 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue21608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21539] pathlib's Path.mkdir() should allow for "mkdir -p" functionality

2014-05-31 Thread Berker Peksag
Berker Peksag added the comment: Updated patch. Thank you Barry and Antoine. -- stage: -> patch review Added file: http://bugs.python.org/file35421/issue21539_v2.diff ___ Python tracker <http://bugs.python.org/issu

[issue21628] 2to3 does not fix zip in some cases

2014-06-02 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 20742. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 2to3 zip fixer doesn't fix for loops. ___ Pyth

[issue20742] 2to3 zip fixer doesn't fix for loops.

2014-06-02 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +RobertG, benjamin.peterson versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue20

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-02 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +gregory.p.smith versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue21627> ___ ___ Python-bugs-list mailin

[issue21650] add json.tool option to avoid alphabetic sort of fields

2014-06-03 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a test case. -- keywords: +patch nosy: +berker.peksag stage: -> patch review versions: +Python 3.5 -Python 2.7 Added file: http://bugs.python.org/file35468/issue21650.diff ___ Python

[issue21663] venv upgrade fails on Windows when copying TCL files

2014-06-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue21663> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18381] unittest warnings counter

2014-06-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Giampaolo. Attached a new patch which fixes text_logging and test_doctest tests. However, this patch will broke the current behavior of test.support.check_warnings. See Lib/test/test_xml_etree.py for example: test test_xml_etree crashed

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2014-06-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue4

[issue21681] version string printed on STDERR

2014-06-06 Thread Berker Peksag
Berker Peksag added the comment: This was fixed for Python 3.4 in issue 18338. See also https://docs.python.org/3/whatsnew/3.4.html#other-improvements for release notes. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue21

[issue21684] inspect.signature bind doesn't include defaults or empty tuple/dicts

2014-06-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue21684> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16667] timezone docs need "versionadded: 3.2"

2014-06-07 Thread Berker Peksag
Berker Peksag added the comment: The attached patch combines my changes with Andrew's patch. -- versions: +Python 3.5 -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file35534/issue16667_v3.diff ___ Python tracker <http://bugs.py

[issue17457] Unittest discover fails with namespace packages and builtin modules

2014-06-10 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue21709] logging.__init__ assumes that __file__ is always set

2014-06-10 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue21709> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-06-11 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +brett.cannon, eric.snow ___ Python tracker <http://bugs.python.org/issue21720> ___ ___ Python-bugs-list mailing list Unsub

[issue21724] resetwarnings doesn't reset warnings registry

2014-06-11 Thread Berker Peksag
Berker Peksag added the comment: > It makes it difficult to get repeatable warning messages, e.g. at the > > command prompt, because the shortcut path will silence messages which > were > already emitted, even if the filter have been changed to "always" > > in-

[issue21707] modulefinder uses wrong CodeType signature in .replace_paths_in_code()

2014-06-12 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a test. -- keywords: +patch nosy: +berker.peksag stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file35587/issue21707.diff ___ Python tracker <http://b

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue21425> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21730] test_socket fails --without-threads

2014-06-12 Thread Berker Peksag
New submission from Berker Peksag: Here's the traceback (tested on Ubuntu 12.04): == ERROR: testBCM (test.test_socket.CANTest) -- Traceback (most recent

[issue20043] test_multiprocessing_main_handling fails --without-threads

2014-06-12 Thread Berker Peksag
Berker Peksag added the comment: This test is still failing on AMD64 Fedora without threads 3.x. http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/6743/steps/test/logs/stdio test test_multiprocessing_main_handling crashed -- Traceback (most recent call

[issue21737] runpy.run_path() fails with frozen __main__ modules

2014-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker <http://bugs.python.org/issue21737> ___ ___ Python-bugs-list mailin

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Devguide -Documentation nosy: +ezio.melotti, steve.dower, zach.ware ___ Python tracker <http://bugs.python.org/issue21

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2014-06-13 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch. I'm getting the following error without modify Lib/shutil.py: == ERROR: test_copytree_symbolic_directory (test.test_shutil.

[issue21755] test_importlib.test_locks fails --without-threads

2014-06-14 Thread Berker Peksag
New submission from Berker Peksag: == ERROR: test.test_importlib.test_locks (unittest.loader.ModuleImportFailure) -- Traceback (most recent call last): File

[issue21650] add json.tool option to avoid alphabetic sort of fields

2014-06-14 Thread Berker Peksag
Berker Peksag added the comment: Updated patch attached based on feedback from David. Thanks! -- stage: needs patch -> patch review Added file: http://bugs.python.org/file35631/issue21650_v2.diff ___ Python tracker <http://bugs.python.org/issu

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2014-06-14 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch. -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review Added file: http://bugs.python.org/file35633/issue18108.diff ___ Python tracker <http://bugs.python.org

[issue16181] cookielib.http2time raises ValueError for invalid date.

2014-06-15 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue16181> ___ ___ Python-

[issue20085] Python2.7, wxPython and IDLE 2.7

2014-06-16 Thread Berker Peksag
Changes by Berker Peksag : -- status: languishing -> closed ___ Python tracker <http://bugs.python.org/issue20085> ___ ___ Python-bugs-list mailing list Un

[issue21784] __init__.py can be a directory

2014-06-17 Thread Berker Peksag
Berker Peksag added the comment: I think this is related to PEP 420. $ tree pkg/ pkg/ ├── foobar.py $ python3.2 -c "from pkg import foobar" Traceback (most recent call last): File "", line 1, in ImportError: No module named pkg But, with

[issue7982] extend captured_output to simulate different stdout.encoding

2014-06-17 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue7982> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10595] Adding a syslog.conf reader in syslog

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue10595> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10524] Patch to add Pardus to supported dists in platform

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: Unfortunately, Pardus is dead now. So closing this as out of date. -- nosy: +berker.peksag resolution: -> out of date stage: commit review -> resolved status: open -> closed ___ Python track

[issue21755] test_importlib.test_locks fails --without-threads

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: See also http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/6779/steps/test/logs/stdio -- ___ Python tracker <http://bugs.python.org/issue21

[issue10310] signed:1 bitfields rarely make sense

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.or

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-19 Thread Berker Peksag
Berker Peksag added the comment: > I guess the tests --without-doc-strings are broken: > http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio Attached patch fixes these failures. -- nosy: +berker.peksag versions: +Python 3.5 -Pyth

[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Berker Peksag
Berker Peksag added the comment: > Cannot reproduce that with Ubuntu 12.04. +1. Attached a reproducer. -- nosy: +berker.peksag Added file: http://bugs.python.org/file27819/reproducer.py ___ Python tracker <http://bugs.python.org/issu

[issue16393] typo in pkgutil.py

2012-11-03 Thread Berker Peksag
Berker Peksag added the comment: Duplicate of issue 16163. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue16393> ___ ___ Python-bug

[issue16163] Wrong name in Lib/pkgutil.py:iter_importers

2012-11-04 Thread Berker Peksag
Berker Peksag added the comment: > I don't think it's necessary to check for UnboundLocalError/NameError > in the tests. Thanks for the review. Attached a new patch. -- Added file: http://bugs.python.org/file27885/pkgutil-name-w

[issue15276] unicode format does not really work in Python 2.x

2012-11-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker <http://bugs.python.org/issue15276> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6478] time.tzset does not reset _strptime's locale time cache

2012-11-04 Thread Berker Peksag
Berker Peksag added the comment: Alexander: Did you have a chance to review the test? -- ___ Python tracker <http://bugs.python.org/issue6478> ___ ___ Python-bug

[issue16497] zipimport.zipimporter.find_module() does not work with dotted module names

2012-11-17 Thread Berker Peksag
New submission from Berker Peksag: I am trying to write a test for issue 8585. The `zipimport.zipimporter.find_module()` docs says: "Search for a module specified by fullname. fullname must be the fully qualified (dotted) module name." (from http://docs.python.org/3.4/library/zipi

[issue16497] zipimport.zipimporter.find_module() does not work with dotted module names

2012-11-18 Thread Berker Peksag
Berker Peksag added the comment: > It actually does work, you just have to embed the subdirectory in the > path you pass to zipimport.zipimporter(): Thanks, didn't know that. Would it be good to add an example to the zipimporter.find_module() do

[issue8585] zipimporter.find_module is untested

2012-11-18 Thread Berker Peksag
Berker Peksag added the comment: I've attached a patch that adds tests for the zipimporter.find_module(). -- keywords: +patch nosy: +berker.peksag versions: +Python 3.2, Python 3.3 Added file: http://bugs.python.org/file28033/issue8585

[issue16525] wave file module does not support 32bit float format

2012-11-21 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 2.6, Python 3.1, Python 3.5 ___ Python tracker <http://bugs.python.org/issue16525> ___ ___ Python-bugs-list mailin

<    8   9   10   11   12   13   14   15   16   17   >