Roundup Robot added the comment:
New changeset a0ec33efa743 by Nick Coghlan in branch 'default':
Issue #19728: don't be sensitive to line endings
http://hg.python.org/cpython/rev/a0ec33efa743
--
___
Python tracker rep...@bugs.python.org
Rhonda Parker added the comment:
T0 the people that manipulate universe of linux and unix based protocol should
take in consideration when people skilled programming introduce downloads and
install protocol to those unskilled in the like because it only creates a
disassociation resulting in
New submission from Claudiu.Popa:
Hi!
test_touch_common fails when using 8.3-STABLE FreeBSD 8.3-STABLE and Python
3.4.0b1 (default:a0ec33efa743+, Nov 30 2013, 10:36:58).
Here are the tracebacks:
==
FAIL: test_touch_common
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
Removed message: http://bugs.python.org/msg204785
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19726
___
R. David Murray added the comment:
See also issue 1674555, which aims to make test_site run without -S and
everything else run with -S. I think this issue is invalid, if I understand
what you wrote correctly, since test_site *should* be reported as a skipped
test if -S is specified.
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19830
___
Changes by Ned Deily n...@acm.org:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19838
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 96d1207d33d0 by Alexandre Vassalotti in branch '3.3':
Issue #19088: Fix incorrect caching of the copyreg module.
http://hg.python.org/cpython/rev/96d1207d33d0
New changeset 1ceb6f84b617 by Alexandre Vassalotti in branch 'default':
Issue #19088:
Claudiu.Popa added the comment:
Hello! Here's a simple patch which makes sqlite.Row to act like a real sequence.
--
keywords: +patch
nosy: +Claudiu.Popa
versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file32902/sqlite1.patch
Mark Dickinson added the comment:
Closing. This isn't likely to change in Python 2.7.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11854
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
assignee: - alexandre.vassalotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19088
Changes by Mark Dickinson dicki...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19638
___
___
Peter Otten added the comment:
I think the prompt can easily be treated differently because it is written to
stderr.
I don't see a difference for user input between input() and raw_input() on
Linux with Python 2.7.2+ -- syntax-highlighting is applied to both.
--
Charles-François Natali added the comment:
Could someone with a dual-core machine try the attached simplistic
benchmark with and without Victor's patch?
I can see some user-time difference with 'time' on my single-core
machine, but I'm curious to see how this would affect things were both
the
New submission from Fabio Erculiani:
In Sabayon Linux and Gentoo Linux, distro package metadata is appended at the
end of bz2 files. Python 2.7, 3.1, 3.2 bz2 modules were handling the following
attached file just fine, trailing garbage was simply ignored like the bunzip2
utility does.
Changes by Fabio Erculiani lx...@sabayonlinux.org:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19839
___
___
Python-bugs-list
Antoine Pitrou added the comment:
I don't really know what to do with this. I think you'll have to investigate a
bit and find out exactly what happens during the test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19838
Antoine Pitrou added the comment:
As a data point, if not for ZFS, test_pathlib passes on FreeBSD 6.4:
http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x/builds/4261/steps/test/logs/stdio
and FreeBSD 7.2:
Antoine Pitrou added the comment:
Thanks for the fix. Perhaps you could have added some tests for this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19088
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +nadeem.vawda, serhiy.storchaka
type: crash - behavior
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19839
___
Antoine Pitrou added the comment:
On a quad-core machine:
- without Victor's patch:
$ time ./python test_sub.py
0.3926395702847
real0m0.521s
user0m0.412s
sys 0m0.238s
- with Victor's patch:
$ time ./python test_sub.py
0.3856174530001226
real0m0.516s
user0m0.404s
Antoine Pitrou added the comment:
While the speedup may be nice, I still don't think this optimization complies
with the protocol definition in the PEP, so I would like to reject this patch.
--
resolution: - rejected
stage: patch review - committed/rejected
status: open - pending
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10976
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17909
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
Still, JSON itself is not a wire protocol; HTTP is. http://www.json.org states
that JSON is a text format and the grammar description talks UNICODE
characters, not bytes. The ECMA spec states that JSON text is a sequence of
Unicode code points.
RFC 4627 is a
Serhiy Storchaka added the comment:
Best of 10 runs.
Unpatched: 3.91057508099766
Patched:3.86466505300632
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19506
___
Antoine Pitrou added the comment:
Well, it *is* abstract because it has no implementations and all the
methods raise NotImplementedError.
Hmm, actually, the methods don't raise NotImplementedError, they just have
default empty implementations.
--
Serhiy Storchaka added the comment:
See also http://permalink.gmane.org/gmane.comp.python.devel/143803 in which
Victor had found a place of the leak.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
Vinay Sajip added the comment:
It's not the docstring in the code, it's the actual documentation. I propose to
change it so that the documentation for disable will read:
Provides an overriding level *lvl* for all loggers which takes precedence over
the logger's own level. When the need arises
Serhiy Storchaka added the comment:
decompress() is affected too.
import bz2
bz2.decompress(bz2.compress(b'abcd') + b'xyz')
Traceback (most recent call last):
File stdin, line 1, in module
File /home/serhiy/py/cpython/Lib/bz2.py, line 505, in decompress
Serhiy Storchaka added the comment:
I propose close this issue as a duplicate of issue10976.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19837
___
Serhiy Storchaka added the comment:
Rather than removing these empty tests it will be better implement them.
Otherwise we can accidentally break the code.
I see a lot of empty tests on 3.x.
--
nosy: +serhiy.storchaka
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19808
___
___
New submission from zodalahtathi:
shutil.move sometimes fail when the underlining filesystem has limitations.
Here is a part of a stacktrace I'm getting :
File /usr/local/lib/python3.3/shutil.py, line 534, in move
copy2(src, real_dst)
File /usr/local/lib/python3.3/shutil.py, line 244,
New submission from Ivailo Monev:
There are a few PEP violations like namespace clashes, the attached patch fixes
some of them thus solving a problem for me where shared library build with
Nuitka segmentation faults. The patch does not make the code backwards
compatible with the vars and map
New submission from Charles-François Natali:
Initially, BaseSelector was simply designed as the base implementation used by
concrete ones like SelectSelector Co.
Then BaseSelector evolved to be an ABC, but the problem is that it's really not
usable as such: the register() and unregister()
Nick Coghlan added the comment:
Issue 19837 is the complementary problem on the serialisation side - users
migrating from Python 2 are accustomed to being able to use the json module
directly as a wire protocol module, but the strict Python 3 interpretation as a
text transform means that
Nick Coghlan added the comment:
Not sure yet if we should merge the two issues, although they're the
serialisation and deserialisation sides of the same problem.
Haskell seems to have gone with the approach of a separate jsonb API for the
case where you want the wire protocol behaviour, such
Antoine Pitrou added the comment:
I'm wondering, is there a reason we made BaseSelector a public API?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19842
___
koobs added the comment:
Is this similar/related to #15745?
I took both of my buildbots (koobs-freebsd9, koobs-freebsd10) off ZFS until it
could be resolved
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19838
koobs added the comment:
Sorry Claudiu I missed the issue reference in your comment
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19838
___
___
Claudiu.Popa added the comment:
I believe it's similar, both test_os and test_pathlib fails when executed from
within a ZFS container. I checked, I did a fresh checkout of Python inside a
normal directory and run the tests there, they ran without problems.
--
Charles-François Natali added the comment:
Alright, here's a first step: select/poll/epoll/etc now return empty
lists/tuples upon EINTR. This comes with tests (note that all those tests
could probably be factored, but that's another story).
--
keywords: +needs review, patch
stage: needs
Charles-François Natali added the comment:
I'm wondering, is there a reason we made BaseSelector a public API?
The idead was to have an ABC so that users can implement their own
selector, and pass it to e.g. asyncio or anything alse expecting a
selector.
Other than that, the only use is as a
Serhiy Storchaka added the comment:
Here is a patch. arraymodule.c is already fixed. Instead I found other bug in
sysmodule.c. I'm not sure about extending.rst, PyLong_FromLong(0L) should never
fail if NSMALLNEGINTS + NSMALLPOSINTS 0.
--
keywords: +patch
stage: needs patch - patch
Antoine Pitrou added the comment:
The idead was to have an ABC so that users can implement their own
selector, and pass it to e.g. asyncio or anything alse expecting a
selector.
Other than that, the only use is as a documentation (i.e. to show
which methods are supported by all selectors
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19837
___
___
Python-bugs-list mailing
Charles-François Natali added the comment:
The problem for documentation use is that we're christening it as an
official API, and thus it becomes more difficult to refactor the
inheritance hierarchy.
So what would you suggest?
--
___
Python
Antoine Pitrou added the comment:
The problem for documentation use is that we're christening it as an
official API, and thus it becomes more difficult to refactor the
inheritance hierarchy.
So what would you suggest?
Hmmm... Well I guess your proposal makes sense :-) Aka. having a
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file32908/issue16404.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16404
___
Charles-François Natali added the comment:
Here's a patch adding socketpair to test.support.
This version has been used in test_selectors for quite some time now,
and would probably be useful for other tests as well.
--
Added file: http://bugs.python.org/file32909/socketpair-1.diff
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: -Documentation, Interpreter Core
Added file: http://bugs.python.org/file32910/issue16404.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16404
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19842
___
___
Walter Dörwald added the comment:
OK, here is a patch. Instead of mapping the exceptions module to builtins, it
does the mapping for each exception class separately. I've excluded
StandardError, because I think there's no appropriate equivalent in Python 3.
--
keywords: +patch
Added
New submission from Giampaolo Rodola':
I recently implemented this in psutil and thought it would have been a nice
addition for subprocess module as well:
https://code.google.com/p/psutil/issues/detail?id=440
Patch in attachment introduces a new subprocess.wait_procs() utility function
which
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18885
___
___
Python-bugs-list mailing
klappnase added the comment:
What is your real name?
Michael Lange
What should I add in the Misc/ACKS file?
Hmm, personally I'd prefer the nick, but it seems to be common practice to use
the real name; I think I'll leave it to you ;)
--
___
Python
Changes by Hanz Kanst bohemi...@gmail.com:
--
components: Windows
nosy: Hanz
priority: normal
severity: normal
status: open
title: os.path.split fails on windows path
type: behavior
versions: Python 3.3
___
Python tracker rep...@bugs.python.org
New submission from Hanz Kanst:
os.path.split fails on windows path
to reproduce in python 3.3:
file = C:\progs\python\test\target\Amy Winehouse\Amy Winehouse - Back To Black
(2006)\01 - Rehab.ogg
os.path.split(os.path.abspath(file))[0]
returns
'C:\\progs\\python\testordner\target\\Amy
Hanz Kanst added the comment:
According to the definition the tail should never contain a slash.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19844
___
SilentGhost added the comment:
file must be a raw string:
file = r'C:\progs\python'
Then everthing works.
--
nosy: +SilentGhost
resolution: - invalid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19844
Serhiy Storchaka added the comment:
Now CPython trunk in feature freeze stage until 3.4 realease. So we should wait
several months before commit this patch.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
Ah, you fell victim to a classic gotcha. :)
Either you have to quote \ with \\ or you have to use a raw string. Withouth a
raw string \t is TAB and \01 is the byte \x01:
import ntpath
fname = rC:\progs\python\test\target\Amy Winehouse\Amy Winehouse - Back
Hanz Kanst added the comment:
Hm, how can I handle this if file is an existing string and there is no
option to assign raw via r'some\raw\string'?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19844
Serhiy Storchaka added the comment:
Patch is synchronized with tip (it was desynchronized since 23459df0753e).
--
Added file: http://bugs.python.org/file32913/pickle_peek_2.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Microbenchmark:
$ ./python -c import pickle; d = b'x' * 10**6; f = open('test.pickle3', 'wb');
pickle.dump(d, f, 3); f.close()
$ ./python -m timeit -s from pickle import load with open('test.pickle3',
'rb') as f: load(f)
Unpatched: 100 loops, best of 3:
R. David Murray added the comment:
On tip it would indeed be better to implement them. The deletion is only for
the released branches.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19683
R. David Murray added the comment:
Note that the equivalent linux command generates a warning message but does the
move anyway. In other words, this seems like a very reasonable request ;)
--
nosy: +r.david.murray
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19840
___
___
R. David Murray added the comment:
Can you explain what the source of the problem is that you are trying to solve?
It sounds like a bug in Nuitka, whatever that is.
It is doubtful that this patch would be applied, for the backward compatibility
reasons you cite.
--
nosy:
R. David Murray added the comment:
Oh, and even if we decided there was enough reason to want to change the
parameter names (which so far it doesn't look like there is), it could never be
applied to 2.7, since the 2.7 API is frozen.
--
___
Python
R. David Murray added the comment:
It's not, the beta is already out.
--
nosy: +r.david.murray
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19843
___
R. David Murray added the comment:
If it is an existing string, the backslashes are already in the string. The r
prefix or the escaping is only required to get the backslashes into a string
when you are coding them into a source file.
--
nosy: +r.david.murray
Terry J. Reedy added the comment:
On a freshly booted machine, I retried 2.7.6/Windows/raw_input() 'for all the'
and indeed I now see 'for' and 'all' colored.
The colorizing is done char by char. 'fo' is black, 'for' turns orange, 'forr'
turns black again. Similarly, 'al' is black, 'all is
Alexandre Vassalotti added the comment:
I have reviewed the patch in the review tool. Please take a look!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19834
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
assignee: - docs@python
components: +Documentation -Interpreter Core
keywords: -64bit
nosy: +docs@python
stage: - needs patch
type: resource usage - enhancement
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26617/pickle_sizeof-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15513
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26616/pickle_sizeof-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15513
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26588/stringio_sizeof-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26587/stringio_sizeof-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26810/stringio_sizeof-3.3_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26586/stringio_sizeof-3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26811/stringio_sizeof-3.2_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file26812/stringio_sizeof-2.7_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Removed file: http://bugs.python.org/file27241/stringio_sizeof-3.2_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15490
___
Terry J. Reedy added the comment:
As a non-tcl/tk user except via tkinter, I am not convinced that we should add
a near-duplicate function. The *Python* doc for ttk.Style.theme_names says
Returns a list of all known themes. If it does not do that, which it seems
not to, it should be changed
New submission from Mark Lawrence:
http://docs.python.org/3/using/windows.html#compiling-python-on-windows still
refers to Visual Studio 97 but there's no mention of 2010. Can we have this
updated please?
--
assignee: docs@python
components: Documentation
messages: 204844
nosy:
Alexandre Vassalotti added the comment:
Looks good to me! Feel free to commit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17897
___
___
Simon Weber added the comment:
That sounds much clearer. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19789
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Thank you Alexandre.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17897
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17897
___
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
assignee: - alexandre.vassalotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16231
Roundup Robot added the comment:
New changeset ee627983ba28 by Alexandre Vassalotti in branch '2.7':
Issue #16231: Allow false values other than None to be used as persistent IDs.
http://hg.python.org/cpython/rev/ee627983ba28
--
nosy: +python-dev
___
New submission from Sworddragon:
It seems that print() and write() (and maybe other of such I/O functions) are
relying on sys.getfilesystemencoding(). But these functions are not operating
with filenames but with their content. In the attachments is an example script
which demonstrates this
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: serhiy.storchaka - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
R. David Murray added the comment:
Victor can correct me if I'm wrong, but I believe that stdin/stdout/stderr all
use the filesystem encoding because filenames are the most likely source of
non-ascii characters on those streams. (Not a perfect solution, but the best
we can do.)
--
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
priority: low - normal
stage: needs patch - patch review
versions: +Python 3.5 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5885
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
priority: normal - low
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2281
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
priority: normal - low
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2281
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
priority: normal - low
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2281
___
1 - 100 of 148 matches
Mail list logo