Changes by Georg Brandl ge...@python.org:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14579
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
Serhiy: what's the status of your contributor form? Note that you can also fax
it, or scan it and send it by email.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14339
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14676
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1521950
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14656
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13934
___
___
Martin v. Löwis mar...@v.loewis.de added the comment:
When I added sys.subversion, people requested that it shall contain the CPython
string. When sys._mercurial was introduced, it copied that. So there are plenty
of ways already to figure out that it is CPython which you are using.
Stefano Taschini tasch...@ieee.org added the comment:
Here's the patch. It has four goals:
1. Allow ./configure --disable-unicode to work;
2. Have the naked interpreter running with no unicode support;
3. Be able to compile most of the stdlib;
4. Be able to run the test suite.
Florent Xicluna florent.xicl...@gmail.com added the comment:
It seems the documentation is not enough accurate.
Unlike the StringIO module, this module is not able to accept Unicode strings
that cannot be encoded as plain ASCII strings.
I understand that u'foo' can be encoded as plan ASCII,
Eric Snow ericsnowcurren...@gmail.com added the comment:
An updated patch using a dict. (FYI, I have the PEP up on python-ideas.)
--
Added file: http://bugs.python.org/file25378/sys_implementation_2.diff
___
Python tracker rep...@bugs.python.org
Charles-François Natali neolo...@free.fr added the comment:
Yes, this code is hanging in my system. I'm posting the strace output.
If there's any other information that may be helpful I'll happily provide it.
Well, in that case it's a bug in your pthread implementation:
returning from main()
New submission from rampythonnewbie ramumca7...@gmail.com:
Hello,
I am working on an application that runs only on Python version 2.3.5.
Presently i am using mac os x 10.5.8. It came with pre-installed python 2.5.1.
Now, when i am running that application with existing version, it is showing
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Antoine: of course, sorry for rushing you.
Martin,
This is an XP patch. The vista option is put in there as a compile time
option, and disabled by hand. I'm not adding any apis that weren't already in
use since the new gil
Richard Oudkerk shibt...@gmail.com added the comment:
The problems with error numbers seem to be caused by the addition of a new
section in errno.h:
/* POSIX SUPPLEMENT */
#define EADDRINUSE 100
#define EADDRNOTAVAIL 101
...
#define ETXTBSY 139
#define EWOULDBLOCK 140
Of
STINNER Victor victor.stin...@gmail.com added the comment:
You may call assert(_PyUnicode_CheckConsistency(v, 1)) to ensure
that the newly created string is consistent (see the function
for the details).
Done in the following changeset:
changeset: 76560:3bdcf0cab164
parent:
Antoine Pitrou pit...@free.fr added the comment:
This was fixed in 2.7.3 actually (27ae7d4e1983):
Python 2.7.3+ (2.7:8b8b580e3fd3, Apr 25 2012, 17:24:51)
[GCC 4.5.2] on linux2
Type help, copyright, credits or license for more information.
from cStringIO import StringIO
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8767
___
___
Python-bugs-list mailing
STINNER Victor victor.stin...@gmail.com added the comment:
Andrew+Dalke (*1000): -23.076923%
/python -m timeit 'Andrew+Dalke' gives me very close results with Python
3.2 (wide mode) and 3.3. Somethings like 0.15 vs 0.151 microseconds.
But using longer (ASCII) strings, Python 3.3 is 2.6x
Stefano Taschini tasch...@ieee.org added the comment:
Here's my patch, along the lines of the work-around I posted earlier. A few
remarks:
1. The modifications in pydoc only touch the four console pagers and the
html pager (html.page).
2. A module-wide default encoding is initialized
rampythonnewbie ramumca7...@gmail.com added the comment:
Hello,
I am working on an application that runs only on Python version 2.3.5.
Presently i am using mac os x 10.5.8. It came with pre-installed python 2.5.1.
Now, when i am running that application with existing version, it is showing
Antoine Pitrou pit...@free.fr added the comment:
According to current implementation this is acceptable.
Then perhaps auto-detection can be restricted to strict mode? Non-strict mode
would always use utf-8.
Or we can just skip auto-detection altogether (I don't think many people
produce
Antoine Pitrou pit...@free.fr added the comment:
RawValue uses ctypes, right? That's problematic for platforms which don't
support ctypes.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14059
Antoine Pitrou pit...@free.fr added the comment:
Both 2.3.5 and 2.5.1 are very old versions, and are unsupported. We would only
take bug reports for Python 2.7 and 3.2.
Furthermore, it is not obvious that you are actually reporting a bug; it sounds
like you're looking for help instead, which
New submission from Hynek Schlawack h...@ox.cx:
In order to fix issue14662, we need to back port at least ENOTSUP to 2.7
(presuming we don’t want to check for magic numbers).
The question is, whether we should back port all/most of them when we’re at it?
There doesn’t seem to be much harm to
Antoine Pitrou pit...@free.fr added the comment:
This is an XP patch. The vista option is put in there as a compile
time option, and disabled by hand. I'm not adding any apis that
weren't already in use since the new gil (windows Semaphores).
Martin means that you shouldn't use #ifdef's
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b3d3f3238c13 by Martin v. Loewis in branch 'default':
Issue #14642: Add hg touch extension, and make touch target.
http://hg.python.org/cpython/rev/b3d3f3238c13
--
___
New submission from Luke McCarthy l...@iogopro.co.uk:
This caused something to break in our code. I know, maybe it shouldn't rely on
that.
--
messages: 159460
nosy: shaurz
priority: normal
severity: normal
status: open
title: os.path.isdir.__name__ is _isdir on Windows (2.7.3)
Serhiy Storchaka storch...@gmail.com added the comment:
But try ASCII+UCS2 or ASCII+UCS4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13621
___
Richard Oudkerk shibt...@gmail.com added the comment:
According to http://msdn.microsoft.com/en-us/library/5814770t.aspx the
supported errno values in VS2010 are
E2BIG EACCES EAGAIN EBADF ECHILD EDEADLOCK EDOM EEXIST EILSEQ
EINVAL EMFILE ENOENT ENOEXEC ENOMEM ENOSPC ERANGE EXDEV
Serhiy Storchaka storch...@gmail.com added the comment:
I sent the signed form. Martin, sorry for the delay. Mark, sorry, that
involuntarily let you down.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14339
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I understand what he meant, but that wasn't the intent of the patch. The patch
is to use simulated critical sections using a semaphore, same as the new GIL
implementation already does.
If you want dynamic runtime detection, then
Brian Curtin br...@python.org added the comment:
We do the runtime checks for a few things in winreg as well as the os.symlink
implementation and i think a few other supplemental functions for symlinking.
--
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
Benjamin should talk about this, but I am +1 to backport the missing DEFINEs.
In fact, hardwired values are actually a bug, as reported in the linked issue.
--
nosy: +jcea
___
Python tracker
Hynek Schlawack h...@ox.cx added the comment:
Anybody working on this one? I’d give it a shot otherwise.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4489
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Ok, but the patch as provided would become more compliated. For general
consumption, the primitives would need to become dynamically allocated
structures, and so on. I'm not sure that its worth the effort, but I can have
a
Serhiy Storchaka storch...@gmail.com added the comment:
Related to this question is a question about errors. How to inform the user, if
an error occurred in the decoding with detected encoding? Leave
UnicodeDecodeError or convert it to ValueError? If there is a syntax error in
JSON --
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm closing this as won't fix. The only way to get back the exact performance
of 3.2 is to restore to the 3.2 implementation, which clearly is no option. I
don't consider performance regressions in micro benchmarks inherently as a bug.
If
Martin v. Löwis mar...@v.loewis.de added the comment:
This is not a bug. Due to function name aliasing, this can easily happen, and
the function's name should be considered as an implementation detail.
--
nosy: +loewis
resolution: - wont fix
status: open - closed
Antoine Pitrou pit...@free.fr added the comment:
That's like introducing a new API, and therefore it should be limited to
feature releases.
--
nosy: +loewis, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14682
Martin v. Löwis mar...@v.loewis.de added the comment:
I find the injection of a fake unicode class too hacky. Instead, I suggest that
each module does
try:
_unicode = unicode
except NameError:
# no unicode support in this build
class _unicode:
pass
and then have the
Hynek Schlawack h...@ox.cx added the comment:
So what does that mean for issue14662? Backport only ENOTSUP, check against
“45” or “won't fix”?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14682
Martin v. Löwis mar...@v.loewis.de added the comment:
Is it really the case that novice users fail to understand the Start menu?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14672
Antoine Pitrou pit...@free.fr added the comment:
So what does that mean for issue14662? Backport only ENOTSUP, check
against “45” or “won't fix”?
Then, backporting only ENOTSUP would be a reasonable solution.
Or perhaps backport it as a private attribute (_ENOTSUP).
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14672
___
___
Python-bugs-list
Benjamin Peterson benja...@python.org added the comment:
I think it's okay to just backport ENOTSUP.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14682
___
Mark Shannon m...@hotpy.org added the comment:
Decref cached-keys when type is deallocated.
Patch attached.
--
Added file: http://bugs.python.org/file25381/cached_keys.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13903
Hynek Schlawack h...@ox.cx added the comment:
This is a fix for 2.7.
As Benjamin said in http://bugs.python.org/issue14682#msg159477 it’s okay to
back port ENOTSUP, I did it as part of the patch here. I wasn’t sure whether we
should document it?
I’m porting the patch to tip right now,
Hynek Schlawack h...@ox.cx added the comment:
This one is against tip.
--
Added file: http://bugs.python.org/file25383/expand-chflags-catch-tip.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14662
Hynek Schlawack h...@ox.cx added the comment:
And finally against 3.2
--
Added file: http://bugs.python.org/file25384/expand-chflags-catch-3.2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14662
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c18256de00bb by Brett Cannon in branch 'default':
Issue #14605: Insert to the front of sys.meta_path, don't append.
http://hg.python.org/cpython/rev/c18256de00bb
New changeset 3bd60cc27664 by Brett Cannon in branch
Serhiy Storchaka storch...@gmail.com added the comment:
I checked out. Files opened in utf-8-sig are seekable.
open('test', 'w', encoding='utf-8-sig').write('qwerty\nйцукен\n')
open('test', 'r', encoding=utf-8).read()
'\ufeffqwerty\nйцукен\n'
open('test', 'r', encoding=utf-8-sig).read()
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a3beae842f13 by Benjamin Peterson in branch 'default':
decref cached keys on type deallocation (#13903)
http://hg.python.org/cpython/rev/a3beae842f13
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
New changeset a3beae842f13 by Benjamin Peterson in branch 'default':
decref cached keys on type deallocation (#13903)
http://hg.python.org/cpython/rev/a3beae842f13
Is there any way to detect / avoid leaks on this separate refcounting
scheme?
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7025ee00dbf6 by Brett Cannon in branch 'default':
Issue #14605: Use None in sys.path_importer_cache to represent no
http://hg.python.org/cpython/rev/7025ee00dbf6
--
___
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
nosy: +eric.araujo
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14674
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 141ed4b426e1 by Brett Cannon in branch 'default':
Issue #14605: Don't error out if get_importer() returns None.
http://hg.python.org/cpython/rev/141ed4b426e1
--
___
Brett Cannon br...@python.org added the comment:
OK, so the todo of this issue is now finished. I am just waiting for the
buildbots to come back green before I close this issue fully.
--
stage: commit review - committed/rejected
status: open - pending
Antoine Pitrou pit...@free.fr added the comment:
This patch integrates the dictkeys' refcounting into the refcount checking
framework. Seems to work ok, but it would be better if someone more acquainted
with the code could confirm it.
--
Added file:
Changes by Brett Cannon br...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14605
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Serhiy, the bug is about csv in particular. Can you confirm that using
utf-8-sig allows one to process a file with a bom using the csv module?
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
Here is a patch which solves the problem of writing ElementTree with utf-16 or
utf-32 encoding.
--
keywords: +patch
nosy: +storchaka
versions: +Python 3.3
Added file: http://bugs.python.org/file25386/etree_write_utf16.patch
New submission from Sam Rushing rushing@gmail.com:
Google's SPDY protocol requires the use of a pre-defined compression
dictionary. The current zlib module doesn't expose the two functions for
setting the dictionary.
This patch is minimal in the sense that it only exposes the two
Brett Cannon br...@python.org added the comment:
Can this issue be closed, Martin, thanks to your extension?
--
assignee: - loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14642
___
Serhiy Storchaka storch...@gmail.com added the comment:
I ran the script above (only replaced 'utf-8' on 'utf-8-sig') and did not see
anything strange. I looked at the source (cvs.py and _cvs.c) and also did not
see anything that could lead to this effect. If the bug exists, it in utf-8-sig
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 496c68f90a03 by Brett Cannon in branch 'default':
Issue #14646: __import__() now sets __loader__ if need be.
http://hg.python.org/cpython/rev/496c68f90a03
--
nosy: +python-dev
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14646
___
New submission from Stefan Krah stefan-use...@bytereef.org:
The build --without-threads segfaults in run_tests.py:
http://www.python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/2123/steps/test/logs/stdio
--
components: Tests
messages: 159496
nosy:
Serhiy Storchaka storch...@gmail.com added the comment:
Andrew, the patch solves your issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14304
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13916
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
Serhiy: thanks for submitting the form! No need to apologise: it was my bad
for making the commit prematurely.
And now that I see that all-important asterisk next to your name, I'll reclose
the issue. :-)
--
status: open - closed
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f163c4731c58 by Antoine Pitrou in branch 'default':
Issue #14666: stop multiprocessing's resource-sharing thread after the tests
are done.
http://hg.python.org/cpython/rev/f163c4731c58
--
nosy: +python-dev
Stefan Krah stefan-use...@bytereef.org added the comment:
This issue is now apparently causing a segfault:
(gdb) r ./Tools/scripts/run_tests.py -j 1 -u all -W --timeout=3600
Starting program: /home/stefan/pydev/cpython/python
./Tools/scripts/run_tests.py -j 1 -u all -W --timeout=3600
[...]
Stefan Krah stefan-use...@bytereef.org added the comment:
Appears to be related to #14583.
--
keywords: +buildbot
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - try/except import fails --without-threads
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14007
___
New submission from Stefan Krah stefan-use...@bytereef.org:
Seen on the Gentoo buildbot:
http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/2154/steps/test/logs/stdio==
ERROR: test_format
Changes by Stefan Krah stefan-use...@bytereef.org:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14686
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
On another bot:
http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.x/builds/2205/steps/test/logs/stdio
[250/364] test_bool
python: Objects/unicodeobject.c:13501: formatlong: Assertion
`unicode_modifiable(result)'
STINNER Victor victor.stin...@gmail.com added the comment:
It's my fault. It should be fixed by:
changeset: 76590:7bacccd889c2
tag: tip
user:Victor Stinner victor.stin...@gmail.com
date:Sat Apr 28 00:25:34 2012 +0200
files: Objects/unicodeobject.c
description:
Miki Tebeka miki.teb...@gmail.com added the comment:
Just to note there's http://pypi.python.org/pypi/desktop/0.4 out there.
--
nosy: +tebeka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3177
R. David Murray rdmur...@bitdance.com added the comment:
I wasn't sure which script you were referring to, so I checked it myself and
got the same results as you: after the seek(0) on the file object opened with
utf-8-sig, csv read all the lines in the file, including reading the header
line
Hobs hobsonl...@gmail.com added the comment:
Had no idea. Sounds like a good place for it.
On Apr 28, 2012 6:54 AM, Miki Tebeka rep...@bugs.python.org wrote:
Miki Tebeka miki.teb...@gmail.com added the comment:
Just to note there's http://pypi.python.org/pypi/desktop/0.4 out there.
New submission from STINNER Victor victor.stin...@gmail.com:
PyUnicode_Format() creates short temporary substrings. Attached patch tries to
avoid substrings. For example, it avoids write of 1 character and repetition of
1 character like a space. PyUnicode_Format() now works in two steps:
-
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14686
___
Serhiy Storchaka storch...@gmail.com added the comment:
I was referring to the script inlined in the message
http://bugs.python.org/issue7185#msg94340 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7185
84 matches
Mail list logo