Serhiy Storchaka storch...@gmail.com added the comment:
This patch is for Python 2. New features are accepted only for Python 3.3+. I
ported the patch, but since I have no Mac, I can't check.
To date code was specified incorrectly.
The length of integers was calculated incorrectly. To convert
Matt Joiner anacro...@gmail.com added the comment:
Patch with a test included. Being a nondeterministic bug, please adjust the
thread count, or timing as necessary, the parameters in the patch are as low as
I can get them and still reasonably reproduce the bug (linux 3.2, i386).
There's a few
Niklas Br n.brunb...@gmail.com added the comment:
David, print(magic) returns
Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)
AttributeError: 'module' object has no attribute 'open'
Ned, I tried the dmg first, but then I downloaded the source and built it
locally,
Changes by Esben Agerbæk Black esbe...@gmail.com:
Added file: http://bugs.python.org/file25079/isodates.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14423
___
Georg Brandl ge...@python.org added the comment:
Sounds like good fix to me.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14434
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
I use Ubuntu Linux 11.10
Hmm, you are right: background process dies. But I'm pretty sure when I worked
on IDLE bugs three weeks ago sometimes that process remained to live forever.
Aahh.
At least sending SIGTERM (kill -9) to
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Still no responses? I'll submit this then, unless someone objects.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thanks, Jim.
Unless anyone objects, I'll commit this then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10576
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14440
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14039
___
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Closing this since it applies only to our custom tls implementation. Most
platforms use native tls now.
--
resolution: - wont fix
status: open - closed
___
Python tracker
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Would be nice to get another review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14034
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2bc374182ed4 by Andrew Svetlov in branch 'default':
issue #3035: update PendingDeprecationWarning to DeprectionWarning, point
deprecation in tkinter doc
http://hg.python.org/cpython/rev/2bc374182ed4
--
Antoine Pitrou pit...@free.fr added the comment:
Comments:
- the tests look fragile. How can you know a garbage collection will only
collect your own objects? So you should call gc.collect() first at the
beginning of each test and then initialize the self.visit list. We don't want
weird
Antoine Pitrou pit...@free.fr added the comment:
I would like to see this discussed on python-dev.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
I've updated the patch following David's recommendations, pushed it into
default branch.
#14446 has been made to remove deprecated code in 3.4
Closing the issue as fixed.
--
resolution: remind - fixed
status: open - closed
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Closing as out if date and not active.
--
assignee: - asvetlov
resolution: - out of date
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Will do.
--
assignee: - asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5136
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Closing as lack of interest from community.
--
resolution: - wont fix
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Closing again. Now IDLE works fine both in subprocess and inprocess mode.
Future support of non-BMP can be continues after implementing codec for that —
#14304
Now I like to close that as «good enough for now».
At least IDLE doesn't
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9016
___
___
Timothy Madden terminato...@gmail.com added the comment:
attaching the error message box
--
Added file: http://bugs.python.org/file25081/Install-admin-msg.png
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14458
New submission from Timothy Madden terminato...@gmail.com:
Trying to install the release package (python 3.2.2 x86-64 .msi, 2.7.2 x86-64
.msi) without elevation fails, even if 'Install just for me' is selected in the
installer options, and I have write permissions in the selected install
Timothy Madden terminato...@gmail.com added the comment:
This is happening on Windows Server 2008 R2 Enterprise, Service Pack 1 (64-bit)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14458
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 10fcaf5903e6 by Kristján Valur Jónsson in branch 'default':
Issue #14435: Add Misc/NEWS and Misc/ACKS
http://hg.python.org/cpython/rev/10fcaf5903e6
--
___
Python tracker
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thank you Antoine. Your points:
- Yes, I can robustify this.
- I think I worried that the actual contents might be too complex to test for
it. I'll see if I can't just simplify it as you suggest.
- right, thanks.
- gc.callbacks is
Antoine Pitrou pit...@free.fr added the comment:
- gc.callbacks is a simple module attribute. Anyone can set it to
anything else, e.g. gc.callbacks=None. We have to accomodate this
possibility or else introduce annoying api functions to edit the list.
I thought it best to do things
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
You are right, I was thinking more of pyobject attributes. I'll fix this then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14310
New submission from manolo69 f114...@rppkn.com:
nonetype
--
messages: 157190
nosy: manolo69
priority: normal
severity: normal
status: open
title: type([].append([]))
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
manolo69 f114...@rppkn.com added the comment:
nonetype
should be list???
--
components: +None
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
manolo69 f114...@rppkn.com added the comment:
sorry
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8515
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Do you suggest that after myList = [], myList.append(1) should return the
list?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
R. David Murray rdmur...@bitdance.com added the comment:
Ned: that shouldn't prevent whichdb from figuring out the type of the db file,
though, if I understand correctly.
Niklas: that's unexpected, so I suspect something is not right about how you
inserted the print. You did say you were a
Andrew Svetlov andrew.svet...@gmail.com added the comment:
See issue #3035 for details.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14446
___
R. David Murray rdmur...@bitdance.com added the comment:
It sounds like manolo69 is just confused about what the append operation
returns (which is None). Since this is a carefully considered part of the
design of Python (operations that mutate objects rather than creating a new
object
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14458
___
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Attaching the patch to make depredations.
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file25082/issue5136.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
LGTM (looks good to me). In your NEWS entry, you don’t have to copy the whole
explanation, just say something like “deprecated old, unused functions” and
interested people will be able to come here read the details. In your commit
message, be
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d478c0a68bcb by R David Murray in branch '3.2':
#14434: make tutorial link in 'help' banner version-specific
http://hg.python.org/cpython/rev/d478c0a68bcb
New changeset ee9b6574b497 by R David Murray in branch
R. David Murray rdmur...@bitdance.com added the comment:
Fixed. Thanks for the report, Bill.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14434
Ned Deily n...@acm.org added the comment:
David, right you are. I verified that the current 3.2.3rc2 without gdbm does
correctly recognize a shelve from another Python backed with gdbm 1.10:
dbm.error: db type is dbm.gnu, but the module is not available
Niklas, yes, to build a Python from
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6023d73c6f87 by Andrew Svetlov in branch 'default':
fix issue #5136: deprecate old unused functions from tkinter.
http://hg.python.org/cpython/rev/6023d73c6f87
--
nosy: +python-dev
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Also see #5136 for deprecated C Functions from _tkinter.c
That set have to go away in 3.4 as well as deprecations from tkinter/__init__.py
--
___
Python tracker rep...@bugs.python.org
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Pushed deprecation warnings into default branch.
#14446 updated to add those function to remove list for 3.4 release.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Thanks to Guilherme Polo for idea and to Éric Araujo for review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5136
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
I reproduced the bug.
Roger Serwy, your patch looks working, but can you describe:
1. Why do you need `self.known_invalid` list?
2. Why do you always extend that list (`known_invalid` variable is
just shared alias for
Nick Coghlan ncogh...@gmail.com added the comment:
Attached script is a first cut at a multi-threading stress test for the new
dict behaviour. It should be significantly worse than anything a real world app
is likely to be doing to a dictionary that is shared between threads without
any form
Roger Serwy roger.se...@gmail.com added the comment:
Without the known_invalid list, each call to GetCurrentKeySet would cause an
error message to appear. The effect of keeping track of these bad key bindings
is that the user receives a notification only once about a particular bad key
Roger Serwy roger.se...@gmail.com added the comment:
I can confirm this problem with Ubuntu 11.04.
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14440
___
Chris Rebert pyb...@rebertia.com added the comment:
Links to the rambling Unicode threads for posterity and convenience:
Gets into several issues, among them, Unicode:
http://mail.python.org/pipermail/python-ideas/2012-February/013665.html
Unicode-specific offshoot of the above:
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Ok
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11437
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Thanks, Nick, this is much better than speculation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14417
___
Roger Serwy roger.se...@gmail.com added the comment:
I just realized that if the user, for whatever reason, fixes a bad key binding
and then rebinds it to the previously bad one, no error message would appear.
This can occur if the user is switching between key sets where one key set
contains
Martin v. Löwis mar...@v.loewis.de added the comment:
The errnomodule patch shouldn't be checked in as is. Instead, an elaborate
comment needs to be added fully explaining the situation with the errno codes,
and giving criteria under which cases it is necessary.
On the face value, it's
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
assignee: - asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5680
___
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
You right. That was my concern.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11437
___
Chris Rebert pyb...@rebertia.com added the comment:
The alternative is to call Popen(['xdg-open', etc.]) and check if we get
ENOENT, but I don’t know if this would be non-ambiguous (for example, do we
get ENOENT if xdg-open exists but not the file?).
It's unambiguous. Python itself never
Andrew Svetlov andrew.svet...@gmail.com added the comment:
I like Eric's proposition, e.g. raising error if (list, shell=True) or (str,
shell=False)
If nobody object I can try to make initial patch for that.
--
___
Python tracker
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Why should python compiled with VS2010 have different error codes than one
compiled with the older compilers? We could revisit this in a new python
version, but for now, we should maintain compatibility across compilers.
the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0312db5265d0 by Antoine Pitrou in branch '3.2':
Issue #14406: Fix a race condition when using
`concurrent.futures.wait(return_when=ALL_COMPLETED)`.
http://hg.python.org/cpython/rev/0312db5265d0
New changeset
Antoine Pitrou pit...@free.fr added the comment:
The patch looks fine, I've committed it. Thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14406
Terry J. Reedy tjre...@udel.edu added the comment:
Andrew: I strongly agree with the goal that IDLE should not leave zombie
processes. The background process should die if either 1) IDLE restarts the
shell with a new background process, as with every edit-run cycle, or 2) IDLE
dies. The
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7839
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4653
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 52e32f3b933d by Antoine Pitrou in branch '3.2':
Issue #14456: improve documentation of the signal module w.r.t. threads.
http://hg.python.org/cpython/rev/52e32f3b933d
New changeset 44d13f371811 by Antoine Pitrou in
Antoine Pitrou pit...@free.fr added the comment:
Should be fixed now.
--
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14456
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9246
___
___
Python-bugs-list
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Matt, I'm attaching a pure python version to serve as a better map for how to
implement this in C.
* it incorporate the recent lru_cache algorithmic updates (moving the root
around the circular queue to re-use old links).
* it
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Terry, sorry.
That's definitely posix-specific bug. I'll make a patch assuming Windows works
well with killing IDLE.
To be polite I'll describe used signal names shortly.
SIGKILL, SIGTERM, SIGINT and SIGQUIT are used to stop process.
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Updated to show how to handle the kwd_mark and the try/except.
--
Added file: http://bugs.python.org/file25085/lru_cache_class.py
___
Python tracker rep...@bugs.python.org
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file25084/lru_cache_class.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
Eric V. Smith e...@trueblade.com added the comment:
While I still think raising those errors is a good thing, we should also look
at Nick's shell-command:
http://shell-command.readthedocs.org/en/latest/index.html
--
___
Python tracker
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Nick's library is awesome and I +1 to include it into stdlib if Nick is ready
to do.
But also I like to prevent obviously bad usage of popen.
We cannot and don't want to remove popen shell=True param, so let's add raising
exception
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14417
___
Stefan Krah stefan-use...@bytereef.org added the comment:
By adding a slow __eq__() method to Nick's script I can trigger the
RuntimeError reliably.
--
nosy: +skrah
Added file: http://bugs.python.org/file25086/hammer_dict_eq.py
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
Yes, Nick's library looks good, but that should be a separate issue, it isn't
really relevant to this one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7839
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f96b603278cc by Antoine Pitrou in branch '3.2':
Issue #14437: Fix building the _io module under Cygwin.
http://hg.python.org/cpython/rev/f96b603278cc
New changeset 6f8dd543d80a by Antoine Pitrou in branch '2.7':
Antoine Pitrou pit...@free.fr added the comment:
Fix committed in 2.7 and 3.2. 3.3 shouldn't be affected. Thank you!
--
nosy: +pitrou
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
versions: -Python 3.3
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b038bfc67e3d by Sandro Tosi in branch 'default':
Issue #14316: fix broken link; fix by Éric Araujo
http://hg.python.org/devguide/rev/b038bfc67e3d
--
nosy: +python-dev
___
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14316
Changes by Antoine Pitrou pit...@free.fr:
--
versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11273
___
Antoine Pitrou pit...@free.fr added the comment:
While optimizing stuff is nice, I'm not sure there's a use case here. Does it
significantly speed up a real-world workload you're having?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
The solution outlined in the issue title (utf-8-bmp codec) sounds like a
rather dubious idea.
--
nosy: +loewis, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14304
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3a220feafa15 by Antoine Pitrou in branch '3.2':
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the
socket repr()).
http://hg.python.org/cpython/rev/3a220feafa15
New changeset d2f0c3eb1eed
Antoine Pitrou pit...@free.fr added the comment:
Thank you Matt. I've now committed the patch in relevant versions.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python
Sven Marnach s...@marnach.net added the comment:
Thanks, Antoine! It's perfectly clear now, and the newly introduces headlines
are a definite improvement.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14456
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5be4d8fc9c44 by Antoine Pitrou in branch 'default':
Issue #14300: Under Windows, sockets created using socket.dup() now allow
overlapped I/O.
http://hg.python.org/cpython/rev/5be4d8fc9c44
--
nosy:
Antoine Pitrou pit...@free.fr added the comment:
Ok, I've committed the patch to 3.3 since it can be useful with the new wait()
method. Thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14286
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Hmm... seems to work here (in release mode, for some reason it's skipped in
debug mode).
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14286
Antoine Pitrou pit...@free.fr added the comment:
Closing then.
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14116
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
stage: test needed - patch review
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1641544
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14141
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Thanks for the patch. I don't think it deserves to be a public API (it could be
a private function, i.e. starting with an underscore).
Also, it's better if you can add a test (to Lib/test/test_multiprocessing.py)
checking that ValueError is
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: mwh -
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: +multiprocessing.Condition.wait_for missing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14059
___
Antoine Pitrou pit...@free.fr added the comment:
AFAICT (Raw)Value relies on ctypes, so the tests should be skipped if ctypes is
unavailable. Or I guess you could use a Semaphore instead.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
Just a bit more info: ^D and ^\ in Command Prompt interpreter print '^D' or
'^\'. Return causes syntax error. ^Z\n in interpreter causes silent close.
(Because DOS used ^Z as end-of-file.)
^D in IDLE causes silent close. IDLE ignores ^\ and
STINNER Victor victor.stin...@gmail.com added the comment:
(1) Platform doesn't support this feature - raise NotImplemented
It's better to not define the function if the platform doesn't support
the feature.
--
___
Python tracker
1 - 100 of 110 matches
Mail list logo