[issue1182143] making builtin exceptions more informative

2015-05-03 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: test needed -> patch review ___ Python tracker <http://bugs.python.org/issue1182143> ___ ___ Python-

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

2015-05-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue9517> ___ ___ Python-bugs-list mai

[issue24113] shlex constructor unreachable code

2015-05-03 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. > Users should either be permitted to set debug on via an optional __init__ > parameter, This is already possible via the debug attribute (https://docs.python.org/3/library/shlex.html#shlex.shlex.debug), so I don't think add

[issue24113] shlex constructor unreachable code

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

[issue2292] Missing *-unpacking generalizations

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

[issue23796] BufferedReader.peek() crashes if closed

2015-05-07 Thread Berker Peksag
Berker Peksag added the comment: 23796_fix_with_tests.patch LGTM. I'll apply it this weekend. Thanks for the patch, John. -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org

[issue23888] Fixing fractional expiry time bug in cookiejar

2015-05-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue23888> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-05-07 Thread Berker Peksag
Berker Peksag added the comment: A minor comment about the __future__ changes: 3.5.0a1 should probably be 3.5.0b1. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue22

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-05-08 Thread Berker Peksag
Berker Peksag added the comment: In Lib/__future__.py: +generator_stop = _Feature((3, 5, 0, "alpha", 1), "alpha" needs to be changed to "beta". -- stage: test needed -> commit review ___ Python tracker &

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2015-05-09 Thread Berker Peksag
Berker Peksag added the comment: datetime.strptime is a classmethod, but the new date.strptime and time.strptime methods are staticmethods. I think we should make the new methods classmethods too. -- stage: needs patch -> patch review ___ Pyt

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-05-09 Thread Berker Peksag
Berker Peksag added the comment: Buildbots are not happy: [ 63/393] test_contextlib Fatal Python error: Objects/frameobject.c:429 object at 0x200041abc28 has negative ref count -2604246222170760230 Current thread 0x022c2500 (most recent call first): File "/mnt/9707/edelsohn/cp

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-05-09 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue22906> ___ ___ Python-bugs-list mai

[issue24167] 2.4.X links on www.python.org/downloads/windows point to the wrong files

2015-05-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue22555] Tracking issue for adjustments to binary/text boundary handling

2015-05-11 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue22555> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-05-12 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: lemburg -> berker.peksag stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/

[issue23796] BufferedReader.peek() crashes if closed

2015-05-12 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the patch, John. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue23983] Update example in the pty documentation

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

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2015-05-12 Thread Berker Peksag
Berker Peksag added the comment: Éric, could you please take a look at issue19610_v4.diff? I'd like to commit the patch this weekend. Thanks! -- ___ Python tracker <http://bugs.python.org/is

[issue22486] Add math.gcd()

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

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2015-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue17849> ___ ___ Python-

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

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

[issue22064] Misleading message from 2to3 when skipping optional fixers

2015-05-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Vinod. -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python track

[issue24065] Outdated *_RESTRICTED flags in structmember.h

2015-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue24065> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue24064] Make the property doctstring writeable

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

[issue24193] Make LOGGING_FORMAT of assertLogs configurable

2015-05-14 Thread Berker Peksag
New submission from Berker Peksag: It would be useful if we could change the logging format of assertLogs when we use it: with self.assertLogs('foo', level='INFO', format='%(message)s') as cm: logging.getLogger('foo').info('first messa

[issue17045] Improve C-API doc for PyTypeObject

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue17045> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12816] smtpd uses library outside of the standard libraries

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue12816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue24210> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: This is caused by issue 1322. I'll fix it. -- assignee: -> berker.peksag ___ Python tracker <http://bugs.python.org

[issue15836] unittest assertRaises should verify excClass is actually a BaseException class

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Since the patch has been reviewed by several core developers, I think you can go ahead and commit it. I'm +0 on the 2.7 version of the patch (the isinstance(e, types.ClassType) part looks fine, but I haven't tested it). It's probably not

[issue24210] Tests failed with -Werror

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

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Interesting, I ran the test suite twice before commit the patch. I will take a look, thanks! -- ___ Python tracker <http://bugs.python.org/issue24

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch. An unrelated failure: $ ./python -Werror -m test test_slice [1/1] test_slice test test_slice failed -- Traceback (most recent call last): File "/home/berker/projects/cpython/default/Lib/test/test_slice.py", line 82, in

[issue24210] Tests failed with -Werror

2015-05-16 Thread Berker Peksag
Berker Peksag added the comment: > But what to do with this code after 3.7? And why not to do this right now? It's on my TODO list, but I'll probably won't have time to work on in it before beta 1. Thanks for the review! -- resolution: -> fixed stage: -&g

[issue24220] ast.Call signature changed

2015-05-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Matthias. > I can talk to Thomas Kluyver tomorrow about merging green tree snake into the > devguide, devguide isn't the correct place for such documentation. > or maybe into ast docs. Would that be useful/more acceptabl

[issue16544] Add external link to ast docs

2015-05-18 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue16544> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-18 Thread Berker Peksag
Berker Peksag added the comment: Just a suggestion: urlencode already has 5 parameters. We can make quote_via a keyword-only parameter. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue13

[issue24233] Link to getfqdn rather than "see above"

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

[issue24232] Speling fixes

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

[issue24180] PEP 492: Documentation

2015-05-21 Thread Berker Peksag
Berker Peksag added the comment: Hi Yury, Here is a post commit review. I've mostly removed some additional PEP 492 mentions and made a couple of trivial changes. -- nosy: +berker.peksag Added file: http://bugs.python.org/file39462/issue24180

[issue24237] PEP 479: missing DeprecationWarning when generator_stop is not used

2015-05-22 Thread Berker Peksag
Berker Peksag added the comment: Another alternative is using assertWarnsRegex. -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue24

[issue24056] Expose closure & generator status in function repr()

2015-05-22 Thread Berker Peksag
Berker Peksag added the comment: I'm not the ideal candidate to review the second patch since I'm not familiar with the best practices of C :) -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.o

[issue20438] inspect: Deprecate getfullargspec?

2015-05-22 Thread Berker Peksag
Berker Peksag added the comment: Just a minor comment on the patch: +warnings.warn("inspect.getargspec() is deprecated, " + "use inspect.signature() instead", DeprecationWarning) Can you also add "stacklevel=2"? -

[issue24209] Allow IPv6 bind in http.server

2015-05-23 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: -Python 3.5 ___ Python tracker <http://bugs.python.org/issue24209> ___ ___ Python-bugs-list mailin

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2016-08-31 Thread Berker Peksag
Berker Peksag added the comment: I think we need to decide whether this is a documentation bug or a regression in traceback module. See also issue 25573 for a similar report. -- nosy: +berker.peksag, r.david.murray, rbcollins stage: commit review -> patch rev

[issue19489] move quick search box above TOC

2016-09-03 Thread Berker Peksag
Berker Peksag added the comment: > Do you mean in addition to the "Quick search" text that is already on the > page or do you want to remove that? The latter. All of the popular browsers (Chrome, Firefox, Edge and even Safari) already support the placeholder attribute so I thi

[issue19489] move quick search box above TOC

2016-09-03 Thread Berker Peksag
Berker Peksag added the comment: > I also found a regression in search.html. Please ignore this. It doesn't have anything to do with your patch. -- ___ Python tracker <http://bugs.python.org

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks! The patch lacks a test case (you can add it into Lib/test/test_csv.py) and a versionchanged notice in documentation (see http://cpython-devguide.readthedocs.io/en/latest/documenting.html#paragraph-level-markup for details.) -- stage: needs

[issue27866] ssl: get list of enabled ciphers

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

[issue27976] Deprecate building with bundled copy of libffi on non-Darwin POSIX platforms

2016-09-06 Thread Berker Peksag
Berker Peksag added the comment: +1, thanks for working on this! Two questions: 1. Should we check the system version of libffi and warn users (and probably use the bundled version for now) if it was older than 3.1? 2. I know this isn't directly a user-facing feature, but should we

[issue21250] sqlite3 doesn't have unit tests for 'insert or [algorithm]' functionality.

2016-09-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Alex! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue27984] singledispatch register should typecheck its argument

2016-09-06 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue27984> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27996] Python 3 ssl module can't use a fileno to create a SSLSocket

2016-09-07 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This looks like a duplicate of issue 27629. Please provide a reproducer if it's different problem than issue 27629. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> clo

[issue27996] Python 3 ssl module can't use a fileno to create a SSLSocket

2016-09-07 Thread Berker Peksag
Berker Peksag added the comment: Did you look at the patch? It adds the following test case: +s = socket.socket() +sfd = s.fileno() +# Create secure socket from fileno +ss = ssl.SSLSocket(fileno=sfd) +self.assertTrue(ss.fileno() == sfd) Isn't that

[issue27996] Python 3 ssl module can't use a fileno to create a SSLSocket

2016-09-07 Thread Berker Peksag
Berker Peksag added the comment: Great, closing this then. > And the next release will include this patch? Christian (one of our SSL module maintainers) just reviewed the patch so the next step is to address his review comments and upload a new patch. If you don't see any movem

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-09-07 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch. I'd like to get this in before 3.6 beta 1. -- Added file: http://bugs.python.org/file44437/issue10740_upstream_v2.diff ___ Python tracker <http://bugs.python.org/is

[issue27445] Charset instance not passed to set_payload()

2016-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review type: -> behavior versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/i

[issue1602] windows console doesn't print or input Unicode

2016-09-07 Thread Berker Peksag
Berker Peksag added the comment: I left some minor comments for Doc/whatsnew/3.6.rst on Rietveld. In Lib/test/test_winconsoleio.py: * self.assert_() (deprecated) can be replaced by self.assertTrue() * We can add if __name__ == '__main__': unittest.main() -

[issue28012] Spam

2016-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -gukaar77 resolution: -> not a bug stage: -> resolved status: open -> closed title: meditation -> Spam ___ Python tracker <http://bugs.python

[issue28012] Spam

2016-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg274956 ___ Python tracker <http://bugs.python.org/issue28012> ___ ___ Python-bugs-list m

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

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

[issue27877] Add recipe for "valueless" Enums to docs

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

[issue27881] Fix possible bugs when setting sqlite3.Connection.isolation_level

2016-09-08 Thread Berker Peksag
Berker Peksag added the comment: Closing this as 'fixed'. Any further improvement can be discussed in separate issues. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Py

[issue27445] Charset instance not passed to set_payload()

2016-09-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Claude. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue20683] Add example to tutorial namespace doc, section 9.2

2016-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker <http://bugs.python.or

[issue20100] epoll docs are not clear with regards to CLOEXEC.

2016-09-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, priyapappachan. Here is an updated patch. Since EPOLL_CLOEXEC is the only value that can be passed to epoll_create1(), we can also simplify the implementation a bit. -- nosy: +berker.peksag stage: needs patch -> patch rev

[issue28033] dictobject.c comment misspelling

2016-09-08 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.6 -Python 3.7 ___ Python tracker <http://bugs.python

[issue28036] Remove unused pysqlite_flush_statement_cache function

2016-09-08 Thread Berker Peksag
New submission from Berker Peksag: This looks like unused since years. Here's a patch that removes it. -- components: Extension Modules files: flush-statement-cache.diff keywords: patch messages: 275263 nosy: berker.peksag, ghaering priority: normal severity: normal stage: patch r

[issue28037] Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually

2016-09-08 Thread Berker Peksag
New submission from Berker Peksag: This is basically a backport of https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad except that Connection.in_transaction is exposed since Python 3.2. -- components: Extension Modules files: in_transaction.diff

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-09 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +haypo, methane ___ Python tracker <http://bugs.python.org/issue28040> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27680] Reduce Github pull request rate

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

[issue20885] Little Endian PowerPC64 Linux

2016-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue20885> ___ ___ Python-bugs-list

[issue20483] Missing network resource checks in test_urllib2 & test_smtplib

2016-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> works for me stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: I'm getting segfaults with a77756e480c2 (thanks to 'hg bisect') on Ubuntu 12.04. I've checked buildbots, but they seem happy. In test_sys: test_recursionlimit_recovery (test.test_sys.SysModuleTest) ... Fatal Python error: Segmentation

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: > [...] please try a "make distclean" and make sure that all .pyc files are > removed, and then recompile Python. I forgot to mention that in my earlier comment. I usually run "make distclean" before "./configure --with-pydebu

[issue27991] In the argparse howto there is a misleading sentence about store_true

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker <http://bugs.python.or

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Serhiy. test_recursionlimit_recovery in test_sys passed, but now I'm getting the following failure: FAIL: test_recursionlimit_fatalerror (test.test_sys.SysModuleTest) I modified test_recursionlimit_fatalerror to use subTest() and it looks like

[issue27129] Wordcode, part 2

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: >From >http://buildbot.python.org/all/builders/s390x%20Debian%203.x/builds/1811/steps/compile/logs/stdio > (I also saw the same compile error on another Linux boxes) _freeze_importlib: Python/peephole.c:524: PyCode_Optimize: Assertion `((codestr

[issue25497] Rewrite test_robotparser

2016-09-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5 ___ Python tracker <http://bugs.python.or

[issue25400] robotparser doesn't return crawl delay for default entry

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: I've now updated Lib/test/test_robotparser.py (issue 25497) Peter, do you have time to update your patch? Thanks! -- ___ Python tracker <http://bugs.python.org/is

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

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

[issue28036] Remove unused pysqlite_flush_statement_cache function

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

[issue20100] epoll docs are not clear with regards to CLOEXEC.

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch for Modules/selectmodule.c. It would be nice to get a code review. -- Added file: http://bugs.python.org/file44553/selectmodule.diff ___ Python tracker <http://bugs.python.org/issue20

[issue28081] [Patch] timemodule: Complete Autoconf bits for clock_*() functions: make clock_getres() and clock_settime() optional

2016-09-11 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue28081> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12643] code.InteractiveConsole ignores sys.excepthook

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: 3.2 is now dead and it's probably not worth to backport tests to 2.7 in 2016 :) Closing this as 'fixed'. -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.3

[issue11640] Shelve references globals in its __del__ method

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Since PEP 442 has been implemented in 3.4 and e826940911c8 made Shelve.close() more robust, I think this is no longer an issue. -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -&g

[issue17512] backport of the _sysconfigdata.py module (issue 13150) breaks the build on darwin

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

[issue16193] display full e-mail name in hg.python.org annotate pages

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Since we are going to move to GitHub, I think we can close this as 'wont fix'. -- nosy: +berker.peksag resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <

[issue28037] Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually

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

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Hi Tom, thanks for the patch! Issue 10673 is still open, is there a reason not to attach your patch there? -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/issue28

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the explanation. We usually handle situations like this in the same issue so I'm closing this as a duplicate of issue 10673. Could you please attach your patch to issue 10673? Thanks! -- resolution: -> duplicate stage: -> reso

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Tom's patch looks good to me. Davin, can you have a look at it? -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org

[issue28045] minor inaccuracy in range_contains_long

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.7 ___ Py

[issue27604] More details about `-O` flag

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: This is a duplicate of issue 17232. Note that "This changes the filename extension for compiled files from ``.pyc`` to ``.pyo``." part is no longer true. See PEP 488 for details. -- nosy: +berker.peksag resolution: -> duplicate stage:

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

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

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

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

[issue28103] Style fix in zipfile.rst

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

[issue23102] distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: The patch doesn't apply cleanly: applying http://bugs.python.org/file37554/distutils_accomodate_distribution_ducktypes.patch patching file Lib/distutils/cmd.py Hunk #1 FAILED at 51 1 out of 1 hunks FAILED -- saving rejects to file Lib/distutils/cmd.py.rej

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: I think a Misc/NEWS entry is enough. We didn't use versionadded/versionchanged directives for similar changes in the past (mimetypes.types_map for example) Even if we decide to add an annotation it should be versionchanged, not versionadded (the API is no

[issue27981] Reference leak in fp_setreadl() of Parser/tokenizer.c

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, David! -- components: +Interpreter Core nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.5, Python 3.7 __

<    30   31   32   33   34   35   36   37   38   >