Larry Hastings la...@hastings.org added the comment:
Note: I can't test this, as I only run Windows XP. But it compiles cleanly on
Windows, and on Linux it compiles and passes the test suite fine.
--
___
Python tracker rep...@bugs.python.org
Dmitry Shachnev mity...@gmail.com added the comment:
This seems to be an enhancement sort of request rather than a bug... so I
wonder why Python 3.2 is listed?
Fixed.
... although I see nothing in the PEP about how to access that information
from Python.
You are right, it seems there is
Larry Hastings la...@hastings.org added the comment:
I got bored so I made you a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file26125/larry.random_seed.ssize_t.1.diff
___
Python tracker rep...@bugs.python.org
Changes by Larry Hastings la...@hastings.org:
--
assignee: - larry
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15118
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 796d9fc28e95 by Ned Deily in branch 'default':
Issue #13590: Improve support for OS X Xcode 4:
http://hg.python.org/cpython/rev/796d9fc28e95
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Can I suggest setting a “safe” attribute on the rmtree function object instead
of adding another name to the module?
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
Hynek Schlawack h...@ox.cx added the comment:
I thought about that too but couldn't find a precedent (I didn't look very long
though :)) where we've done that before so I went for an attribute. I'd change
it immediately if others agree.
--
___
Nick Coghlan ncogh...@gmail.com added the comment:
I'm in the process of updating the LBYL support to use a
rmtree.avoids_symlink_attacks function attribute rather than the
rmtree_is_safe module level attribute.
As I said in the hmac.secure_compare function discussion, the words safe and
Éric Araujo mer...@netwok.org added the comment:
Do you have links to those patches?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13512
___
Éric Araujo mer...@netwok.org added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14772
___
___
Python-bugs-list mailing
Hynek Schlawack h...@ox.cx added the comment:
Excellent Nick! I discussed the very same thing with David yesterday but
somehow we didn't come up with a good name. So we kept it on safe (which
predates the secure discussion).
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
So sys.dont_write_bytecode is there to prevent bytecode writing but not
loading.
Ah right. Providing a way to avoid reading them sounds good.
If you set sys.implementation.cache_tag to None you stop all bytecode usage
(reading and writing)
Éric Araujo mer...@netwok.org added the comment:
I don’t know; Antoine is the io expert. I just remember that io used to be in
C and was moved to _pyio for documentation and experimentation purposes, so I
was sure it was a fully standalone lib but I could be mistaken.
--
Larry Hastings la...@hastings.org added the comment:
Bikeshedding:
(os.unlink in os.supports_dir_fd and os.open in os.supports_dir_fd)
could be rewritten as
{ os.open, os.unlink } = os.supports_dir_fd
As you were!
--
___
Python tracker
Eric Snow ericsnowcurren...@gmail.com added the comment:
Brett meant the implementation would set it. You'd still expect it to not
change values during the execution of the interpreter. I suppose anyone could
change that value, but I'd see that more as a consenting adults situation.
Éric Araujo mer...@netwok.org added the comment:
The code using set operations seems slightly too cryptic for me, even though
I’m comfortable with sets and functions as first-class objects. A matter of
taste I guess.
BTW it sounds a bit strange to me to have the verb in the singular in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c2be81151994 by Nick Coghlan in branch 'default':
Issue #4489: Rename the feature marker for the symlink resistant rmtree and
store it as a function attribute
http://hg.python.org/cpython/rev/c2be81151994
Larry Hastings la...@hastings.org added the comment:
I guess it’s too late to propose “os.open.supports_dir_fd and
os.unlink.supports_dir_fd” (and I don’t know if that is feasible
with C functions) :)
Where were you when is_implemented was being savagely torn apart last week?
;-)
Éric Araujo mer...@netwok.org added the comment:
I was at work, and moving out of my apartment, and desperating at the
subthreads spawned by my mail about packaging, and agreeing with the people
being -1 on is_implemented on Signature objects :-)
--
Nick Coghlan ncogh...@gmail.com added the comment:
Éric - there's almost certainly going to be a PEP for 3.4 about doing this kind
of feature advertisement in a cleaner and more consistent way.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Yep, that is promising. At worst we’ll have a new cool API and three obsolete
sets in the os module, not a big deal.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
Martin v. Löwis mar...@v.loewis.de added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14815
___
___
Python-bugs-list mailing
Hynek Schlawack h...@ox.cx added the comment:
Okay everyone, let's call it day – after 3,5 years. :) Further enhancement
requests please in separate tickets. Thanks to everybody who took part!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Serhiy Storchaka storch...@gmail.com added the comment:
It would be nice to fix this bug before forking of the 3.3.0b1 release clone.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1767933
Serhiy Storchaka storch...@gmail.com added the comment:
It would be nice to fix this bug before forking of the 3.3.0b1 release clone.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
Nick Coghlan ncogh...@gmail.com added the comment:
-1. The entire Python API is already accessible from C, so expansions to the
public C API need more justification than it's exposed in Python.
If new instances of this type end up being used in performance critical third
party C extensions,
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 781b95159954 by Gregory P. Smith in branch '3.2':
Fixes issue #12268: File readline, readlines and read() or readall() methods
http://hg.python.org/cpython/rev/781b95159954
New changeset 19a6bef57490 by Gregory P.
Serhiy Storchaka storch...@gmail.com added the comment:
Any chance to commit the patch before final feature freeze?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14315
___
Gregory P. Smith g...@krypto.org added the comment:
I'm leaving this open as I still need to audit the write methods and commit the
fix(es) for 2.7.
I tried to merge the test into test_io's signals tests but I could not get that
to actually work to reproduce the original problem so I kept my
Serhiy Storchaka storch...@gmail.com added the comment:
Any chance to commit the patch before final feature freeze?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14304
___
Éric Araujo mer...@netwok.org added the comment:
sysonfig.cfg removed in e989e7586da6.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15147
Changes by Hynek Schlawack h...@ox.cx:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15100
___
___
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: -hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13520
___
___
Python-bugs-list mailing list
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: -hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7719
___
___
Python-bugs-list mailing list
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: -hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14974
___
___
Python-bugs-list mailing list
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: -hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10142
___
___
Python-bugs-list mailing list
Mark Summerfield m...@qtrac.eu added the comment:
I think that BooleanVar.set(x) should do bool(x) on its argument (and raise an
exception if this isn't valid) and BooleanVar.get() should return a bool.
Similarly I think that IntVar.set(x) should do int(x) and IntVar.get() should
return an
Mark Summerfield m...@qtrac.eu added the comment:
Oh, and I forgot to say that I think StringVar.set(x) should do str(x) and
StringVar.get() should return a str.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15133
Martin v. Löwis mar...@v.loewis.de added the comment:
Strictly speaking, the feature freeze has passed already, so you'll need the
time machine.
However, this is not the *final* feature freeze - there will be a 3.4 release
of Python also.
--
___
Hynek Schlawack h...@ox.cx added the comment:
It also passes OS X.
There are no patch specific tests though. And alas, I don't have any platform
at hand that would benefit from these additions. :(
The idea sounds good to me and the code LGTM though. However I can't really say
much as I
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15118
___
___
Python-bugs-list mailing list
New submission from R. David Murray rdmur...@bitdance.com:
I've been working on this steadily for a while. I think it is now all working
correctly. At least, it passes all the same tests that the existing RFC mime
header parser passes, plus a bunch of additional ones.
There are a couple of
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 166599219bd4 by Larry Hastings in branch 'default':
Issue #14815: Use Py_ssize_t instead of long for the object hash, to
http://hg.python.org/cpython/rev/166599219bd4
--
nosy: +python-dev
Changes by Larry Hastings la...@hastings.org:
--
resolution: - fixed
stage: - commit review
status: open - closed
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14815
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0adccb941200 by R David Murray in branch 'default':
#15160: Extend the new email parser to handle MIME headers.
http://hg.python.org/cpython/rev/0adccb941200
--
nosy: +python-dev
R. David Murray rdmur...@bitdance.com added the comment:
Committed with release manager agreement.
--
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15160
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 84db4c3ce318 by Vinay Sajip in branch 'default':
Closes #15157: pydoc script added to venvs.
http://hg.python.org/cpython/rev/84db4c3ce318
--
nosy: +python-dev
resolution: - fixed
stage: -
Eli Bendersky eli...@gmail.com added the comment:
I will try to find time to review it before the fork, but since time is tight I
don't promise.
That said, this patch falls more into the bugfix category than a new feature,
so I think it will be OK after beta as well.
--
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Closed for lack of evidence, please re-open when and if more information is
available.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4445608cf434 by Larry Hastings in branch 'default':
Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.
http://hg.python.org/cpython/rev/4445608cf434
--
Antoine Pitrou pit...@free.fr added the comment:
The sysconfig module was modified (and sysconfig.cfg was introduced)
to serve the needs of the resource system (install_data putting files
into system-configured locations and packaging.database finding them);
one of the thousand things
New submission from Georg Brandl ge...@python.org:
For pathconf() / fpathconf() and truncate() / ftruncate() the former didn't
support fds as path. These two patches should fix it.
--
assignee: larry
components: Extension Modules
files: pathconf.diff
keywords: patch
messages: 163760
Antoine Pitrou pit...@free.fr added the comment:
I don't like this idea. Normally the system calls wrapped by the os module are
fairly atomic. Here you're introducing the possibility for potentially nasty
race conditions and exploits.
--
nosy: +neologix
Changes by Georg Brandl ge...@python.org:
Added file: http://bugs.python.org/file26128/truncate.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15161
___
Antoine Pitrou pit...@free.fr added the comment:
I have a link to the Mageia patch:
http://svnweb.mageia.org/packages/cauldron/python/current/SOURCES/python-2.7.3-upstream-pypirc-secure.patch?revision=261722view=markup
--
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
We should keep sysconfig imo
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15147
___
Georg Brandl ge...@python.org added the comment:
From 3.2, os has a function get_exec_path -- shouldn't which() use it instead
of rolling its own query of $PATH?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
All Windows buildbots are failing now:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5):
error MSB3073: The command cd
d:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\PCbuild\
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset da416ff1ecf5 by Georg Brandl in branch 'default':
Closes #15161: add support for giving path as a fd for truncate() and
pathconf().
http://hg.python.org/cpython/rev/da416ff1ecf5
--
nosy: +python-dev
Larry Hastings la...@hastings.org added the comment:
I think you're right. As Antoine pointed out in irc, for POSIX platforms,
modules in os are almost exclusively atomic. This is a useful (if
undocumented) feature from a security viewpoint, and we should not break it
lightly.
Closing as
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset fc84ac3e8dfc by Stefan Krah in branch 'default':
Issue #15102: Try setting HOST_PYTHON in build-amd64.bat as a temporary
http://hg.python.org/cpython/rev/fc84ac3e8dfc
--
Stefan Krah stefan-use...@bytereef.org added the comment:
I'm trying out my suggestion on the 64-bit bot. Will revert if it
doesn't work out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15102
klappnase klappn...@web.de added the comment:
The behavior of Tkinter when handling boolean values appears to be a bit
erratic at times, not only BooleanVar.get() returns 0/1 instead of True/False
(e.g. see the thread at tkinter-discuss:
Changes by Pan Yongzhi fossi...@users.sourceforge.net:
--
nosy: +fossilet
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7391
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Well, the path to python_d.exe looks right now, but Perl and nasm
aren't found:
C:\Users\Buildbot\buildbot.python.org\3.x.kloth-win64\build\PCbuild\amd64\python_d.exe
build_ssl.py Release x64 -a
Found a working perl at
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm trying out my suggestion on the 64-bit bot. Will revert if it
doesn't work out.
Even if it does work out it should be reverted. As HOST_PYTHON is not
set, PythonExe should be computed correctly. So we really need to find
out why it
Martin v. Löwis mar...@v.loewis.de added the comment:
On 24.06.2012 13:22, Stefan Krah wrote:
Stefan Krah stefan-use...@bytereef.org added the comment:
Well, the path to python_d.exe looks right now, but Perl and nasm
aren't found:
perl shouldn't be necessary. Not sure why nasm is.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 460407f35aa9 by Larry Hastings in branch 'default':
Issue #15118: Change return value of os.uname() and os.times() from
http://hg.python.org/cpython/rev/460407f35aa9
--
nosy: +python-dev
Larry Hastings la...@hastings.org added the comment:
Yummy!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15118
Larry Hastings la...@hastings.org added the comment:
Martin: does this sound good or bad?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14917
___
Antoine Pitrou pit...@free.fr added the comment:
Uh. This was *removed* in a7406565ef1c :)
See issue13772.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14917
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c82451eeb595 by Christian Heimes in branch 'default':
Issue #15061: Re-implemented hmac.compare_digest() in C
http://hg.python.org/cpython/rev/c82451eeb595
--
___
Python
Larry Hastings la...@hastings.org added the comment:
Well then! Let's close this before the adults notice.
--
resolution: - wont fix
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Ramchandra Apte maniandra...@gmail.com:
help() says This is the online help utility. even though it isn't.
I think this sentence should be hanged to This is the offline help utility.
--
components: Library (Lib)
messages: 163782
nosy: ramchandra.apte
priority: normal
Barry Alan Scott barry-sc...@users.sourceforge.net added the comment:
I'm happy to review patches or create them for you.
I see a related set of errors on Mac OS X that are down to issues in
bytes_methods.py that mirror the pyport.h issues.
In C++ isspace and friends are functions not macros.
Christian Heimes li...@cheimes.de added the comment:
Thanks to all for your input and assistance!
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Not sure offline is more true here; maybe integrated is better.
Also not sure the sentence deserves the death penalty.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
interactive then?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15162
___
___
Jeremy Kloth jeremy.kl...@gmail.com added the comment:
Hmm, obviously Perl *is* found. That leaves nasm.
nasm.exe was installed for myself (hence testing worked). I've now
made it available to the buildbot account as well.
Note that I have Perl installed but *not* on my PATH (on purpose).
New submission from Antoine Pitrou pit...@free.fr:
Everything's in the title. __loader__ probably needs to be blacklisted.
--
components: Library (Lib)
messages: 163788
nosy: brett.cannon, eric.snow, pitrou
priority: low
severity: normal
stage: needs patch
status: open
title: pydoc
Stefan Krah stefan-use...@bytereef.org added the comment:
Jeremy Kloth rep...@bugs.python.org wrote:
nasm.exe was installed for myself (hence testing worked). I've now
made it available to the buildbot account as well.
Note that I have Perl installed but *not* on my PATH (on purpose).
The
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a patch, please review.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file26129/issue15156.diff
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Well, the original change to using utf-8 by default was considered a bug fix.
But I suppose you are right that this goes beyond that into enhancement
territory. In which case we could wait for an enhancement to the C API to base
it
Stefan Krah stefan-use...@bytereef.org added the comment:
Jeremy, your python-dev suggestion to move x64.props before pyproject.props
does not work for me. For instance, in python3dll.vcxproj:
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error
MSB3073:
R. David Murray rdmur...@bitdance.com added the comment:
You could make the test a loop, with the timeout increasing each time through
the loop, failing only if all tries fail. That way on faster machines the test
will pass faster. It'll take even longer on slow machines, but they are slow
Antoine Pitrou pit...@free.fr added the comment:
For the record, there was a crash on the ARM buildbot:
[196/368/1] test_io
Timeout (1:00:00)!
Thread 0x2aac5300:
File
/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_io.py,
line 3051 in check_interrupted_write_retry
R. David Murray rdmur...@bitdance.com added the comment:
Oh you youngsters. Offline doesn't mean not on the Internet, it means not
on a computer :)
Yes, interactive would be clearer.
--
nosy: +r.david.murray
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1ff29f3b8da7 by Georg Brandl in branch 'default':
Closes #15162: the meaning of online has shifted a bit in recent years, use
interactive instead.
http://hg.python.org/cpython/rev/1ff29f3b8da7
--
nosy:
Brett Cannon br...@python.org added the comment:
Yes, it should be tackled soon, but I lack Windows access so I can't do the
work myself. Basically no one seems to use or care about this feature so it
might die on the vine if someone doesn't step forward.
--
Brett Cannon br...@python.org added the comment:
Sorry, been on vacation the past week.
Georg is right, nothing left is a b1 blocker, just stuff I want to get in
before 3.3 ships.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
I don't think the Windows example in the reST documentation is correct:
print(shutil.which(python))
'c:\\python33\\python.exe'
It should be either
shutil.which(python)
'c:\\python33\\python.exe'
Brett Cannon br...@python.org added the comment:
Thanks for the patch, Pranav. I'm probably going to be too busy for a couple of
weeks, so I won't look at this immediately, but I wanted to let you know I will
eventually get to it.
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 84b48551cd13 by Georg Brandl in branch 'default':
#444582: fix example and rewrap docs a bit.
http://hg.python.org/cpython/rev/84b48551cd13
--
___
Python tracker
Brett Cannon br...@python.org added the comment:
So co_filename is absolute in Python 3.3, but __file__ on modules is not if a
relative path is used from sys.path (as Nick pointed out). Changing this would
possibly break code as this has been baked into the import system for quite
some time.
Brett Cannon br...@python.org added the comment:
Do people feel the need to change the importlib tests to run against both the
frozen code and importlib/_bootstrap.py? If so either the test_warnings
approach (or a new one using class decorators or something) should be used to
run the tests
Antoine Pitrou pit...@free.fr added the comment:
Ouch. The test failures on the buildbot now seem to point to problems with
OpenSSL's SHA1 implementation.
Jeremy, perhaps you can try to run the OpenSSL self-tests?
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Stefan: I think that's acceptable. Perhaps someone will come up with a better
solution; if this works, it's good enough for me.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f12a2f2c93e5 by Stefan Krah in branch 'default':
Issue #15102: Fix paths of python executables.
http://hg.python.org/cpython/rev/f12a2f2c93e5
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I like test_email’s decorator. It looks like
https://github.com/wolever/nose-parameterized which I’m using. (The
implementation and generation of test method names may be less nice than what
was discussed here, but the API (decorator + list
New submission from Georg Brandl ge...@python.org:
Followup to #15118.
See rev 75b818d7c50d -- the patch converted a usage of platform.uname(), which
errored out on Mac.
Since os.uname() is supposed to be the low-level interface, it suggests that
platform.uname() should also return an
1 - 100 of 217 matches
Mail list logo