[issue26672] regrtest missing in the module name

2016-04-26 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks for the report! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker <http://bugs.python

[issue26868] Incorrect check for return value of PyModule_AddObject in _csv.c

2016-04-27 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the write-up, Serhiy. It looks like "... == -1" is more popular in the codebase (for PyModule_AddObject, "... < 0" is the most popular style). Here is a patch to document the current behavior of PyModule_AddObject.

[issue20447] doctest.debug_script: insecure use of /tmp

2016-04-27 Thread Berker Peksag
Berker Peksag added the comment: 3.1 is now EOL: https://docs.python.org/devguide/index.html#status-of-python-branches -- nosy: +berker.peksag resolution: -> out of date stage: -> resolved status: open -> closed ___ Python track

[issue20453] json.load() error message changed in 3.4

2016-04-27 Thread Berker Peksag
Berker Peksag added the comment: 3.4 is in security-fix-only mode and 3.5+ has better error messages thanks to JSONDecodeError (07af9847dbec). Closing this as 'out of date'. -- nosy: +berker.peksag resolution: -> out of date stage: -> resolved status

[issue1145257] shutil.copystat() may fail...

2016-04-27 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: accepted -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue18551] child_exec() doesn't check return value of fcntl()

2016-04-27 Thread Berker Peksag
Berker Peksag added the comment: There is one fcntl call in Modules/_posixsubprocess.c now and its return value is checked local_max_fd = fcntl(0, F_MAXFD); if (local_max_fd >= 0) Closing this as 'out of date'. -- nosy: +berker.peksag resolution: -> out of d

[issue26868] Document PyModule_AddObject's behavior on error

2016-04-28 Thread Berker Peksag
Changes by Berker Peksag : -- title: Incorrect check for return value of PyModule_AddObject in _csv.c -> Document PyModule_AddObject's behavior on error ___ Python tracker <http://bugs.python.org

[issue26358] mmap.mmap.__iter__ is broken (yields bytes instead of ints)

2016-04-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for taking a look at this, Xiang. Like I said in msg263470, making the in operator work with mmap objects is out of scope for this issue and it should be handled in a separate issue (I already have a WIP patch, but please feel free to work on it

[issue9321] CGIHTTPServer cleanup htbin

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: I agree with David and Éric. There is no point to remove/deprecate it. I'd prefer to fix bugs in CGIHTTPRequestHandler (and in other CGI related stuff in stdlib) instead of introducing new incompatibilities at this point. -- nosy: +berker.p

[issue10850] inconsistent behavior concerning multiprocessing.manager.BaseManager._Server

2016-04-29 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy nosy: +berker.peksag, davin stage: -> needs patch versions: +Python 3.6 -Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue8491] Need readline command and keybinding information

2016-04-29 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy nosy: +martin.panter stage: -> needs patch type: -> enhancement versions: +Python 3.5, Python 3.6 -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/

[issue26865] Meta-issue: support of the android platform

2016-04-29 Thread Berker Peksag
Changes by Berker Peksag : -- dependencies: +cross-compilation of extension module links to the wrong python library ___ Python tracker <http://bugs.python.org/issue26

[issue26322] Missing docs for typing.Set

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Joseph! -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue20247] Condition._is_owned is wrong

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: issue 25516 is a duplicate, but I'm going to close this one since issue 25516 has a patch. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> threading.Condition._is_owned() is

[issue24902] http.server: on startup, show host/port as URL

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: I replaced %-string with str.format(). Thanks! Note: Please sign the PSF contributor agreement at https://www.python.org/psf/contrib/contrib-form/ -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed

[issue25551] Event's test_reset_internal_locks too fragile

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Nir! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker <http://bugs.python.or

[issue13436] compile() doesn't work on ImportFrom with level=None

2016-04-29 Thread Berker Peksag
Berker Peksag added the comment: level=None is now allowed: https://hg.python.org/cpython/file/default/Python/Python-ast.c#l5224 (see line 5224 to 5232) I converted the example in msg147972 to a Python script. test_bad_integer is still useful as it uses the required 'lineno' fie

[issue13436] compile() doesn't work on ImportFrom with level=None

2016-04-29 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue18956] Document useful functions in ‘pydoc’ module

2016-04-29 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Make generally useful pydoc functions public ___ Python tracker <http://bugs.python

[issue23960] PyErr_SetImportError doesn't clean up on some errors

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch. I left review comments on Rietveld (click to the review link above). -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue26893] ValueError exception raised when using IntEnum with an attribute called "name" and @unique decorator

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Looks like 2545bfe0d273 (issue 23486) is the culprit. -- keywords: +3.5regression nosy: +berker.peksag stage: -> needs patch versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue14882] Link/Compile Error on Sun Sparc Solaris10 with gcc3.4.3----python2.6.8

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: > From some website, I was told that this is caused by a fault of Solaris's gcc. Closing as 'not a bug' since this isn't an issue with Python. Also, 2.6 is now EOL. -- nosy: +berker.peksag resolution: -> not a bug stage:

[issue23897] Update Python 3 extension module porting guide

2016-04-30 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Documentation stage: -> needs patch type: -> enhancement versions: +Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/i

[issue21746] urlparse.BaseResult no longer exists

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Matthew. Python 3 documentation has already been updated. -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://

[issue1944] Document PyUnicode_* API

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Remaining undocumented functions: >From this issue: PyUnicode_RSplit PyUnicode_Partition PyUnicode_RPartition >From issue 10435: PyUnicode_IsIdentifier PyUnicode_Append PyUnicode_AppendAndDel PyUnicode_GetDefaultEncoding PyUnicode_FromOrdinal PyUnicode_

[issue18688] Document undocumented Unicode object API

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 1944. -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10435] Document unicode C-API in reST

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 1944. -- nosy: +berker.peksag resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Document PyUnicode_* API ___ Python tr

[issue18688] Document undocumented Unicode object API

2016-04-30 Thread Berker Peksag
Changes by Berker Peksag : -- superseder: -> Document PyUnicode_* API ___ Python tracker <http://bugs.python.org/issue18688> ___ ___ Python-bugs-list mai

[issue26896] mix-up with the terms 'importer', 'finder', 'loader' in the import system and related code

2016-04-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +brett.cannon stage: -> patch review ___ Python tracker <http://bugs.python.org/issue26896> ___ ___ Python-bugs-list mai

[issue26896] mix-up with the terms 'importer', 'finder', 'loader' in the import system and related code

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch. I left two review comments about unused variables on Rietveld. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue26

[issue23960] PyErr_SetImportError doesn't clean up on some errors

2016-04-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26163] FAIL: test_hash_effectiveness (test.test_set.TestFrozenSet)

2016-05-01 Thread Berker Peksag
Berker Peksag added the comment: I just saw the same failure on s390x RHEL 3.x: http://buildbot.python.org/all/builders/s390x%20RHEL%203.x/builds/1004/steps/test/logs/stdio == FAIL: test_hash_effectiveness

[issue26898] Typo in the documentation of math.isclose()

2016-05-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- nosy: +berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue21367] multiprocessing.JoinableQueue requires new kwarg

2016-05-01 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Cryptic error when subclassing multiprocessing classes ___ Python tracker <http://bugs.python

[issue18916] Various out-of-date Lock text in 3.2+

2016-05-02 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the path, Christopher. -- assignee: -> docs@python components: +Documentation -Interpreter Core nosy: +berker.peksag, docs@python resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.5

[issue25757] Subclasses of property lose docstring

2016-05-02 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Torsten. This is a duplicate of issue 24766. Your patch is almost identical (except the behavior change) to the patch in issue 24766. I will adapt your test and attribute your name in commit message. -- resolution: -> duplic

[issue24766] Subclass of property doesn't preserve instance __doc__ when using doc= argument

2016-05-02 Thread Berker Peksag
Berker Peksag added the comment: test_property_decorator_doc_writable fix has already been committed in cc1aa0e88626. Here's an updated patch: * Synced with the default branch * Adapted the test from duplicate issue 25757 (written by Torsten Landschoff) -- nosy: +berker.p

[issue22656] `help` ignores `__doc__` of descriptors

2016-05-02 Thread Berker Peksag
Berker Peksag added the comment: The attached patch should solve this. We probably need to add more tests. test_property_subclass depends on issue 24766. -- keywords: +patch nosy: +berker.peksag stage: -> patch review type: -> behavior versions: +Python 3.5, Python 3.6 -Pyth

[issue25392] setup.py --quiet doesn't silence "no previously-included directories" warnings from MANIFEST.in

2016-05-02 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Distutils nosy: +berker.peksag, dstufft, eric.araujo stage: -> needs patch type: -> behavior versions: +Python 3.6 -Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/i

[issue26908] "1and 0" evaluated a zero, instead of SyntaxError

2016-05-02 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This is a duplicate of issue 13610. You can read issue 13610 for more information. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> On Python par

[issue26913] statistics.mean of bools

2016-05-02 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +steven.daprano ___ Python tracker <http://bugs.python.org/issue26913> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks, I pushed pep-0420.patch. -- keywords: +easy nosy: +berker.peksag stage: -> needs patch ___ Python tracker <http://bugs.python.org/issu

[issue26914] Fix formatting of lists in PEP 420

2016-05-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker <http://bugs.python.org/issue26914> ___ ___ Python-bugs-list mailing list Un

[issue26924] android: test_concurrent_futures fails

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: It normally should raise an ImportError if sem_unlink is not available. Could you try the attached patch please? -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file42710/sem_unlink.diff

[issue23275] Can assign [] = (), but not () = []

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch. I moved the test into test_unpack and added additional tests. sequence -> iterable changes should probably be applied to 3.5 as well. Thanks for the review, Martin. -- type: behavior -> enhancement Added file

[issue26946] os.path.realpath.__name__ is 'abspath'

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: It's because realpath is defined as # realpath is a no-op on systems without islink support realpath = abspath under Windows. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/is

[issue26950] Typo in unittest.mock > Autospeccing documentation

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but the typos are intentional. Quoting from the documentation: [...] if you misspell one of these assert methods then your assertion is gone: >>> mock = Mock(name='Thing', return_value=None)

[issue26953] Failed building wheel for greenlet

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: Please use greenlet's issue tracker: https://github.com/python-greenlet/greenlet/issues You'll probably need to install Python headers by using your distribution's package manager. -- nosy: +berker.peksag resolution: -> third party s

[issue26952] argparse help formatter crashes

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: I don't think add_mutually_exclusive_group and add_argument_group are designed to work together. Did this worked with argparse 1.3.0 or stdlib version of argparse before? I'm getting the same traceback in 2.7 and 3.4+. -- nosy: +ber

[issue26957] Docs: remove duplicate "the" in description of `%z` in datetime docs

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python

[issue26893] ValueError exception raised when using IntEnum with an attribute called "name" and @unique decorator

2016-05-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Berker Peksag
Berker Peksag added the comment: Good catch, I forgot to update 2.7 (3.2, 3.3 and 3.4 are in security-fix-only mode so they don't get documentation updates anymore). -- nosy: +berker.peksag versions: -Python 3.2, Python 3.3, Python 3.4 ___ P

[issue26962] curses documenation- keys for Page Up and Page Down are reversed

2016-05-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2016-05-05 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch with a test (adapted from msg198274.) -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file42737/issue19072.diff ___ Pyt

[issue26966] Spam

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg264914 ___ Python tracker <http://bugs.python.org/issue26966> ___ ___ Python-bugs-list m

[issue26966] Spam

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : -- components: -Argument Clinic versions: -Python 3.5 ___ Python tracker <http://bugs.python.org/issue26966> ___ ___ Python-bug

[issue26966] Spam

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file42739/Gmail Customer Service Number +1-888-226-1422 USA Gmail Password Recovery Toll Free Number.pdf ___ Python tracker <http://bugs.python.org/issue26

[issue26966] Spam

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -Karan Rawat, larry resolution: -> rejected status: open -> closed title: turbotax phone number 1**888**226**1422 support, turbotax tech support phone number 1**888**226**1422 -> Spam ___ Python track

[issue26967] argparse: allow_abbrev=False stops -vv from working

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +3.5regression nosy: +berker.peksag stage: -> needs patch versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue25177] OverflowError in statistics.mean when summing large floats

2016-05-05 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue25745] Reference leaks in test_curses

2016-05-06 Thread Berker Peksag
Berker Peksag added the comment: In case someone wants to work on this, the suspicious tests are test_userptr_memory_leak and test_userptr_segfault. See also issue 18113. -- nosy: +berker.peksag stage: -> needs patch versions: +Python

[issue21890] wsgiref.simple_server sends headers on empty bytes

2016-05-06 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review versions: +Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue17888] docs: more information on documentation team

2016-05-06 Thread Berker Peksag
Berker Peksag added the comment: issue17888.patch looks good to me. I'd probably remove the "necessary skills" part. -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.5, Python 3.6 ___ Pyt

[issue20971] HTML output of difflib

2016-05-06 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Modernize HTML output of difflib.HtmlDiff.make_file() ___ Python tracker <http://bugs.python

[issue25974] Fix statistics.py after the Decimal.as_integer_ratio() change

2016-05-06 Thread Berker Peksag
Berker Peksag added the comment: statistics_as_integer_ratio.diff has been committed in 7b2fafd78c1d. -- nosy: +berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bug

[issue26002] make statistics.median_grouped more efficient

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

[issue20554] Use specific asserts in optparse test

2016-05-06 Thread Berker Peksag
Berker Peksag added the comment: The patch looks simple, but I don't see much gain to apply it since optparse is a deprecated module. I'm in favor of closing this as 'wont fix'. -- priority: normal -> low ___ Python tracker

[issue12135] The spawn function should return stderr.

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

[issue18841] math.isfinite fails with Decimal sNAN

2016-05-06 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue18841> ___ ___

[issue26924] android: test_concurrent_futures fails

2016-05-07 Thread Berker Peksag
Berker Peksag added the comment: Thanks for testing. Here is a new patch. -- stage: -> patch review Added file: http://bugs.python.org/file42769/sem_unlink_v2.diff ___ Python tracker <http://bugs.python.org/issu

[issue26924] android: test_concurrent_futures fails

2016-05-07 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Xavier. -- components: +Extension Modules -Cross-Build, Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26924] android: test_concurrent_futures fails

2016-05-07 Thread Berker Peksag
Berker Peksag added the comment: Xavier, could you try this alternative patch? -- Added file: http://bugs.python.org/file42773/sem_unlink_alt.diff ___ Python tracker <http://bugs.python.org/issue26

[issue26924] android: test_concurrent_futures fails

2016-05-07 Thread Berker Peksag
Berker Peksag added the comment: Thanks! Perhaps we should not set HAVE_SEM_* to 1 if we are on Android in the configure step. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26977] Unnecessary line in statistics.pvariance

2016-05-08 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed ___ Python tracker <http://bugs.python.org/issue26977> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue26925] android: test_multiprocessing_main_handling fails

2016-05-10 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved superseder: -> android: test_concurrent_futures fails ___ Python tracker <http://bugs.python.org/i

[issue26996] Add secrets module as per PEP 506.

2016-05-11 Thread Berker Peksag
Berker Peksag added the comment: If you have time, documenting this at https://docs.python.org/3.6/whatsnew/3.6.html#new-features would be great :) -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue26

[issue26848] asyncio.subprocess's communicate() method mishandles empty input bytes

2016-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue26848> ___

[issue3213] "pydoc -p" should listen to [::] if IPv6 is supported

2016-05-16 Thread Berker Peksag
Berker Peksag added the comment: Agreed with Martin. -- nosy: +berker.peksag -Daniel Griffin priority: normal -> low resolution: -> rejected stage: needs patch -> resolved status: pending -> closed ___ Python tracker <http://

[issue26141] typing module documentation incomplete

2016-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: -> enhancement versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/i

[issue25650] Mismatching documentation <=> behaviour for typing.Any

2016-05-16 Thread Berker Peksag
Berker Peksag added the comment: This is basically a duplicate of issue 25830. We can update the docstring of Any once https://github.com/python/typing/issues/136 is solved. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed s

[issue27046] Emoji support in Pie Chart legend with matplotlib

2016-05-17 Thread Berker Peksag
Berker Peksag added the comment: matplotlib is not part of the Python standard library. You can find my more information at http://matplotlib.org/ -- nosy: +berker.peksag resolution: -> third party stage: -> resolved status: open -&g

[issue23275] Can assign [] = (), but not () = []

2016-05-17 Thread Berker Peksag
Berker Peksag added the comment: Thanks Martin. Your edits look much better! :) I will be travelling for PyCon US later this week so I just committed issue23275_v4.diff with minor edits. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue23420] python -m cProfile -s fails with non informative message

2016-05-17 Thread Berker Peksag
Berker Peksag added the comment: Patch looks good to me, but we need a test case. -- type: enhancement -> behavior versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue26750] Mock autospec does not work with subclasses of property()

2016-05-18 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag ___ Python tracker <http://bugs.python.org/issue26750> ___ ___ Python-bugs-list mailing list Un

[issue23958] compile warnings in libffi

2016-05-18 Thread Berker Peksag
Berker Peksag added the comment: A slightly different version of the patch is now part of upstream libffi: https://github.com/libffi/libffi/commit/4a677a425c18eda4bc5357b2485da57f133f908d Thanks for the report Steve. -- nosy: +berker.peksag resolution: -> third party st

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the test script. I left some minor comments about loopback_fast_path_v2.patch on Rietveld. -- ___ Python tracker <http://bugs.python.org/issue26

[issue15913] PyBuffer_SizeFromFormat is missing

2016-05-19 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> needs patch versions: +Python 3.6 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue15913> ___ ___ Python-

[issue16468] argparse only supports iterable choices

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

[issue27065] robotparser user agent considered hostile by mod_security rules.

2016-05-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This is a duplicate of issue 15851. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Lib/robotparser.py doesn't accept setting a user agent string, in

[issue26632] __all__ decorator

2016-05-20 Thread Berker Peksag
Berker Peksag added the comment: +1 for the idea. I saw a lot of different 'all' or 'public' decorators in the wild. It would be nice to have a complete solution in Python. It would be good to add a note to Doc/whatsnew/3.6.rst. -- components: +Interpreter Core

[issue24398] Update test_capi to use test.support.script_helper

2016-05-20 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Tests keywords: +easy stage: -> needs patch type: -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2016-05-20 Thread Berker Peksag
Changes by Berker Peksag : -- dependencies: +Update test_base64 to use test.support.script_helper, Update test_capi to use test.support.script_helper ___ Python tracker <http://bugs.python.org/issue9

[issue27063] Some unittest loader tests are silently skipped by mistake

2016-05-20 Thread Berker Peksag
Berker Peksag added the comment: LGTM. Just curious, did you find it by reading code or by using some tool? -- nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issu

[issue27067] Improve curses tests

2016-05-20 Thread Berker Peksag
Berker Peksag added the comment: LGTM. I left some comments on Rietveld. -- nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issu

[issue27075] Link to StreamReader/Writer from codecs.getreader/writer

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Ville. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.or

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Berker Peksag
New submission from Berker Peksag: The relevant changeset is 1570e3855ce8. Here is a traceback from a random buildbot: == ERROR: test_port_parameter_types (test.test_asyncio.test_base_events.BaseEventTests

[issue22558] Missing doc links to source code

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Yoni. Like Guido said in msg257586, we only want to add links for pure Python modules. Can you update your patch to remove C modules please? I'd prefer keep curses docs untouched. Lib/curses/* is basically a wrapper to _cursesmod

[issue5187] distutils upload should prompt for the user/password too

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Issue 18454 is a duplicate of this, but I'm going to close this one (there are patches for 2.7 and 3.5 in issue 18454). -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder:

[issue13615] setup.py register fails with -r argument

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: The repository URL has been changed to https://pypi.python.org/pypi in 2b5cd6d4d149. I'm -1 on making https://pypi.python.org/ a special case. -- nosy: +berker.peksag resolution: -> out of date stage: needs patch -> resolved status: ope

[issue27077] test_port_parameter_types fails with BytesWarning

2016-05-21 Thread Berker Peksag
Berker Peksag added the comment: Yes, buildbots look happy now. Thanks! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

<    27   28   29   30   31   32   33   34   35   36   >