Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I'm not sure about the __del__: if pypy's deferred garbage collection is not
enough to close self._file, how can a __del__ method help?
--
nosy: +amaury.forgeotdarc
___
Python tracker
Petr Kubat killm...@gmail.com added the comment:
I see. So calling help('help') should produce the documentation on the help()
function and typing help at the help prompt should print the help for the
prompt.
Tricky indeed. I think I'll look at it during the day after tomorrow and post
some
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13857
___
Changes by Gökçen Eraslan gok...@pardus.org.tr:
--
nosy: +Gökçen.Eraslan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7300
___
___
Hynek Schlawack h...@ox.cx added the comment:
Fair enough, I'm not going to question your obviously superior judgement here.
:)
However, your patch currently breaks the test suite on any platform that uses
the fallback rmtree: You forgot the ignore_errors=False in the _rmtree_unsafe
New submission from Nick Coghlan ncogh...@gmail.com:
Running test_gdb on Fedora 17 produces a litany of the following error:
- warning: File /home/ncoghlan/devel/py3k/python-gdb.py auto-loading has been
declined by your `auto-load safe-path' set to
Nick Coghlan ncogh...@gmail.com added the comment:
In addition, we should probably report this as a test skip rather than as a
litany of test failures.
--
components: +Tests
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15043
New submission from Nick Coghlan ncogh...@gmail.com:
After upgrading from Fedora 16 - 17, my previously working trunk build is
getting the following error:
Building '_dbm' extension
gcc -pthread -fPIC -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes
-DHAVE_NDBM_H -IInclude -I. -I./Include
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6f7afe25d681 by Nick Coghlan in branch 'default':
Close #13857: Added textwrap.indent() function (initial patch by Ezra
http://hg.python.org/cpython/rev/6f7afe25d681
--
nosy: +python-dev
resolution: - fixed
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
This has been fixed with the proper 2010 support
--
resolution: - fixed
status: open - closed
superseder: - Support Visual Studio 2010
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
Ezra (and anyone interested) may want to take a look at the checked in version
to see some of the changes I made while preparing the patch for commit.
- name changes and slight restructure as discussed on the review
- splitlines() invocation
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Brian, reopening this since the original issue isn't addressed: The path and
module attributes aren't part of the error repr
--
status: closed - open
___
Python tracker
New submission from Nick Coghlan ncogh...@gmail.com:
In working on #13857, I noticed that the current regex based implementation of
textwrap.dedent() is limited specifically to ASCII whitespace (tabs and spaces)
with Unix line endings (a line containing solely a Windows \r\n line ending
will
Changes by Nick Coghlan ncogh...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13857
___
Changes by Samuel John pyt...@samueljohn.de:
--
nosy: +samueljohn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11445
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 60a7b704de5c by Richard Oudkerk in branch '2.7':
Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
http://hg.python.org/cpython/rev/60a7b704de5c
New changeset 5643697070c0 by Richard Oudkerk
Jason Tishler ja...@tishler.net added the comment:
I offer the attached patch for consideration. AFAICT, only the Makefile.pre.in
and build_ext.py changes are required. I included the makesetup change for
completeness and to be consistent with the other changes.
--
keywords: +patch
New submission from Marco den Otter marco.den.ot...@nspyre.nl:
In the file socket_connection.c on line 139 a cast to Py_ssize_t is missing for
the return value.
Is:
return res 0 ? res : ulength;
Should be
return res 0 ? (Py_ssize_t)res : (Py_ssize_t)ulength;
Now it can be possible that
Brett Cannon br...@python.org added the comment:
If you look at line 127 in importlib/_bootstrap.py you will see that it is an
os.open() call to open the bytecode file for exclusive writing. I'm willing to
bet the buildbot didn't have the directory writable or something and that
triggered the
Richard Oudkerk shibt...@gmail.com added the comment:
Thanks for the patch, I have applied it. (I don't think there was a problem
with the promotion rules because res was a never converted to UINT32.)
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Richard Oudkerk shibt...@gmail.com added the comment:
The docs were patched in changeset 9fa52478b32b, so I will close.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - later
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10037
___
Richard Oudkerk shibt...@gmail.com added the comment:
I don't think there is any problem here since you have control over which
arguments you pass to __init__.
Without a reason why that is not a solution I will eventually close the issue
as rejected.
--
resolution: - rejected
stage:
Richard Oudkerk shibt...@gmail.com added the comment:
Unless you have a reason why imap() does not solve the problem I will
eventually close the issue as rejected.
--
resolution: - rejected
stage: - committed/rejected
status: open - pending
___
Changes by Samuel John pyt...@samueljohn.de:
--
nosy: +samueljohn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14499
___
___
Python-bugs-list
andrew cooke and...@acooke.org added the comment:
hi - i'm the original author (may be using a different account). as far as i
remember, i raised this because it seemed relevant given the link i gave. if
you've looked at the issue and think your approach would work, or that this
should be
Ram Rachum r...@rachum.com added the comment:
I opened this issue 2 years ago, and I don't remember it being easily solvable
back then. But I've long forgotten what the problems were, and I've lost
personal interest in it, so I guess we'll just let it go.
--
status: pending - open
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c2910971eb86 by Richard Oudkerk in branch 'default':
Issue #3518: Remove references to non-existent BaseManager.from_address()
http://hg.python.org/cpython/rev/c2910971eb86
--
nosy: +python-dev
Richard Oudkerk shibt...@gmail.com added the comment:
OK, I'll close.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8289
___
Richard Oudkerk shibt...@gmail.com added the comment:
I'll close then.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12897
___
Changes by Richard Oudkerk shibt...@gmail.com:
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3518
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
This was originally posted on python-dev, but I hope reposting it here will
make this issue easier to navigate.
With addition of fixed offset timezone class and the timezone.utc
instance [0], it is easy to get UTC time as
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This was fixed 3 hours ago, with issue10133 :)
--
nosy: +amaury.forgeotdarc
resolution: - out of date
status: open - closed
superseder: - multiprocessing: conn_recv_string() broken error handling
Éric Araujo mer...@netwok.org added the comment:
Just recommend the astimezone use in the docs
and recommend creating tz-aware instances in the first time (i.e. calling
now(utc) instead of utcnow()), +1.
--
nosy: +eric.araujo
___
Python tracker
New submission from Jason Tishler ja...@tishler.net:
The Cygwin build is failing during make install -- specifically, during the
regen step:
[snip]
mkdir
/home/jt/src/cygwin/cygwin-packages/1.7/python3-test/python-3.2.3-1/src/Python-3.2.3/Lib/plat-cygwin
cp
mattip matti.pi...@gmail.com added the comment:
Revised patch: changes to mailbox.py were not needed for pypy. Someone did a
good job with mailbox.py in stdlib 2.7.3
Now the patch only changes tests. The tests in 3.3 are very different, it seems
to me there is little that can be reused there.
R. David Murray rdmur...@bitdance.com added the comment:
Ah, good. I thought we'd fixed the open/close issues, but I could easily
believe we had missed something (especially in Python2).
Since the fp stuff is gone in 3, I'd be OK with just applying this.
--
versions: -Python 3.2,
Michael Driscoll m...@pythonlibrary.org added the comment:
Do I need to do anything else to those patches I submitted?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14446
___
Michael Driscoll m...@pythonlibrary.org added the comment:
I added the extra information to the docstring for the shuffle method and
attached a patch.
--
keywords: +patch
nosy: +michael.driscoll
Added file: http://bugs.python.org/file25938/shuffle.patch
Christopher Smith smi...@users.sourceforge.net added the comment:
On Tue, Jun 12, 2012 at 1:34 AM, Michael Driscoll
rep...@bugs.python.org wrote:
Michael Driscoll m...@pythonlibrary.org added the comment:
I added the extra information to the docstring for the shuffle method and
attached a
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
It could be a number of things which are keeping the file open, e.g.
* Windows indexing the volume for search
* Child process keeping files open (e.g. while copying log files - I can't tell
what you're actually copying)
You may need to
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Hi Jason,
if you look in default rule you will see the same, so this relict specific
else case could be removed. Also in Lib/packaging/command/build_ext.py.
--
nosy: +rpetrov
___
Python
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
There is one long standing issue with length of the build path ...
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14599
Michael Driscoll m...@pythonlibrary.org added the comment:
I don't see the error, TimeoutExpired, documented either. At least the doc page
mentions CalledProcessError a couple times. Do we want to use the docstring for
CalledProcessError for the documentation page? Where on the page would it
Michael Driscoll m...@pythonlibrary.org added the comment:
I thought the ebook, Modern Tkinter for Busy Python Developers by Mark
Roseman was pretty good too:
http://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/ref=sr_1_1?ie=UTF8qid=1339446684sr=8-1
--
nosy:
Roger Serwy roger.se...@gmail.com added the comment:
@Ramchandra: __name__ does not exist for many objects.
This issue with the sys.stdout.write encompasses a lot of other issues
involving the shortcomings of the RPCProxy object. The following code prevents
another prompt from appearing:
Brett Cannon br...@python.org added the comment:
Roumen, what issue is that? Do you have an issue # you can share?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14599
___
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Michael Driscoll, thank you for patch.
Let's go on after Python 3.3 release — those patches should be applied for 3.4.
For now we need to wait.
--
___
Python tracker rep...@bugs.python.org
New submission from James Kyle b...@jameskyle.org:
This behavior is present on OS X 10.7 and framework builds.
In this case, the /Library/Python/version paths are included in every
install.
I would consider this behavior non-standard as in most manual python installs
only that installations
Ronald Oussoren ronaldousso...@mac.com added the comment:
This is intentional behavior, you can install packages you want to share
between python installations in /Library/Python instead of the regular
site-packages directory.
Macports could always patch their site.py file to avoid this.
Ronald Oussoren ronaldousso...@mac.com added the comment:
This was added in issue4865.
(The same behavior is present in 3.2 and 3.3)
--
resolution: - rejected
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15048
___
___
James Kyle b...@jameskyle.org added the comment:
Am I missing something or were the problems delineated in issue #4865 solvable
by simply sys.path.append(/Library/Python/2.7/site-packages)?
What would the process be for reopening this issue for discussion?
I'm not sure this is the right way
Ronald Oussoren ronaldousso...@mac.com added the comment:
Python installation are already not isolated: there is a per-user site-packages
directory on all platforms that is shared between all installations of a
particular python release. This directory is located in a subdirectory of
~/.local
James Kyle b...@jameskyle.org added the comment:
Fair enough. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15048
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Brett, I reopened this because you said earlier that the test_reprlib
failure is due to a race condition where an invalidate_caches()
call is needed.
You're quite right of course that the new occurrence could be caused
by something
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Reopening. given the uncertainty with #9527, this issue may result in getting
the TZ-aware local time support in stdlib sooner.
--
resolution: duplicate -
stage: committed/rejected - patch review
status: closed -
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14927
___
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14927
___
___
New submission from R. David Murray rdmur...@bitdance.com:
rdmurray@hey:~/python/p32cat bad.py
This line is just ascii
A second line for good measure.
This comment contains undecodable stuff: � or \\xe9 in pass� cannot
be decoded.
The last line above is in latin-1, with an é
Ned Deily n...@acm.org added the comment:
I have to admit that I'm not keen on this feature for the reasons James cited.
And I think the example of the shared user site directory is not a good
analogy. In that case, you, as a user, have more control over the presence and
contents of the
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Two objections have been raised to the proposed datetime.localtime() function:
1. It offers the third subtly different way to obtain current time in datetime
module. The first two being provided by datetime.now() and
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Added file: http://bugs.python.org/file25940/testtz.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9527
___
Ned Deily n...@acm.org added the comment:
A few more thoughts. The original impetus for this feature was Issue4865. The
use case there seem to be from users of Google App Engine back when it was
released using Python 2.5. It seems to me that the use of dmg installers for
Python packages has
James Henstridge ja...@jamesh.id.au added the comment:
One problem I can see with using a fixed offset tzinfo for localtime is that it
might confuse people when doing date arithmetic. For example:
d = datetime.localtime() + timedelta(days=7)
While it will give a correct answer as a
Eric Snow ericsnowcurren...@gmail.com added the comment:
Is this documented in whatsnew?
I'm not sure what has been (none of my patches have done so).
Also, I remember a discussion about making it public or not, but
don’t recall a decision.
Amaury brought it up in msg162127. His point was
66 matches
Mail list logo