Changes by Georg Brandl ge...@python.org:
--
assignee: kbk - ned.deily
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1028
___
___
Changes by Christoph Gohlke cgoh...@uci.edu:
--
nosy: +cgohlke
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4709
___
___
Python-bugs-list mailing
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Updated the benchmarking code to include a 4th variant that accumulates sorted
sublists during the partitioning phase.
Results from one run:
n: 10 k: 100
[105856, 105917, 105951, 105977, 106366] nsmallest
[166465,
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
Removed file: http://bugs.python.org/file20748/heapq_benchmark.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11180
___
Antoine Pitrou pit...@free.fr added the comment:
This is a potential crasher.
It would also be nice if you listed those cases where Python assumes signed
overflow behaviour. Can you open a separate issue for that?
--
nosy: +mark.dickinson, pitrou
priority: normal - high
versions:
New submission from rg3 sarbalap+freshm...@gmail.com:
If you run the attached program, you can see the program hangs in the
connection close stage. Uncommenting the sleep line makes the program work, so
I suspect some kind of race condition.
The URL used belongs to a Slackware Linux mirror. I
muxum mxgn...@gmx.de added the comment:
aww ic
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11198
___
___
Python-bugs-list mailing list
R. David Murray rdmur...@bitdance.com added the comment:
Looks good to me.
I wonder if the existing example should be moved up above the description of
the chmod flags, though. This update puts it even farther away from the
functions it is an example of.
--
Changes by Éric Araujo mer...@netwok.org:
--
superseder: eliminate recursion in pickling -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3119
___
Ray.Allen ysj@gmail.com added the comment:
1. Make keys(), values(), items() methods return view object for ndbm, gdbm
and dumb objects. I following the codes in dictobject.c.
Did you have to copy the code? Isn’t it possible to somehow reuse it?
I feel not so easy to reuse the code,
Changes by Ray.Allen ysj@gmail.com:
Added file: http://bugs.python.org/file20751/issue_9523.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9523
___
New submission from Toshio Kuratomi a.bad...@gmail.com:
When trying to build distribute on the latest python-3.2rc I get the following
traceback in the unittests (two others that are similar as well):
==
ERROR: test_develop
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11200
___
___
Python-bugs-list
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11200
___
Antoine Pitrou pit...@free.fr added the comment:
Actually, looks like distribute should be updated to include abiflags in
self.config_vars in setuptools/command/easy_install.py. There seems to be a
whole bunch of code pasted directly from distutils and it isn't up-to-date
anymore. Compare:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11201
___
___
Python-bugs-list mailing
Brian Curtin cur...@acm.org added the comment:
Can you confirm that the checksum and size of the file you downloaded matches
what's on the site: http://www.python.org/download/releases/2.7.1/
--
components: +Windows
nosy: +brian.curtin
___
Python
New submission from Anders Østhus grapz...@gmail.com:
Hi
I'm running Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit
(AMD64)] on win32 (Server 2008 R2).
I've discovered that when moving files with shutil.move, the file won't inherit
the security settings as it should.
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Library (Lib) -IO
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11202
___
New submission from Ana Koren ana.ko...@gmail.com:
I'm running Windows 7 (32-bit) and I downloaded Python 2.7.1 Windows Installer
but I can't install it. I get this message:
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this
Ana Koren ana.ko...@gmail.com added the comment:
Yes, I downloaded it from there.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11201
___
___
Antoine Pitrou pit...@free.fr added the comment:
Intuitively, this seems rather normal to me. If I move a file under Unix, I
don't expect its access rights or ownership to change. Move really means what
it means: you have to update its permission explicitly if that's what you need
Brian Curtin cur...@acm.org added the comment:
shutil.move is implemented using copy2, which as the documentation states at
the top, On Windows, file owners, ACLs and alternate data streams are not
copied.
See http://docs.python.org/library/shutil
--
nosy: +brian.curtin
resolution:
corenova ana.ko...@gmail.com added the comment:
I get the same message when trying to install older versions (2.x) as well as
new 3.1.3
I also tried ActivePython and same thing happens.
--
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin cur...@acm.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11202
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
Are you perhaps trying to run the installer from a network folder, or some
other location that needs your personal credentials for access?
Please run
msiexec /i python-2.7.1.msi /l*v python.log
and attach the resulting python.log to
Yves Dorfsman y...@zioup.com added the comment:
I will. Please don't use my patch yet, it breaks something else in the
test_email:
./python Lib/test/regrtest.py test_email
[1/1] test_email
test test_email failed -- Traceback (most recent call last):
File
New submission from John Machin sjmac...@lexicon.net:
A pattern like rb{1,3}\Z matches b, bb, and bbb, as expected. There is
no documentation of the behaviour of rb{1, 3}\Z -- it matches the LITERAL
TEXT b{1, 3} in normal mode and b{1,3} in verbose mode.
# paste the following at the
Antoine Pitrou pit...@free.fr added the comment:
First comments:
- secure_connection() should be named ssl_something() like other
methods. ssl_start() perhaps?
- in ssl_shutdown():
+elif err.args[0] == ssl.SSL_ERROR_SSL:
+pass
SSL_ERROR_SSL doesn't exist.
jtidman jtid...@siliconcoral.com added the comment:
Yep, your solution is better. I can provide some text files (lists of numbers)
and two programs, wave2text.py and text2wav.py. These are the programs I wrote
that found this issue in the first place. Add a few checks and you could run
K Richard Pixley r...@noir.com added the comment:
Documentation needs to be updated to state that these are now context managers.
This is important since they aren't in python-2.x.
I'm not sure whether this should be added to the new in python blurbs.
--
nosy: +teamnoir
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Initial draft of a patch including tests and a new ssl_dispatcher subclass.
asynchat needs to be changed as well, probably by using a mixin class.
--
keywords: +patch
Added file:
New submission from K Richard Pixley r...@noir.com:
The documentation for gzip should include the close method.
It's use in the 2.7 documentation implies it's existence but it should also be
stated explicitly that it exists.
In the 3.x documentation, the use of close not in the examples since
Anders Østhus grapz...@gmail.com added the comment:
Ok, but the whole page you linked to (http://docs.python.org/library/shutil)
confuses me then.
It states at the top:
Warning
Even the higher-level file copying functions (copy(), copy2()) can’t copy all
file metadata.
On POSIX platforms,
Antoine Pitrou pit...@free.fr added the comment:
According to the shutil doc page, neither copy or copy2 should do
this. And since they do, and you say shutil.move is implemented using
shutil.copy2, shouldn't files moved with shutil.move also then inherit
the permissions?
There's a
Anders Østhus grapz...@gmail.com added the comment:
Ok.
But that makes the whole method inconsistent.
Basically, if it's on the same filesystem, rename the file, and thus not
inheriting ACL. If it's on another use copy2, and inherit ACL.
That makes no sense, atleast not to me :)
--
Éric Araujo mer...@netwok.org added the comment:
Add rich compare functions and disjoint() method to dbm view objects
to make them as MappingView objects, and add abc registration for them.
I’d prefer you not to register them, but test isinstance(keys(), KeysView), so
that we’re sure no
Éric Araujo mer...@netwok.org added the comment:
#9523 has a more comprehensive patch in progress, adding __iter__ and other
mapping methods, so I’m closing this one.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Improve dbm modules
Éric Araujo mer...@netwok.org added the comment:
Closed #5736 as superseded. Please make sure the comments there about the
peculiar API of gdbm don’t come up or are addressed in your patch.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Ok.
But that makes the whole method inconsistent.
Basically, if it's on the same filesystem, rename the file, and thus
not inheriting ACL. If it's on another use copy2, and inherit ACL.
I think you're misunderstanding copy2. It will copy
Anders Østhus grapz...@gmail.com added the comment:
On my system (Win Server 2008 R2 64-Bit, Python 2.7.1), when I use copy, copy2
or move(to another filesystem), the file _will_ get the ACL of the DST folder,
and remove any ACL in SRC file that the DST folder does not have.
Thus, it doesn't
Antoine Pitrou pit...@free.fr added the comment:
On my system (Win Server 2008 R2 64-Bit, Python 2.7.1), when I use
copy, copy2 or move(to another filesystem), the file _will_ get the
ACL of the DST folder, and remove any ACL in SRC file that the DST
folder does not have.
Thus, it doesn't
Anders Østhus grapz...@gmail.com added the comment:
Thank you for taking the time to explain it to me, but it still seems
inconsistent to me.
I did a test with the functions copy, copy2, move, os.rename, copyfile, both on
the same filesystem and another filesystem, and the result is:
Same
Changes by Antoine Pitrou pit...@free.fr:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11202
___
___
Python-bugs-list
Pauli Virtanen p...@iki.fi added the comment:
I spent today some time to rewrite `memoryobject.c`, and cleaning up the
Py_buffer handling in it. (I wrote also the Numpy PEP 3118 implementation, so
this was straightforward to do.)
The end result is here:
yeswanth swamiyeswa...@yahoo.com added the comment:
IMO the Zipfile.comment should accept strings too instead of just accepting
bytes , so patching should help i guess
--
nosy: +swamiyeswanth
___
Python tracker rep...@bugs.python.org
Adi Roiban a...@roiban.ro added the comment:
Hi,
I apologies for raising this issues.
It looks like FTP_TLS is not available in Python 3.1 ... and retrbinary is
working in Python 2.7.
What I actually done, was backporting ftplib.py from 2.7 to 2.5 and using
pyOpenSSL instead of the standard
Antoine Pitrou pit...@free.fr added the comment:
Hello,
I spent today some time to rewrite `memoryobject.c`, and cleaning up
the Py_buffer handling in it. (I wrote also the Numpy PEP 3118
implementation, so this was straightforward to do.)
Thanks for trying this.
- Rewritten memoryobject:
yeswanth swamiyeswa...@yahoo.com added the comment:
can we use str.encode() function to convert string into bytes ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11160
___
Gregory P. Smith g...@krypto.org added the comment:
Agreed, fixing this is going to be too complex for 3.2.0, it'll be done for
3.2.1.
Reading over the http.server Simple and CGI HTTPRequestHandler code I see there
many problems with the way this code does things today.
General:
* I'm not
Yves Dorfsman y...@zioup.com added the comment:
I've got two issues with this code (Lib/email/test/test_email.py):
1128 def test_body(self):
1129 eq = self.assertEqual
1130 bytes = b'\xfa\xfb\xfc\xfd\xfe\xff'
1131 msg = MIMEApplication(bytes)
1132
51 matches
Mail list logo