Berker Peksag added the comment:
I agree with Georg and Ezio. We should update the devguide.
Tony, would you like to propose a patch? The repo is at
https://hg.python.org/devguide
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.
Berker Peksag added the comment:
socket-context.patch looks good to me. There is no need to add a NEWS entry for
this.
--
nosy: +berker.peksag
stage: patch review -> commit review
versions: -Python 3.4
___
Python tracker
<http://bugs.pyth
Berker Peksag added the comment:
Thanks for the report and for the patch. I would prefer to keep the code simple
so I just applied documentation changes with a minor tweak.
--
assignee: -> docs@python
components: +Documentation -Library (Lib)
nosy: +berker.peksag, docs@pyt
New submission from Berker Peksag:
I noticed this while working on issue 16915:
Traceback (most recent call last):
...
File "/home/berker/projects/cpython/default/Lib/socket.py", line 262, in
_sendfile_use_sendfile
raise _GiveupOnSendfile(err) # not a regular file
Unbound
Changes by Berker Peksag :
--
stage: -> needs patch
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue25532>
___
___
Python-bugs-list
Changes by Berker Peksag :
--
stage: patch review -> commit review
___
Python tracker
<http://bugs.python.org/issue23430>
___
___
Python-bugs-list mai
Berker Peksag added the comment:
It would be good to add a versionchanged note. Something like:
.. versionchanged:: 3.5
Previously, a :exc:`TypeError` was raised [...]
--
nosy: +berker.peksag
stage: -> patch review
___
Python trac
Berker Peksag added the comment:
Thanks!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
This looks like a duplicate of issue 5824. See msg259969 for Martin's analysis
in that issue.
There is also a similar patch for 2.7 in issue 1767511:
http://bugs.python.org/file9271/DatagramServer.diff
--
nosy: +berker.peksag, martin.panter -ned.
Berker Peksag added the comment:
This has been fixed in cf842a8ccb77. Thank you for reporting this, Kostis!
--
nosy: +berker.peksag
resolution: -> out of date
stage: needs patch -> resolved
status: open -> closed
versions: -Python 3.4
_
Berker Peksag added the comment:
Thanks for the patch, Jakub. I don't use mmap module much so I don't have an
opinion about the feature, but it sounds reasonable.
I left some review comments on Rietveld: http://bugs.python.org/review/26335/
--
components: +Extension M
Berker Peksag added the comment:
Thanks for the report. This is a duplicate of issue 26176. Would you like to
send a patch?
--
nosy: +berker.peksag
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> EmailMessage example
Berker Peksag added the comment:
I don't think we need an entry in whatsnew/3.6.rst for this (we already have
documented the change in a versionchanged directive and a Misc/NEWS item)
--
nosy: +berker.peksag
___
Python tracker
Berker Peksag added the comment:
csv.writer() documentation says:
"All other non-string data are stringified with str() before being written."
https://docs.python.org/2.7/library/csv.html#csv.writer
I guess adding a sentence to document the special case for floats wou
Changes by Berker Peksag :
--
nosy: +berker.peksag
stage: needs patch -> patch review
versions: +Python 3.6 -Python 3.5
___
Python tracker
<http://bugs.python.org/issu
Changes by Berker Peksag :
--
stage: needs patch -> resolved
___
Python tracker
<http://bugs.python.org/issue13573>
___
___
Python-bugs-list mailing list
Un
Changes by Berker Peksag :
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.org/issue17231>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Berker Peksag :
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.org/issue17232>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Berker Peksag :
--
components: -Devguide
___
Python tracker
<http://bugs.python.org/issue24823>
___
___
Python-bugs-list mailing list
Unsubscribe:
Berker Peksag added the comment:
> Which patch?
Looks like the patch can be found at https://github.com/atgreen/libffi/pull/34/
and it has been released in libffi 3.1:
https://github.com/atgreen/libffi/blob/17ffc3655a531c116e9eb9cc933e50bb1e5c47f8/ChangeLog.libffi-3.1#L481
(It's
Changes by Berker Peksag :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22176>
___
Changes by Berker Peksag :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue25660>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Berker Peksag :
--
resolution: -> out of date
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
This has been fixed as part of updating libffi in issue 22176:
https://github.com/python/cpython/blob/master/Modules/_ctypes/libffi/fficonfig.py.in#L20
Thanks for the report and for the patch, Andreas!
--
nosy: +berker.peksag
resolution: -> out
Berker Peksag added the comment:
Thanks for the patch, Jakub!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
Good catch, thanks!
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.org/issue26246>
___
___
Python-bugs-list mailin
Berker Peksag added the comment:
I was thinking adding a more flexible API like:
...
spamwriter = csv.writer(csvfile, quoting_callable=lambda field: field is
not None)
...
But that would require too much change in the csv module (or at least its
implementation wouldn't be tr
Changes by Berker Peksag :
--
resolution: -> fixed
stage: -> resolved
___
Python tracker
<http://bugs.python.org/issue25907>
___
___
Python-bugs-list
Changes by Berker Peksag :
--
nosy: +berker.peksag
versions: -Python 3.2, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue20397>
___
___
Berker Peksag added the comment:
Thanks, Julien!
For the record, here is the warning:
Doc/license.rst:350: WARNING: Literal block ends without a blank line;
unexpected unindent.
--
nosy: +berker.peksag
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: en
Berker Peksag added the comment:
Thanks!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 3.4
___
Python tracker
<http://bugs.python.or
Changes by Berker Peksag :
--
superseder: -> Deprecate 0 as a synonym for 0
___
Python tracker
<http://bugs.python.org/issue26490>
___
___
Python-bugs-lis
Berker Peksag added the comment:
Thanks, Mathieu! I went with a simpler approach to test the code.
--
keywords: -needs review
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: enhancement -&
Berker Peksag added the comment:
Thanks for the patch! Could you please sign the contributor's agreement at
https://www.python.org/psf/contrib/contrib-form/ ?
--
nosy: +berker.peksag
resolution: -> fixed
stage: -> resolved
status: ope
Berker Peksag added the comment:
I think it would be better to just remove the following part from the
documentation:
"Of course, you need to install them into the venv first: this could be done by
running ez_setup.py with the venv activated, followed by running easy_install
Changes by Berker Peksag :
--
dependencies: +Missing sanity checks for various C library function calls...
___
Python tracker
<http://bugs.python.org/issue15
Berker Peksag added the comment:
Thanks for the report. Actually, the whole document is outdated. I think we can
mark this as a duplicate of issue 24852.
--
nosy: +berker.peksag
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Python 3.5
Berker Peksag added the comment:
See issue 26497 for another report about this. I will remove
Doc/howto/webservers.rst.
--
versions: -Python 3.4
___
Python tracker
<http://bugs.python.org/issue24
Berker Peksag added the comment:
There is an up-to-date patch for Python 3 in issue 747320. Closing this as a
duplicate.
--
nosy: +berker.peksag
resolution: -> duplicate
stage: test needed -> resolved
status: open -> closed
superseder: -> rfc2822 formatdate functionality
Berker Peksag added the comment:
Thanks for the report, Jurko.
> +1 from me for just removing the bootstrapping instructions from this note.
Thanks, Nick.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
__
Changes by Berker Peksag :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
This is basically a duplicate of issue 25573. We need to add the examples in
traceback module documentation to test_traceback.py.
> Should __len__ be added as well?
IMO, the new FrameSummary API (and its friends) shouldn't change the return
valu
Berker Peksag added the comment:
This doesn't look like an issue with the Python standard library. I think you
should report this to pip. Also, why are you installing logging module on
Python 2.7? The PyPI version of logging module is very old (last updated 2005).
--
Changes by Berker Peksag :
--
stage: -> resolved
superseder: -> setup.py: do not add invalid header locations
___
Python tracker
<http://bugs.python.org/i
Berker Peksag added the comment:
I've changed the exception to raise NotImplementedError. I'm not sure about
using the ctypes solution in the stdlib. Perhaps we should wrap Windows
GetSecurity* APIs (similar to what we did for UNIX/POSIX APIs) first then we
can use it
Berker Peksag added the comment:
Good catch, Dmitry. Thanks for the patch!
--
nosy: +berker.peksag
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
Thanks Victor.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue20589>
___
__
Changes by Berker Peksag :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue26323>
___
Berker Peksag added the comment:
-now = time.time()
-year, month, day, hh, mm, ss, x, y, z = time.localtime(now)
-s = "%02d/%3s/%04d %02d:%02d:%02d" % (
-day, self.monthname[month], year, hh, mm, ss)
+s = time.strftime("%d
Changes by Berker Peksag :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 3.4
___
Python tracker
<http://bugs.python.or
Changes by Berker Peksag :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org
Changes by Berker Peksag :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue5505>
___
___
Berker Peksag added the comment:
Thanks for the report.
Can you give us a bit more information about the issue? Did you get a
traceback? Or just noticed it while reading the source code?
If you want to write a patch, please read the devguide.
--
nosy: +berker.peksag
priority: normal
Berker Peksag added the comment:
Thanks for the patch, Peter! I've simplified the test a bit and commit it.
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.pyth
Changes by Berker Peksag :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
Thanks for the patch, Colin!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.5, Python 3.6 -Python 3.4
___
Python track
Berker Peksag added the comment:
Thanks!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python tracker
<http://bug
Changes by Berker Peksag :
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.org/issue26579>
___
___
Python-bugs-list mailing list
Unsubscribe:
Berker Peksag added the comment:
I will commit this to the 3.2 branch today.
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issu
Berker Peksag added the comment:
Thanks for the patch, Andrew.
--
nosy: +berker.peksag
resolution: -> fixed
stage: -> resolved
status: open -> closed
versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python track
Changes by Berker Peksag :
--
keywords: +easy
stage: -> needs patch
versions: +Python 3.5, Python 3.6
___
Python tracker
<http://bugs.python.org/issu
Berker Peksag added the comment:
Thanks!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 2.7, Python 3.4
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
Since 756d040aa8e8, uuid.uuid4() no longer depends on ctypes. I'll remove the
'requires ctypes' condition from test_uuid4.
--
nosy: +berker.peksag
versions: +Python 3.5, Python 3.6 -Python 3.3
___
Berker Peksag added the comment:
Thanks for the patch, Matt!
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Berker Peksag :
--
keywords: +easy
stage: -> needs patch
type: -> enhancement
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/i
Changes by Berker Peksag :
--
dependencies: +Migrate sqlite3 module to _v2 API to enhance performance
stage: -> needs patch
type: -> enhancement
___
Python tracker
<http://bugs.python.org/i
Changes by Berker Peksag :
--
stage: -> resolved
superseder: -> sqlite3 SELECT does not BEGIN a transaction, but should
according to spec
___
Python tracker
<http://bugs.python.org/i
Berker Peksag added the comment:
3.3 and 3.4 are in security-fix-only mode:
https://docs.python.org/devguide/devcycle.html#summary So this can be fixed in
3.5 and default branches.
--
nosy: +berker.peksag
___
Python tracker
<http://bugs.python.
Berker Peksag added the comment:
Victor went with a different solution in f682b620c64d.
--
nosy: +haypo
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
URI filename support has been added in f13bb1e40fbc (Python 3.4+).
db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
Here is a patch that adds a new flags parameter to sqlite3.connect().
--
dependencies: -Migrate sqlite3
Changes by Berker Peksag :
--
nosy: +berker.peksag
type: performance -> enhancement
___
Python tracker
<http://bugs.python.org/issue9303>
___
___
Python-
New submission from Berker Peksag:
In issue 19065:
Gerhard says:
"I'm -1 because I believe that ultimately, adapters and converters were a
mistake to add to pysqlite. That's why I deprecated them in pysqlite 2.8.0."
Here is a patch (based on commit from pysqlite proje
Berker Peksag added the comment:
> Do you know what would be the correct step to propose a deprecation in the
> sqlite3 module of Python proper?
I've opened issue 26651 (patch included) to deprecate them.
--
nosy: +berker.peksag
resolution: -> rejected
stage: needs pat
Berker Peksag added the comment:
*_version_* attributes OP mentioned have already been documented in
b8b26feb3e1a.
--
nosy: +berker.peksag
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python track
Berker Peksag added the comment:
> Unless someone can reproduce the issue, I recommend that we close this ticket.
I couldn't reproduce it either.
--
nosy: +berker.peksag
status: open -> closed
___
Python tracker
<http://bugs.python
Berker Peksag added the comment:
I think the name "parameters" causes a confusion here. It basically means
def execute(sql, parameters):
not
def execute(sql, *parameters):
So ``con.execute('insert into foo values (?, ?)', (4, 5))`` is the correct
usage of the AP
Berker Peksag added the comment:
Thank you Cédric. I also added tests to verify the behavior of num_params=-1.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 3.4
___
Python track
Berker Peksag added the comment:
Thanks!
--
keywords: +3.5regression -patch
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Berker Peksag :
--
keywords: +patch
___
Python tracker
<http://bugs.python.org/issue25195>
___
___
Python-bugs-list mailing list
Unsubscribe:
Berker Peksag added the comment:
Thanks for the patch, Oren!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.5
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
shanzhengcheng: Please don't update closed issues.
gns3-1.4.5 is not part of the Python standard library. You'll get better
support by using the gns3 support channels.
If you still think that this is a bug in Python, please file a new issue by
usin
Changes by Berker Peksag :
--
nosy: -paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<http://bugs.python.org/issue15859>
___
___
Python-bug
Berker Peksag added the comment:
Here is a patch. It contains the following commits:
*
https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739
*
https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631
*
https://github.com/ghaering
Changes by Berker Peksag :
--
keywords: +patch
Added file: http://bugs.python.org/file42345/py_return_none_macro.diff
___
Python tracker
<http://bugs.python.org/issue26
New submission from Berker Peksag:
The attached patch replaces all "Py_INCREF(Py_None); return Py_None;" lines
with the Py_RETURN_NONE macro in sqlite3 module.
--
components: Extension Modules
messages: 262754
nosy: berker.peksag
priority: normal
severity: normal
stage: pa
Berker Peksag added the comment:
Good catch, thanks Ashley!
3.3 and 3.4 are in security-fix-only mode so we don't fix documentation issues
in those branches.
--
nosy: +berker.peksag
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: -> behavior
v
Berker Peksag added the comment:
Thanks, Robert and SilentGhost.
I verified the patch with the following script:
import curses
def main(stdscr):
while True:
c = stdscr.getch()
if c == curses.KEY_PPAGE:
stdscr.addstr('Page Up')
Berker Peksag added the comment:
I get the following output when I try Python 3.5.1 docs:
$ pdfinfo using.pdf
Title:
Subject:
Keywords:
Author:
Creator:LaTeX with hyperref package
Producer: pdfTeX-1.40.14
CreationDate: Sat Apr 2 00:17:54 2016
Berker Peksag added the comment:
I will commit issue13952.patch this weekend to 2.7, 3.5 and default.
--
nosy: +berker.peksag
stage: needs patch -> patch review
versions: -Python 3.2, Python 3.3, Python 3.4
___
Python tracker
&l
Berker Peksag added the comment:
This is a duplicate of issue 22028 (fixed in 2.7 in 7c4c4e43c452).
--
nosy: +berker.peksag
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Python 3.4.1 Installer ended prematurely
Berker Peksag added the comment:
I adapted the reproducer in msg220263 and added more tests.
--
nosy: +berker.peksag
stage: test needed -> patch review
versions: -Python 3.4
Added file: http://bugs.python.org/file42354/issue21718_tests.d
Berker Peksag added the comment:
readline-doc.v3.patch looks good to me.
--
stage: patch review -> commit review
___
Python tracker
<http://bugs.python.org/iss
Changes by Berker Peksag :
--
assignee: docs@python ->
components: -Documentation
versions: -Python 3.4
___
Python tracker
<http://bugs.python.org/issu
Changes by Berker Peksag :
--
nosy: +eric.smith
___
Python tracker
<http://bugs.python.org/issue26713>
___
___
Python-bugs-list mailing list
Unsubscribe:
Berker Peksag added the comment:
Closing this since the PEP has been withdrawn. See
https://www.python.org/dev/peps/pep-0431/#withdrawal for details.
--
resolution: -> postponed
stage: needs patch -> resolved
status: open -> closed
_
Berker Peksag added the comment:
Thanks Victor and Serhiy.
Сoccinelle looks like a useful tool, but I'm not planning to touch modules that
I don't know well enough.
--
resolution: -> fixed
stage: patch review -> resolved
status
Changes by Berker Peksag :
--
nosy: +berker.peksag
resolution: -> fixed
status: open -> closed
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/i
Berker Peksag added the comment:
Thanks!
--
nosy: +berker.peksag
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 2.7, Python 3.6
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
Thanks for the patch, Geoff.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Berker Peksag added the comment:
bad92d696866 has already been removed all Python 1.4 and 2.0 references. I
fixed a markup error and two broken references.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> behavior
versions: +Python
2901 - 3000 of 3715 matches
Mail list logo