Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17466
___
___
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +jcea -gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17477
___
___
Gregory P. Smith added the comment:
that patch looks good for imaplib.
i'll follow up on the subprocess side of things to see if the default
behavior should be changed to better match what happened in 2.7 (or if not:
to make sure the change in behavior is sufficiently documented and not
relied
Ezio Melotti added the comment:
What devinabox should become instead is a README listing what people
should checkout/download and build.
Isn't this already covered in the devguide? If it's not I think it should be
added there rather than on a README. I'm also not sure what the current
Ezio Melotti added the comment:
Indeed a paragraph about it could be added at the beginning.
--
nosy: +bethard
stage: - needs patch
type: - enhancement
versions: +Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 0a9b42de49d5 by R David Murray in branch '3.2':
#17476: make allmethods actually return all methods.
http://hg.python.org/cpython/rev/0a9b42de49d5
New changeset 7127fbc363bb by R David Murray in branch '3.3':
#17476: make allmethods actually return
R. David Murray added the comment:
Thanks, Matt.
I figured out a way to make the test *somewhat* less fragile.
Oh, and that helper method really is operating on an object, not a class, so I
changed the paramter name back (and added inspect.builtin...which Python2
didn't have, but I figure as
R. David Murray added the comment:
A script to do all the steps is what devinabox currently is, but it is rather
fagile. As far as I know (Brett would know for sure) it has never worked
without tweaking from one Core Sprint to the next.
--
___
Ezio Melotti added the comment:
Test new irker.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list mailing list
Toshio Kuratomi added the comment:
Matthias, Barry, and I looked at this at pycon today. It looks a bit like the
original intent was to have
SO = .so
SOABI = cpython-32mu
and then CPython extension module suffixes would be:
if SOABI:
so_ext = ''.join(., SOABI, SO)
else:
so_ext = SO
Serhiy Storchaka added the comment:
This was proposed before (see issue16150) and was rejected after discussing on
Python-ideas.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17433
Mher Movsisyan added the comment:
The second patch only normalizes the url. From
http://www.robotstxt.org/norobots-rfc.txt it is not clear how to handle
multiple rules with the same prefix.
--
Added file: http://bugs.python.org/file29476/parser2.patch
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +rhettinger
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17433
___
Nick Coghlan added the comment:
When I used it for PyCon AU, it did require tweaking, but only for some of the
steps. It was still handy to have it automated, I just think we need to set the
expectation that we'll need to tweak the scripts every time we use it for a new
conference.
It would
Ezio Melotti added the comment:
Ismail, does it always fail or is it a sporadic failure?
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12466
___
Ezio Melotti added the comment:
It's easier, but we will be exposing an API that is not too elegant IMHO. The
refactoring could provide a better API, but OTOH it will make it available for
3.4+ only, and it would break backward compatibility if the old API is removed
(even though it's not
Ezio Melotti added the comment:
The 0 in {0} can be omitted, otherwise patch looks good to me. I agree that
the architecture is not necessary.
--
nosy: +ezio.melotti
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
___
Python-bugs-list
Ezio Melotti added the comment:
I left a couple of comments on rietveld.
--
stage: test needed - patch review
versions: +Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17403
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17408
___
___
STINNER Victor added the comment:
I like the idea of a new function in the os module because I don't
like having to import the multiprocessing module just to known the
number of CPUs. I'm using such function to set MAKEFLAGS envrionment
variable on Linux: -j8 par example.
2013/3/19 Trent Nelson
Terry J. Reedy added the comment:
More doc bugs: unified_diff and context_diff say 'lists of strings' when
'sequences of strings' is correct. Docstrings do say 'sequences'.
In 3.x, SequenceMatcher.get_matching_blocks return a map objects rather than a
list. In spite of my original post, the
Ronald Oussoren added the comment:
I also like the os.cpu_count() function, the information is useful sometimes
outside of multiprocessing, and calling out to external scripts to gather the
information (as multiprocessing currently does) feels yucky.
That should probably be a new issue, the
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12466
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745722
___
___
Roundup Robot added the comment:
New changeset ac023b1a23ea by Senthil Kumaran in branch '3.2':
#17460 - Adding relevant warning messages regarding strict removal in docs
http://hg.python.org/cpython/rev/ac023b1a23ea
New changeset f4e966570416 by Senthil Kumaran in branch '3.3':
#17460 - merge
Terry J. Reedy added the comment:
'difflib' is a module that defines three classes and some functions. It does
not do anything in itself. SequenceMatcher, which is the basis for the other
functions, operates on sequences of hashable objects. The inputs must be
concrete random access indexed
Terry J. Reedy added the comment:
I have been planning to test and commit some version of this patch after PEP434
is resolved, as I would like to backport it at least to 2.7 and 3.3. The only
thing that could break is some esoteric application that looks at window title
bars from outside and
Ezio Melotti added the comment:
I think it's safe to apply this patch to 2.7/3.2/3.3/3.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
New submission from Serhiy Storchaka:
Tkinter's split() recursive splits bytes but not unicode strings.
from tkinter import *
t = Tcl()
t.tk.split((b'a 2',))
(('a', '2'),)
t.tk.split(('a 2',))
('a 2',)
--
components: Tkinter, Unicode
messages: 184622
nosy: ezio.melotti, gpolo,
John Szakmeister added the comment:
Actually, Trent's version looks at hw.logicalcpu and then falls back to
hw.ncpu, if there was an error. Given the state of the documentation on these
parameters, it's hard to say whether it's right or wrong, but at least
hw.logicalcpu scales correctly if I
Serhiy Storchaka added the comment:
Here is a patch which add support of Tcl_Obj to tkinter's splitlist(). This not
only fixes some incompatibility with Tk 8.6, but can fix some issues with older
Tk versions (see for example issue17397).
--
keywords: +patch
nosy: +gpolo
stage: -
Ismail Donmez added the comment:
I can reproduce the error locally. But I see something in the log might be
related to this (possibly not but anyway):
[352/368/1] test_multiprocessing
test_multiprocessing skipped -- This platform lacks a functioning sem_open
implementation, therefore, the
Larry Hastings added the comment:
Modern tar programs don't need to be told the compression method--they infer
it. If they can do it in C, we can do it in Python. So we should simply omit
the -bz2 stuff.
As for what the interface should look like, I'm definitely in favor of it
looking like
Serhiy Storchaka added the comment:
I do not understand what is bad in converting parameters after removed 'strict'
to be keyword-only.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17460
Serhiy Storchaka added the comment:
Note that --create command should support --directory option too.
Modern tar programs don't need to be told the compression method--they infer
it. If they can do it in C, we can do it in Python. So we should simply
omit the -bz2 stuff.
An archive may
Ezio Melotti added the comment:
The last part is not clear to me. Do you mean that if I don't add the
add-auto-load-safe-path I have to run source python-gdb.py before gdb
python? And if so, do I have to run it every time?
Also if the add-auto-load-safe-path is required for recent versions,
Amaury Forgeot d'Arc added the comment:
The string '\xe7\x8e\xb0' is the utf-8 encoded version of u'现' (=u'\u73b0')
But your Windows system uses the cp936 code page to encode file names.
'\xe7\x8e\xb0' is invalid in this code page: the last character is an
incomplete multibyte sequence, and is
Serhiy Storchaka added the comment:
I'm trying to solve this issue (it seemed easy), but the bug is worse than
expected. Python crashed even without iteration at all.
it = 'abracadabra'
for _ in range(100):
it = filter(bool, it)
del it
And fixing a recursive deallocator is more
Amaury Forgeot d'Arc added the comment:
Py_TRASHCAN_SAFE_BEGIN/Py_TRASHCAN_SAFE_END macros can help:
http://hg.python.org/cpython/file/57c6435ca03b/Python/traceback.c#l44
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Thank you. Now I understand why this issue not happened with containers.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14010
___
Zbyszek Jędrzejewski-Szmek added the comment:
At least for /etc/os-release, which is slated to replace /etc/fedora-release
and other distribution specific files, the encoding in mandated to be UTF-8:
http://www.freedesktop.org/software/systemd/man/os-release.html
All strings should be in
Amaury Forgeot d'Arc added the comment:
Well, there is a __del__: the one from the generator function. And it's part of
the cycle.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17468
New submission from Zachary Ware:
This patch converts test_main() to load_tests(*args) due to test_main doing a
lot of namespace manipulation on all the test classes. There are a lot of
subclassing issues that discovery doesn't like, hence throwing away the second
argument passed to
Amaury Forgeot d'Arc added the comment:
Probably a duplicate of issue1173475. Do you want to work on the patch there?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17295
Kristján Valur Jónsson added the comment:
Reopening this since this it needs backporting to 2.7
--
nosy: +kristjan.jonsson
status: closed - open
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
anatoly techtonik added the comment:
Given some tweaks, it can become an attracting entrypoint into Python core
development - http://shelr.tv/records/5148841296608075f849
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
Ronald Oussoren added the comment:
You're right, this is a duplicate.
--
resolution: - duplicate
stage: needs patch - committed/rejected
superseder: - __slots__ for subclasses of variable length types
type: - behavior
___
Python tracker
Ronald Oussoren added the comment:
I do have a usecase for this: subclasses of int.
Having slots would be nice for a reasonably efficient implementation of named
constants (as recently discussed on python-ideas), and I'm already using a
subclass of int of PyObjC to attach a single other
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
Changes by Armin Rigo ar...@users.sourceforge.net:
--
nosy: -arigo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1173475
___
___
Python-bugs-list
Changes by Łukasz Langa luk...@langa.pl:
--
assignee: - lukasz.langa
versions: +Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17453
___
Toshio Kuratomi added the comment:
Updated patch that includes unittests and fixes readlines() newline behaviour.
--
Added file: http://bugs.python.org/file29479/01000-mock_open-methods.patch
___
Python tracker rep...@bugs.python.org
Changes by Ned Jackson Lovely n...@njl.us:
Added file: http://bugs.python.org/file29480/issue5051-take2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5051
___
Ned Jackson Lovely added the comment:
Hi Luke,
I've prepared two versions of this test. The first, issue5051-take2.diff,
retains the environ.clear(), but saves and sets COMSPEC and PATH in the same
update call as the HELLO variable.
The second, and in my opinion more reasonable test, makes
Changes by Michael Foord mich...@voidspace.org.uk:
--
assignee: - michael.foord
keywords: +needs review
nosy: +michael.foord
stage: - patch review
type: - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Huh. tar *can* infer it from the data itself. On the other hand, it chooses
explicitly not to.
% cat ~/Downloads/Python-3.3.0.tar.bz2| tar xvf -
tar: Archive is compressed. Use -j option
tar: Error is not recoverable: exiting now
% cat
New submission from Jason R. Coombs:
On Windows, pyvenv.py is installed to PythonNN\Tools\Scripts, which I would
generally recommend not be added to the system's or user's PATH.
It would be nice if there were a Windows-friendly launcher that's available
similar to what's available on Unix.
New submission from Michael Foord:
inspect.getfullargspec (and potentially getargspec?) could *use*
function.__signature__ if set. This allows functions that lie about their
signature with the new introspection tool (Signature) to still work with older
code.
--
components: Library
Michael Foord added the comment:
PythonNN\Scripts is the normal place for Python command line tools to be
installed to. Does the installer not put this on the PATH for windows?
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
New submission from Nick Coghlan:
functools.update_wrapper inadvertently overwrites the just set __wrapped__
attribute when it updates the contents of __dict__.
This means the intended __wrapped__ chain is never created - instead, for every
function in a wrapper stack, __wrapped__ will always
Nick Coghlan added the comment:
There's an interesting backwards compatibility challenge here. We definitely
need to fix the misbehaviour, since it can lead to some pretty serious bugs in
user code when attempting to bypass the LRU cache decorator if the wrapped
function itself had a
New submission from Daniel Wozniak:
In the urllib.request.urlopen on line 154 the code path that sets
check_hostname to False will never run. I'm not sure what the desired behavior
is. If we want to have a way to tell urlopen not to check the hostname for
https connections it looks as though
Roundup Robot added the comment:
New changeset c5aacf9d1cdc by R David Murray in branch '3.2':
#17443: Fix buffering in IMAP4_stream.
http://hg.python.org/cpython/rev/c5aacf9d1cdc
New changeset 0baa65b3ef76 by R David Murray in branch '3.3':
Merge: #17443: Fix buffering in IMAP4_stream.
R. David Murray added the comment:
Thanks, Diane, and expecially thanks for finding this and helping is track down
the cause.
We need better test infrastructure for imap...because this occurs only during
string litteral reads, I decided that making a test for this with our current
imap test
Changes by Colin Su littleq0...@gmail.com:
--
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1525919
___
Jeff Knupp added the comment:
Was this discovered when you were trying to tell urlopen not to check the
hostname for https connections? If so, that should be reflected in the title
so others know what the observable effect is. Referencing specific variables is
less useful both for searching
Roundup Robot added the comment:
New changeset 8ec39bfd1f01 by Kristján Valur Jónsson in branch '2.7':
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
http://hg.python.org/cpython/rev/8ec39bfd1f01
--
nosy: +python-dev
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
nosy: +jkloth
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17480
___
___
Nick Coghlan added the comment:
Turns out there's a bug in the implementation of functools.update_wrapper :P
Added that as a dependency, since this API doesn't make sense until
update_wrapper is behaving itself.
The new tests didn't pick it up because they don't use wraps or update_wrapper,
Nick Coghlan added the comment:
And as further evidence that I always intended this to be a wrapper chain:
issue 13266 :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17482
___
Nick Coghlan added the comment:
OK, thinking about this a little further, I think it's not as bad as I feared.
The number of people likely to be introspecting __wrapped__ is quite small, and
updating to the correct recursive code will still do the right thing in
existing versions.
So long as
Daniel Wozniak added the comment:
Yes, I was trying to add tests for the behavior. I'll try to make the titles
more meaningful in the future. Thanks.
--
title: In urlopen the check_hostname variable can never be False. - Can not
tell urlopen not to check the hostname for https
Ned Deily added the comment:
I've just run across an easy way to simulate a retina display on my MBP model
(http://stackoverflow.com/a/13596261/145403) and have verified that the change
in the plist makes a big difference in Tk text rendering, at least with A/S
Tcl/Tk 8.5.13. So I'm going to
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email -Library (Lib)
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1598
___
Serhiy Storchaka added the comment:
Here is a patch which adds recursion limit checks to builtin and itertools
recursive iterators.
--
components: +Extension Modules
keywords: +patch
nosy: +rhettinger
stage: needs patch - patch review
Added file:
Trent Nelson added the comment:
On Tue, Mar 19, 2013 at 01:58:59AM -0700, John Szakmeister wrote:
John Szakmeister added the comment:
Actually, Trent's version looks at hw.logicalcpu and then falls back
to hw.ncpu, if there was an error. Given the state of the
documentation on these
Marc Adam Anderson added the comment:
Unable to reproduce this bug on Mac OS X 10.8.3 (12D78) using Python 3.4.0a0
and the following browsers:
- Google Chrome 25.0.1364.172
- Firefox 13.0.1
- Safari 6.0.3 (8536.28.10)
--
nosy: +marcadam
___
Python
Colin Su added the comment:
Confirmed with David, we work on this together on sprints.
This is not a bug, if you do set_payload directly by yourself, you need to
encode the payload by yourself because set_payload() doesn't encode payload if
'Content-Transfer-Encoding' did exist.
--
Changes by Colin Su littleq0...@gmail.com:
--
assignee: - docs@python
components: +Documentation -Library (Lib), email
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1525919
Toshio Kuratomi added the comment:
3rd version of the patch.
* Added some documentation to untitest.mock.rst
* Changed the code so that read, readline, and readlines all deplete the same
copy of read_data.
--
Added file: http://bugs.python.org/file29484/01000-mock_open-methods.patch
Marc Adam Anderson added the comment:
Tested patch using Python 3.4.0a0 on Mac OS X 10.8.3 (12D78). Patch appears to
fix the bug.
--
nosy: +marcadam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8862
Changes by Ned Deily n...@acm.org:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8862
___
___
Python-bugs-list mailing list
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email -Library (Lib)
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2518
___
Andrew Gorcester added the comment:
I was able to reproduce on Ubuntu with Python 3.4 compiled from trunk
2013-03-17, but only with Firefox and not with Chrome.
--
nosy: +andrewsg
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17483
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2518
___
___
Changes by Thomas Fenzl thomas.fe...@gmx.net:
--
components: Tests
nosy: Thomas Fenzl
priority: normal
severity: normal
status: open
title: add tests for getpass
type: enhancement
versions: Python 3.4
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset f22b93b318a5 by Kristján Valur Jónsson in branch '2.7':
issue #9090 : Limit the fix to windows since getting a portable simple
http://hg.python.org/cpython/rev/f22b93b318a5
--
___
Python tracker
New submission from Daniel Wozniak:
The patch to fix issue http://bugs.python.org/issue16464 neglects the deleter
method of the Request.data property. This allows Request._data to get updated
without removing the Content-length header.
--
components: Library (Lib)
files: patch.diff
Roundup Robot added the comment:
New changeset 8a08607abf32 by R David Murray in branch '3.2':
#8862: Fix curses cleanup with getchar is interrupted by a signal.
http://hg.python.org/cpython/rev/8a08607abf32
New changeset 342ef2ed8d05 by R David Murray in branch '3.3':
Merge: #8862: Fix curses
Brett Cannon added the comment:
No it does not, but it should.
--
assignee: brett.cannon -
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17449
___
Anssi Kääriäinen added the comment:
I am trying to read the code, and it seems objects of type generator are
uncollectable if the code of the generator has a block of other type than
SETUP_LOOP. I can see how try-finally for example in the generator would cause
problems - the finally might
R. David Murray added the comment:
Committed. We couldn't think of a way to write a test, so I committed it
without one.
Thanks July and Marc.
--
nosy: +r.david.murray
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.3, Python 3.4
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: +patch
Added file: http://bugs.python.org/file29486/6dedcdbe7cd5.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17445
___
New submission from Lennart Regebro:
When calling tzname() on a timezone object it will return UTC + the offset.
from datetime import timezone, timedelta, datetime
tz = timezone(timedelta(hours=3))
dt = datetime(2013, 3, 14, 12, 30, tzinfo=tz)
dt.tzname()
'UTC+03:00'
But this breaks
Changes by Matthias Klose d...@debian.org:
Removed file: http://bugs.python.org/file29475/bsddb.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17477
___
Changes by Matthias Klose d...@debian.org:
Added file: http://bugs.python.org/file29487/bsddb.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17477
___
Roundup Robot added the comment:
New changeset 33f02ccb5301 by Senthil Kumaran in branch '3.2':
#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak
http://hg.python.org/cpython/rev/33f02ccb5301
New changeset 4e59a7fc69c6 by Senthil Kumaran in branch '3.3':
#17471 - merge
Senthil Kumaran added the comment:
Daniel - I could not really get the need for this check.
+ msg = str(err)
+ str(err.code) in msg and err.msg in msg
The other one was really useful and probably covered the reasonstr.
Thanks for the patch.
--
resolution: - fixed
stage: -
1 - 100 of 178 matches
Mail list logo