Sébastien Sablé sa...@users.sourceforge.net added the comment:
Here is a new version of the file:
It integrates the corrections by R. David, and I also modified the memory
limitations section in order to use ldedit rather than some flags for the
linker.
--
Added file:
Sébastien Sablé sa...@users.sourceforge.net added the comment:
I updated the documentation in issue 10709 so that it mentions ldedit rather
than the linker flags (more convenient to activate support for more memory).
Once Python 3.2 is released, we may add LDR_CNTRL or ldedit in the Makefile
New submission from STINNER Victor victor.stin...@haypocalc.com:
Issue #9003 added cafile and capath arguments to url_open(), but it is not
possible to reuse a SSLContext object (which would avoid to reload
certificates, CRL, etc.).
--
components: Library (Lib)
messages: 128779
nosy:
Ray.Allen ysj@gmail.com added the comment:
An updated patch, based on latest several reviews on
http://codereview.appspot.com/4185044/
update:
1, Refactoring the common tests between test_dbm_gnu and test_dbm_ndbm.
2, Move the abc registering in Lib/dbm/ndbm.py and Lib/dbm/gnu.py.
3, Other
Changes by Ray.Allen ysj@gmail.com:
Removed file: http://bugs.python.org/file20771/issue_9523.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9523
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, my patch is incomplete: time2netscape() has the same issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5537
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11242
___
___
Python-bugs-list
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com:
Hy David, while hacking a bit on my thing i've found two places where
header.Header needs to be explicitely converted via str().
Have a nice weekend.
--
files: email_message.patch
keywords: patch
messages: 128782
nosy:
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
(Will get that tracker right as time goes by.)
--
type: - behavior
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11243
R. David Murray rdmur...@bitdance.com added the comment:
Thanks for the report. I probably won't have time to look at this for a bit.
--
assignee: - r.david.murray
stage: - patch review
title: email/message.py str conversion [patch] - email/message.py str
conversion
versions:
Ray.Allen ysj@gmail.com added the comment:
No you don't. You can copy a substring of the input string with
Py_UNICODE_COPY: just pass a smaller length.
Oh, yes, I got your meaning now. I'll follow this.
You can truncate the input char* on the call to PyUnicode_DecodeUTF8:
Oh, what if
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, what if the trunked char* cannot be decoded correctly?
e.g. a tow-bytes character is divided in the middle?
Yes, but PyUnicode_FromFormatV() uses UTF-8 decoder with replace error handler,
and so the incomplete byte sequence
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
We all know EMail 6.0 will blow them off the streets in the end.
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11243
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Victor,
I don't see your patch. Did you remove it?
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5537
STINNER Victor victor.stin...@haypocalc.com added the comment:
No, I forgot to upload it...
--
keywords: +patch
Added file: http://bugs.python.org/file20785/cookiejar_datetime.patch
___
Python tracker rep...@bugs.python.org
Ray.Allen ysj@gmail.com added the comment:
Can you add tests for %.s? I would like to know if %.s is different than
%s :-)
Oh sorry~~ I made an mistake. There is no bug here. I have attached tests that
show that '%.s' is the same as '%s'.
Here is the updated patch:
1, changed the
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
While it is unlikely that a purely numeric format such as %Y-%m-%d
%H:%M:%S will be locale dependent, it is possible that some pre-C99
systems would format dates using exotic digits is some locales. Given
that format is so
STINNER Victor victor.stin...@haypocalc.com added the comment:
If datetime.strftime() is not reliable, we should maybe fix it instead of using
a workaround?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5537
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Fri, Feb 18, 2011 at 11:04 AM, STINNER Victor rep...@bugs.python.org wrote:
..
If datetime.strftime() is not reliable, we should maybe fix it instead of
using a workaround?
The real fix would be to rewrite strftime
Matt Chaput m...@whoosh.ca added the comment:
I don't know what to tell you... to the best of my knowledge there's absolutely
no way for my code to kick off the entire test suite -- I always do that
through PyDev (which doesn't cause the bug, by the way). The closest thing is
the boilerplate
New submission from Jeffrey Harper jhar...@yapdc.com:
In Python 3.2, a tuple like (1,-2,3) will not be optimized into a constants at
compile time. The tuple is built at run-time. Earlier versions of Python
optimized these tuples at compile time.
Here's an example program.
# test.py
from
Éric Araujo mer...@netwok.org added the comment:
Good catch, done in r88436. Thanks Sandro and Davide, if you’re subscribed to
the docs@python mailing-list and can read this.
--
assignee: sandro.tosi - eric.araujo
nosy: +docs@python, eric.araujo
resolution: accepted - fixed
stage:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Nose works correctly for me with multiprocessing. In a directory, I have:
== run_nose.py =
from nose import main
if __name__ == '__main__':
main()
== test_me.py ==
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +bethard -aronacher
resolution: wont fix -
stage: committed/rejected -
title: optparse - display version in usage by default - argparse - display
version in usage by default
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Would you like to propose a patch?
--
nosy: +eric.araujo
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11203
Matt Chaput m...@whoosh.ca added the comment:
If I do c:\python27\python run_nose.py it works correctly. If I do
nosetests I get the process explosion. Maybe the bug is in how distutils and
nose work from the command line? I'm confused.
--
___
Éric Araujo mer...@netwok.org added the comment:
Changed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10887
___
___
Python-bugs-list mailing
Jeffrey Harper jhar...@yapdc.com added the comment:
I have also determined that negative elements interfere with the frozenset
optimization described in issue6690. http://bugs.python.org/issue6690.
Here's an example program:
# test.py
from dis import dis
def x(var): return var in {1,2,3} #
Éric Araujo mer...@netwok.org added the comment:
I think Version should be strict, then Metadata could have an option for
strictness (defaulting to true), so that mkcfg, sdist and other would strict
mode but users could get more flexibility when needed.
--
nosy: +swamiyeswanth
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Ah, is 'nosetests' a .exe file? A frozen executable?
In this case, can you try the solution proposed at
http://docs.python.org/library/multiprocessing.html#multiprocessing.freeze_support
--
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11205
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
If I do c:\python27\python run_nose.py it works correctly. If I do
nosetests I get the process explosion. Maybe the bug is in how
distutils and nose work from the command line? I'm confused.
The bug is in nose itself. You should report a bug
R. David Murray rdmur...@bitdance.com added the comment:
I wonder if this has anything to do with issue 9011?
--
nosy: +mark.dickinson, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
Antoine Pitrou pit...@free.fr added the comment:
The culprit is r82043: Issue #9011: Remove buggy and unnecessary ST-AST
compilation code.
--
assignee: - mark.dickinson
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11231
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Would you like to contribute a patch? If so,
guidelines are found at http://docs.python.org/devguide/
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +ezio.melotti, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11204
___
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
P.S.: maybe this completes the byte.
Have a nice weekend nevertheless - if you can.
Traceback (most recent call last):
File /Users/steffen/usr/bin/s-postman.py, line 1419, in _walk
Antoine Pitrou pit...@free.fr added the comment:
The problem is that the UNARY_NEGATIVE + LOAD_CONST optimization, which
occurs first in bytecode order, inserts a NOP and prevents the tuple
optimization to work.
--
___
Python tracker
Jeffrey Harper jhar...@yapdc.com added the comment:
I think r82043 may also explain why 3.1.3 can fold the expression 2 * -3 into
-6 while 3.2rc3 cannot.
# test.py
from dis import dis
def y(): 2 * -3
print(dis y:)
dis(y)
C:\tmpc:\Python32\python.exe --version
Python 3.2rc3
Terry J. Reedy tjre...@udel.edu added the comment:
You sort of left out bytes() == bytes(0) == b''.
I did not know about case 5 -- not surprisingly ;-).
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11231
Antoine Pitrou pit...@free.fr added the comment:
Ouch. Obviously test_peephole doesn't have enough tests...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
___
Shay Rojansky r...@roji.org added the comment:
Sorry for disappearing, will be following this closer from now on.
Thanks for the responses (and the acknowledgement of a problem), David and
Steffen.
I understand the API design philosophy and the need to allow the production of
invalid
New submission from Shay Rojansky r...@roji.org:
IMAP IDLE support is not implemented in the current imaplib. A drop-in
replacement called imaplib2 exists (), but uses internally managed threads - a
heavy solution that is not always appropriate (e.g. when handling many IMAP
accounts an
dholth dho...@fastmail.fm added the comment:
I want transactional DDL too. I was tremendously surprised that I could not
duplicate the way sqlite3 behaves on the command line from witin pysqlite.
Instead of this patch, I would rather be able to instruct pysqlite to always
begin a transaction
Changes by Éric Araujo mer...@netwok.org:
--
assignee: docs@python - rhettinger
nosy: +georg.brandl
priority: normal - release blocker
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11234
New submission from STINNER Victor victor.stin...@haypocalc.com:
While testing a patch fixing issue #7330, I found a bug in
PyUnicode_FromFormat() in the %V format: it decodes the byte string from
ISO-8859-1, whereas I would expect that the string is decodes from UTF-8, as
the %s format.
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11246
___
___
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
___
Jeffrey Harper jhar...@yapdc.com added the comment:
Here's a patch against the version of test_peepholer.py in 3.2rc3. It verifies
that expressions like the following are optimized:
3*-4
(1,-2,3)
a in {1,-2,3)
--
keywords: +patch
Added file:
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I'll look at this later tonight.
Eric, no marking accepted for tracker items without a patch. Accepted
means that a patch has been reviewed and is okay to apply.
--
priority: release blocker - high
resolution:
Éric Araujo mer...@netwok.org added the comment:
In this case, I thought that the suggested addition of one dot in one place was
equivalent to a patch, and maybe more useful (we don’t know if you have local
edits in your file that would make the diff fuzzy). Anyway, I’m attaching the
same
Merlijn van Deen valhall...@gmail.com added the comment:
Sorry, I'm not going to run my patch through the entire test suite, I've got
better things to do with my time than setting up a working
python-development-test-bench. Especially for a one-line-revert.
The result now is:
Éric Araujo mer...@netwok.org added the comment:
Thanks for the patch. Someone will write a test and we’ll check that it works
correctly on all supported platforms.
--
keywords: +needs review
nosy: +belopolsky, gregory.p.smith, p...@fodder.org.uk, pitrou
stage: needs patch - test
Éric Araujo mer...@netwok.org added the comment:
BTW, on which platforms did you notice the bug? (python -m platform)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11236
___
Merlijn van Deen valhall...@gmail.com added the comment:
Linux-2.6.22.18-co-0.7.4-i686-with-Ubuntu-10.04-lucid (the 'on linux2'
versions) and Solaris-2.10-i86pc-i386-32bit-ELF (the 'on sunos5').
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Patch fixes the bug for 3.2 on my Debian
(Linux-2.6.32-5-amd64-x86_64-with-debian-wheezy-sid). getpass currently has no
unit tests.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch that enables advanced (recursive) constant folding.
Example:
python -c import dis; f=lambda x: x in
{(3*-5)+(-1-6),(1,-2,3)*2,None};dis.dis(f)
With 3.1:
1 0 LOAD_FAST0 (x)
3 LOAD_CONST
Dan Mahn dan.m...@digidescorp.com added the comment:
Seems to be fixed in RC3
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11166
___
___
Changes by Dan Mahn dan.m...@digidescorp.com:
--
nosy: dmahn
priority: normal
severity: normal
status: open
title: e
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11247
___
New submission from Dan Mahn dan.m...@digidescorp.com:
Can't send UDP packet to multicast address. See traceback.
s.sendto( bytearray, (227.5.6.7, 6543))
socket.error: [Errno 10065] A socket operation was attempted to an unreachable
host
--
components: +None
title: e - Error
Dan Mahn dan.m...@digidescorp.com added the comment:
This has occurred in RC3
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11247
___
___
Tom Loredo lor...@astro.cornell.edu added the comment:
I believe this is a bug.
The -32 part of Mac/Makefile.in builds and links the -32 versions here:
ifneq ($(LIPO_32BIT_FLAGS),)
lipo $(LIPO_32BIT_FLAGS) -output
$(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw
lipo
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Antoine, I'm traveling and don't have immediate access to my svn checkout. Can
you fix this please?
--
assignee: rhettinger - pitrou
nosy: +pitrou
___
Python tracker
Case Van Horsen cas...@gmail.com added the comment:
I tested multicast without any issues using the attached script. I used RC3 on
both Windows 7 and Linux. I did need to disable the firewall on my Windows
system before multicast would work.
Start one or more clients using: python mtest1.py
Tom Loredo lor...@astro.cornell.edu added the comment:
The attached patch does the trick.
--
Added file: http://bugs.python.org/file20792/Python-2.7.1-patch.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11217
67 matches
Mail list logo