In article mailman.4258.1372984732.3114.python-l...@python.org,
Joshua Landau joshua.landau...@gmail.com wrote:
[talking about Sublime Text]
There's, instead of a scrollbar, a little bird's-eye-view of the
whole code on the RHS.
I've never used it myself, but there's a couple of guys in the
On 4 July 2013 12:19, Antoon Pardon antoon.par...@rece.vub.ac.be wrote:
Op 04-07-13 01:40, Joshua Landau schreef:
Bear in mind that if the way you were acting was all in my with
trepidation category, I would likely have not spoken up. I believe
you crossed a lot further beyond that line.
I
On 07/04/2013 09:24 PM, Steven D'Aprano wrote:
On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
[...]
Anyway, none of the calculations that has been given takes into account
the fact that names can be /less/ than one million characters long.
Not in *my* code they don't!!!
*wink*
The
On 5 July 2013 03:03, Dave Angel da...@davea.name wrote:
On 07/04/2013 09:24 PM, Steven D'Aprano wrote:
On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
It's perhaps worth mentioning that some non-ascii characters are allowed
in identifiers in Python 3, though I don't know which ones.
PEP
On 5 July 2013 03:03, Dave Angel da...@davea.name wrote:
In particular,
http://docs.python.org/3.3/reference/lexical_analysis.html#identifiers
has a definition for id_continue that includes several interesting
categories. I expected the non-ASCII digits, but there's other stuff there,
[ Digressing to tuning remote access. Sorry. - Cameron ]
On 04Jul2013 21:50, Roy Smith r...@panix.com wrote:
| Does Sublime have some sort of remote mode? We've got one guy who loves
| it, but needs to work on a remote machine (i.e. in AWS). I got X11
| working for him (he has a Mac desktop),
Ronald Oussoren added the comment:
Updated version of the patch, with some semantic changes and tests for the
Python level API.
Known issues:
* Patches uses tabs for indentation
* No tests for the C level API
* I don't like implementation of slot_tp_getattro_super
--
Added file:
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file30546/issue-18181-poc.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18181
___
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file30555/issue-18181-poc-v3.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18181
___
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file30528/supers.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18181
___
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file30556/super-hook-proposal.rst
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18181
___
Ronald Oussoren added the comment:
Also updated the draft PEP text
--
Added file: http://bugs.python.org/file30767/super-hook-proposal.rst
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18181
Mathias Fröhlich added the comment:
Hi Ronald, Eric, Nick,
Looking up the symbol name of the current function should work also.
And I am free to rename these functions to whatever you like.
Attached is version 2 of the patch with the suggested changes.
The windows implementation is still
New submission from Michelle Arzul:
As far as we could tell this bug is only consistently reproducible on Ubuntu
13.04.
A line in pydoc.py causes a segfault when help(numpy) (no other libraries that
I know of) exits. The offending method is pipepager().
For a full trackdown and workaround of
Christian Heimes added the comment:
Please provide more information about your setup. Not everybody has access to a
Ubuntu 13.04 box
* exact Python version
* NumPy version
* platform (X86, X86_64, ARM)
* Kernel, libc and compiler version are useful, too
* terminal application
* environment
Michelle Arzul added the comment:
I'm no expert, I just found the bug... but I'll try my best.
* exact Python version: 2.7.4 (GCC 4.7.3)
* NumPy version: 1.7.1
* platform (X86, X86_64, ARM): i686
* Kernel: Linux 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:30 UTC 2013
i686 i686 i686
Paul added the comment:
Right, #7643 indeed seems to be exactly about the issue I described here (for
as much as I know unicode which isn't all that much). So maybe they should be
merged. The issue was closed March 2010, is that after 2.7.3 was released?
By the way, where I wrote \x12, \x13,
Sergey added the comment:
This patch implements another solution to the same bug. But instead of changing
default code it adds a special case optimization for lists, tuples and strings,
similar to those two special cases for numbers, that are already there.
=== Lists ===
No patch:
$
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18329
___
___
Martin v. Löwis added the comment:
I'll declare that the documentation is in error. I was pondering adding this
macro, and the API changed forth and back several times (also after other
people started contributing to the new Unicode API). The API is now what is
implemented, and the
Christian Heimes added the comment:
I first suspected that file based IO involves too many syscalls and context
switches. However ``strace -c`` showed only minor differences in the amount of
syscalls. The difference between read() and recvfrom() should not make any
difference.
perf revealed
Christian Heimes added the comment:
Summary:
makefile: 611990 primitive calls
fdopen: 1629 primitive calls
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18329
___
Changes by Charles-François Natali cf.nat...@gmail.com:
--
assignee: - neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11185
___
___
New submission from Fraser Tweedale:
The Python documentation states that set-like dictionary view objects support
set difference (-), however, this behaviour is untested.
Add some tests for this behaviour.
(This issue was discovered because PyPy doesn't support (-) for dictviews, yet
they
New submission from Russkel:
Apple has relocated and renamed their style guide. This patch reflects those
changes and provides links to both PDF and online version.
--
components: Devguide
files: style-guide-fixes.patch
keywords: patch
messages: 192286
nosy: Russkel, ezio.melotti
Ronald Oussoren added the comment:
This is a duplicate of #18021
--
nosy: +ronaldoussoren
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Update broken link to Apple Publication Style Guide
type: - behavior
Russ Webber added the comment:
So it is. Sorry, should have searched first.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18358
___
___
Fraser Tweedale added the comment:
and here's a patch for python3 (the earlier patch is for the 2.7 branch).
--
Added file: http://bugs.python.org/file30773/dictview-set-sub-test-python3.patch
___
Python tracker rep...@bugs.python.org
New submission from yoch:
Hi,
If some class objects have extra arguments in the __new__ constructor , pickle
fail to serialize it.
Here the output of provided test-case :
Traceback (most recent call last):
File /home/yoch/bug.py, line 19, in module
y = pickle.load(fp)
TypeError:
Amaury Forgeot d'Arc added the comment:
This is expected, your class must say how this __new__ constructor can be
called.
http://docs.python.org/2/library/pickle.html#object.__getnewargs__
--
nosy: +amaury.forgeotdarc
resolution: - works for me
status: open - closed
R. David Murray added the comment:
pydoc doesn't do anything special other than import the module. Well, there's
some special code in linecache for getting docstrings from C modules, I think,
so that could be something to check.
Does Ubuntu have local patches to numpy?
--
nosy:
Michelle Arzul added the comment:
Apparently it only occurs with the Ubuntu packaged versions of Python and
numpy. Somebody who was able to reproduce my problem had it with
python-2.7.4-0ubuntu1-amd64 and python-numpy-1:1.7.1-1ubuntu1-amd64 which
exhibited the same behaviour. Apparently
New submission from Dale Smith:
When I click install - run, it tells me a DLL is missing and to contact my
vendor (Windows 7 Home Premium).
This is the only installation that does this. I cannot find an answer anywhere
and all other installations work fine. What could be causing this? Which
paul j3 added the comment:
Changing _check_value from:
def _check_value(self, action, value):
# converted value must be one of the choices (if specified)
if action.choices is not None and value not in action.choices:
...
to
def _check_value(self, action,
Richard Oudkerk added the comment:
I think I know what's going on here. For socket IO readline() uses a
readahead buffer size of 1.
Why is that? I think that makefile(mode='rb') and fdopen() both create
BufferedReader objects with the same buffer size.
It looks to me like there are the
Richard Oudkerk added the comment:
Using
while True:
if not fileobj.read(8192):
break
instead of
for line in fileobj:
pass
results in higher throughput, but a similar slowdown with makefile(). So this
is not a problem specific to
Christian Heimes added the comment:
Err, you are right. It's buffered. I misread one function call and thought it's
not buffered at all.
COUNT = 100
LINELEN = 1000
int(LINELEN * COUNT / 8192)
122070
The number looks familiar, doesn't it? :)
I still stand by my analysis that the slow
Madison May added the comment:
If the general consensus is that the APSG link should be removed, here's one
more patch for you.
--
Added file: http://bugs.python.org/file30775/apsg_removed.patch
___
Python tracker rep...@bugs.python.org
Madison May added the comment:
Here's a 5 character patch for the sake of completeness.
--
keywords: +patch
nosy: +madison.may
Added file: http://bugs.python.org/file30776/Issue18351.patch
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
The only real reason for implementing SocketIO in pure Python is because read()
and write() do not work on Windows with sockets. (I think there are also a few
complications involving SSL sockets and the close() method.)
On Windows I have implemented a file
Christian Heimes added the comment:
There is little bit more to it. A comment in the class' body describes the
reason for SockteIO:
# One might wonder why not let FileIO do the job instead. There are two
# main reasons why FileIO is not adapted:
# - it wouldn't work under Windows
Richard Oudkerk added the comment:
Ah. I had not thought of socket timeouts.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18329
___
___
Brett Cannon added the comment:
Any chance you want to write some tests for the function? =)
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18351
___
Roundup Robot added the comment:
New changeset b3ea1b5a1617 by Antoine Pitrou in branch '3.3':
Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.
http://hg.python.org/cpython/rev/b3ea1b5a1617
New changeset 8055521e372f by Antoine Pitrou in branch 'default':
Issue #11185: Fix
Roundup Robot added the comment:
New changeset e3fd5fc5dc47 by Antoine Pitrou in branch '2.7':
Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.
http://hg.python.org/cpython/rev/e3fd5fc5dc47
--
___
Python tracker
Brett Cannon added the comment:
As ModuleNotFoundError is going to be reverted so should the changesets for
this issue.
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
Antoine Pitrou added the comment:
Thank you. This should be fixed now. Please reopen if not.
--
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.2
___
Python
Changes by Brett Cannon br...@python.org:
--
dependencies: +add ModuleNotFoundError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18302
___
___
Changes by Brett Cannon br...@python.org:
--
dependencies: -add ModuleNotFoundError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
Changes by Brett Cannon br...@python.org:
--
dependencies: +Update stdlib to use ModuleNotFoundError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15767
___
STINNER Victor added the comment:
On Python 2, socket.makefile(rb) duplicates the file descriptor and creates a
new file object: fileobj.read() calls the C function read().
On Python 3, socket.makefile(rb) creates a SocketIO wrapped in
BufferedReader: fileobj.read() calls the C function
Changes by Brett Cannon br...@python.org:
--
assignee: brett.cannon
keywords: easy
nosy: brett.cannon
priority: low
severity: normal
stage: needs patch
status: open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18361
New submission from Brett Cannon:
No reason why it can't be generalized to accept a directory argument so that it
can be used by anyone to build a checkout of CPython whether it is in a box or
not.
Would also help maintain the code as me (and one else who cared to) could then
just always use
New submission from Brett Cannon:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
--
assignee: brett.cannon
keywords: easy
messages: 192311
nosy: brett.cannon
priority: low
severity: normal
status: open
title: Change use of acronym tag in devinabox index.html to abbr
Brett Cannon added the comment:
First, thanks to Yogesh for writing a patch!
Second, I still think the second line should be The necessary bits to build
these optional modules were not found:. I purposefully like the vagueness of
it so we don't start going on about external vs. system,
STINNER Victor added the comment:
My results of the benchmark on Linux 3.9, first with a loop calling
fileobj.read(8192) (read), then with the for line in fileobj: pass
(readline).
$ python2.7 bench_socket_read.py
TCP mode, makefile method. 1775085.8 lines per second (1692.9 MB/s). Delay is
Phil Webster added the comment:
Added to Terry's Text Widget code (in #18226) and created mock_idle.py for the
mock EditorWindow. Todd's FormatParagraph test in the aforementioned issue also
passes with the mock EditorWindow.
--
Added file:
R. David Murray added the comment:
Exactly which installer are you trying to run and where did you download it
from?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18360
Richard Oudkerk added the comment:
I find that by adding the lines
fileobj.raw.readinto = ss.recv_into
fileobj.raw.read = ss.recv
the speed with makefile() is about 30% slower than with fdopen().
--
___
Python tracker
Dale Smith added the comment:
http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi
That is the URL I downloaded from and the installer.
Thank you,
Dale
On 7/4/2013 4:17 PM, R. David Murray wrote:
R. David Murray added the comment:
Exactly which installer are you trying to run and where
Roundup Robot added the comment:
New changeset 7769c4d72806 by Brett Cannon in branch 'default':
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
http://hg.python.org/cpython/rev/7769c4d72806
--
___
Python tracker
Roundup Robot added the comment:
New changeset 0e4e062751fa by Brett Cannon in branch 'default':
Issue #15767: Back out 8d28d44f3a9a related to ModuleNotFoundError.
http://hg.python.org/cpython/rev/0e4e062751fa
New changeset e3ec8b176a80 by Brett Cannon in branch 'default':
Issue #15767: Revert
Changes by Brett Cannon br...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18302
___
Changes by Brett Cannon br...@python.org:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
Changes by Brett Cannon br...@python.org:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15767
___
STINNER Victor added the comment:
Brett: Why did you close this issue? It still occurs on the buildbot:
http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x/builds/3794/steps/test/logs/stdio
--
resolution: out of date -
status: closed - open
Brett Cannon added the comment:
Because I removed ModuleNotFoundError; check the buildbot again and you will
notice it is 8 changesets behind, most of which are related to the removal of
ModuleNotFoundError.
--
resolution: - out of date
status: open - closed
New submission from Brett Cannon:
Having a private attribute has already caused one bug report. I want to try and
come up with something that doesn't leak outside of importlib.
--
assignee: brett.cannon
components: Library (Lib)
messages: 192322
nosy: brett.cannon
priority: normal
Roundup Robot added the comment:
New changeset df79735b21c1 by Christian Heimes in branch '3.3':
Issue #18347: ElementTree's html serializer now preserves the case of closing
tags.
http://hg.python.org/cpython/rev/df79735b21c1
New changeset d5536c06a082 by Christian Heimes in branch 'default':
Changes by Christian Heimes li...@cheimes.de:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18347
___
Christian Heimes added the comment:
RM, please decide. :)
--
assignee: - benjamin.peterson
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16396
___
Changes by Mark Kubacki wm...@hurrikane.de:
Removed file: http://bugs.python.org/file30757/python-2.7.5-tlssni.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5639
___
Changes by Mark Kubacki wm...@hurrikane.de:
Added file: http://bugs.python.org/file30778/python-2.7.5-tlssni.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5639
___
Changes by Mark Kubacki wm...@hurrikane.de:
Removed file: http://bugs.python.org/file30778/python-2.7.5-tlssni.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5639
___
Changes by Mark Kubacki wm...@hurrikane.de:
Added file: http://bugs.python.org/file30779/python-2.7.5-tlssni.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5639
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18364
___
___
Python-bugs-list
Terry J. Reedy added the comment:
I want to make two separate commits. First add mock Text into mock_tk.py, and
add a new test_text.py. I suggested looking at the tkinter Text test. I turns
out that it only tests a few special search cases. I am guessing that they have
something to do with
Jesús Cea Avión added the comment:
As ModuleNotFoundError is going to be reverted so should the changesets for
this issue.
Could you possibly clarify this?. Pointers?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
101 - 178 of 178 matches
Mail list logo