Tal Einat talei...@users.sourceforge.net added the comment:
Attaching patch against current py3k branch.
I simply replaced the occurrences of [rRuU] in the relevant regexps to [rRbB].
--
keywords: +patch
nosy: +taleinat
Added file:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I am attaching the next version of my patch and changing priority to high
because it appears that several issues depend on resolution of this one.
Here is the summary of changes since issue5094a.diff:
1. The constructor
Ezio Melotti ezio.melo...@gmail.com added the comment:
Duplicate of #8641.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7166
Ezio Melotti ezio.melo...@gmail.com added the comment:
See also #7166.
--
nosy: +ezio.melotti, lieryan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8641
___
Daniel Urban urban.dani...@gmail.com added the comment:
Isn't it possible, that in the issue5094b.diff patch, in the new_timezone_ex
function, in this part:
self = (PyDateTime_TimeZone *)type-tp_alloc(type, 0);
if (self == NULL)
return NULL;
should be a Py_DECREF(offset) call?
I mean
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Good catch, Daniel!
Fixed in issue5094c.diff.
--
Added file: http://bugs.python.org/file17570/issue5094c.diff
___
Python tracker rep...@bugs.python.org
Changes by Tal Einat talei...@users.sourceforge.net:
--
nosy: +taleinat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7166
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8916
___
___
Python-bugs-list
anatoly techtonik techto...@gmail.com added the comment:
What is your use case?
from datetime import now, today
now()
datetime.time ...
today()
datetime.date ...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8902
STINNER Victor victor.stin...@haypocalc.com added the comment:
Attached patch removes w format, cleanups the code for w* and w# formats,
and update the documentation.
--
keywords: +patch
Added file: http://bugs.python.org/file17571/remove_w_format.patch
New submission from tanaga murana...@gmail.com:
A segmentation error happens in Embedding Python.
condition
When I called four times of Py_Main in one process.
and When I used ctypes in the script.
A happening
segmentation error(core dumped)
[u...@localhost debug]$
Changes by lesmana lesm...@gmx.de:
--
nosy: +lesmana
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
___
Python-bugs-list mailing list
Changes by lesmana lesm...@gmx.de:
--
nosy: +lesmana
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7898
___
___
Python-bugs-list mailing list
tanaga murana...@gmail.com added the comment:
I used Python 2.6.5 on CentOS 5.5.
[r...@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT
2010 i686 i686 i386 GNU/Linux
[r...@localhost ~]# python
Python 2.6.5 (r265:79063, May 30 2010, 03:05:19)
New submission from lesmana lesm...@gmx.de:
if started as an interactive session python should check for and read
~/.pythonrc.py by default.
furthermore there should be two options added:
--rcfile filename
this will read filename instead of ~/.pythonrc
--norc
this will prevent reading
New submission from lesmana lesm...@gmx.de:
for example, this should be legal:
PYTHONSTARTUP=~/.pythonrc.py
workaround (in bash)
PYTHONSTARTUP=$(echo ~)/.pythonrc.py
--
messages: 107198
nosy: lesmana
priority: normal
severity: normal
status: open
title: PYTHONSTARTUP should expand ~
New submission from Sridhar Ratnakumar sridh...@activestate.com:
Several test_ttk failures on OSX 10.4 (w/ Tcl/Tk 8.5 installed in
/Library/Frameworks) and Python 2.7rc1
==
ERROR: test_tab_identifiers
Éric Araujo mer...@netwok.org added the comment:
You could get a minor speedup by doing “from email.utils import formatdate”.
Do we have tests know to check that the patch does not break anything?
Can this still go into 2.7?
--
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
PyCObject is deprecated in 2.7 and removed in 3.x. PyCapsule_Import() should
be used instead of PyCObject_Import() and it already has correct signature:
Include/pycapsule.h:PyAPI_FUNC(void *) PyCapsule_Import(const char
Changes by Shashwat Anand anand.shash...@gmail.com:
Removed file: http://bugs.python.org/file17567/BaseHTTPServer.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7370
___
Shashwat Anand anand.shash...@gmail.com added the comment:
You could get a minor speedup by doing “from email.utils import formatdate”.
I guess I shall do that.
Applied the patch and tested it, it does not break anything IMO and should go
in python2.7
--
Added file:
New submission from STINNER Victor victor.stin...@haypocalc.com:
PyUnicode_Decode() and PyUnicode_AsEncodedString() calls directly builtin
decoders/encoders for some known encodings (eg. utf-8), instead of using the
slow path (call PyCodec_Decode() / PyCodec_Encode()).
PyUnicode_Decode()
New submission from STINNER Victor victor.stin...@haypocalc.com:
_PyUnicode_AsDefaultEncodedString() has two arguments: unicode (input string)
and errors. If errors is not NULL, it calls Py_FatalError()!
The argument is useful: all functions call it with errors=NULL.
Attached patch removes
Éric Araujo mer...@netwok.org added the comment:
Opinions are nice, tests are better! :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7370
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17441/base64_main.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4769
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
IMHO removing 'U' should only be done once Py2 is dead.
What do you mean by once Py2 is dead? Can I apply the patch in Python 3.2 now?
--
___
Python tracker rep...@bugs.python.org
Florent Xicluna florent.xicl...@gmail.com added the comment:
Here it works with :
PYTHONSTARTUP=$HOME/.pythonrc ./python
--
components: +Interpreter Core
nosy: +flox
resolution: - wont fix
stage: - committed/rejected
status: open - pending
versions: +Python 2.7
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
___
___
New submission from STINNER Victor victor.stin...@haypocalc.com:
PyArg_ParseTuple(t) calls PyObject_GetBuffer() and then raise an error if
arg-ob_type-tp_as_buffer-bf_releasebuffer is not NULL. I think that it
should call PyBuffer_Release(view) before raising the error, or simply check
Brett Cannon br...@python.org added the comment:
I don't find it odd at all that you use datetime-specific formats instead of
integral formats to get numbers out of a datetime object; they are totally
different things. And one of the reasons for __format__ support is to have DSLs
such as the
Brett Cannon br...@python.org added the comment:
Put yourself down as the maintainer of datetime in Misc/maintainers.rst and you
have a deal, Alexander! =)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
anatoly techtonik techto...@gmail.com added the comment:
Seems like it still the issue for 2.4.4
http://scons.tigris.org/issues/show_bug.cgi?id=2533
http://trac.edgewall.org/ticket/9404#comment:2
--
nosy: +tarek, techtonik
___
Python tracker
New submission from Dave Abrahams d...@boostpro.com:
[This looks like a bug report against PIP because Tarek told me distutils2
would be responsible for this kind of thing and that there was an open ticket
for it. However, I can't find any such ticket so I'm posting it here]
Not only does
Éric Araujo mer...@netwok.org added the comment:
- buffer protocol (such as :class:`bytes` or :class:`bytearray` objects).
+ buffer protocol.
Is there a reST construct to use here, say to reference a PEP or point to a
glossary entry that defines this protocol?
--
nosy: +merwok
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I noticed the same problem in many tests.
E.g. test___all__ fails when pyxml is installed.
--
nosy: +Arfrever
title: Python 2.5 testsuite sys.path contains system dirs - sys.path in tests
contains system
Georg Brandl ge...@python.org added the comment:
If there is a glossary entry, use :term:`buffer protocol`. If there is none,
write one :)
PEPs are referenced by :pep:`4711`.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
2.4/2.5 are not fixed anymore. Only security patches.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue600952
___
New submission from anatoly techtonik techto...@gmail.com:
Projects that still support Python 2.4 are building distributions with either
2.4.x or 2.5.x versions, because they afraid that newer installers won't run on
Windows XP or Windows 2000.
http://trac.edgewall.org/ticket/9404#comment:2
anatoly techtonik techto...@gmail.com added the comment:
There is some uncertainty that 2.6 package installers are dependent on
msvcr90.dll - http://trac.edgewall.org/ticket/9404#comment:7
--
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
as I said in the other issue, there's no bug fix for 2.4 or 2.5 anymore, unless
it's a security issue. So I am closing this issue.
Also, your second message seems unrelated. If there's an issue with a
dependency under 2.6, please open a
Eric Smith e...@trueblade.com added the comment:
I think Alexander's example is best written as:
Today is: {0:%a %b %d %H:%M:%S %Y}.format(datetime.now())
I agree with Brett that there's nothing unusual about having type-specific
formatting languages, and for datetime strftime is the obvious
Eric Smith e...@trueblade.com added the comment:
This documentation should also be added for datetime.time and datetime.date, in
addition to datetime.datetime.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8913
New submission from Tarek Ziadé ziade.ta...@gmail.com:
done in r81788, r81789, r81790, r81791
thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
anatoly techtonik techto...@gmail.com added the comment:
Python process is rigid, no surprises here. But this issue is nevertheless
useful to link packages that experience this problem. I'll bump it every time I
run into broken package. So far I use:
1. SCons
2. Trac
--
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I have updated time-4.diff patch for py3k. Code changes are minimal, mostly
due to string to unicode conversion. I have not attempted to fix anything
beyond passing supplied unittest, but I did noticed a few missing
New submission from anatoly techtonik techto...@gmail.com:
Installers generated with x64 version of Python 2.6.5 seems to have msvcr90.dll
dependency that may not be present on all platforms.
http://trac.edgewall.org/ticket/9404#comment:17
--
assignee: tarek
components: Distutils
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
The problem I have with strftime %-format codes is that according to BSD manual
page they have already ran out of English alphabet and still there is no
conversion specification for the phase of the moon. :-)
On a
STINNER Victor victor.stin...@haypocalc.com added the comment:
New version of the patch:
- charbuffer_encode() uses y* instead of y# format to accept modifiable buffer
objects (eg. bytearray)
- Improve the documentation about the change
@lemburg: So, do you agree with my patch?
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Is there a reST construct to use here, say to reference a PEP
or point to a glossary entry that defines this protocol?
buffer API (protocol ?) is documented in Doc/c-api/buffer.rst. Should I link
to this document? How?
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
nosy: +loewis, mhammond
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8929
___
___
Georg Brandl ge...@python.org added the comment:
(Hi Alexander, sorry for not answering on IRC, I got a phonecall and was
distracted for a while.) Please take on this issue -- I've simply not had
energy enough to fight it through.
--
assignee: georg.brandl - belopolsky
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Please don't add messages in here just to list the projects that suffer from a
bug in Python 2.4 or 2.5. This is just making us extra triage/read work for
nothing, and doesn't really help.
Your first report is enough so the error and its
Eric Smith e...@trueblade.com added the comment:
Unfortunately I think it's too late to do anything about this. I, for one, have
many lines of code in production that use the strftime format specifier for
datetime.__format__.
You only option would be to invent a new language that was somehow
Éric Araujo mer...@netwok.org added the comment:
I see that the top section of this file can be referenced though the index
entry named “buffer interface”. Georg, would “:term:`buffer interface`” work?
Victor, “protocol” is the named used in Python for what you could call an
interface, e.g.
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I don't have this platform, could you investigate for me Srid ?
Looks like self._preprocess() fails for some reason. we need to trace this down.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I think this particular wheel has one very good reinvention as the Locale Data
Markup Language specification. Example from the Python Babel package:
format_datetime(dt, y..dd GGG hh:mm a, locale='en')
u'02007.April.01 AD 03:30 PM'
Éric Araujo mer...@netwok.org added the comment:
Side remarks about tracker process:
1) I’m not sure attaching binary executable files is helpful; if I ran Windows,
I wouldn’t run them.
2) Select the 3.3 version for bugs that won’t be fixed to 3.2. Selecting both
is redundant: 3.2 is current
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8916
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
FreeBSD is yet another beast
Does the patch fix it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8893
___
Éric Araujo mer...@netwok.org added the comment:
As stated in http://docs.python.org/library/user (found via
http://docs.python.org/genindex-Symbols), this file is an older customization
hook that is deprecated. I (not a Python core dev, just a user) personally
prefer the environment
New submission from Benjamin Peterson benja...@python.org:
Some C code is incorrectly formatted after the Grand Indenting (TM). Take a
gander at stringobject.c for an example.
--
messages: 107240
nosy: benjamin.peterson, pitrou
priority: normal
severity: normal
status: open
title:
Éric Araujo mer...@netwok.org added the comment:
The shell does not interpret tildes in quotes, but it does interpret variables,
so both your examples make sense. Does removing the quotes fix your problem?
--
nosy: +merwok
status: pending - open
___
Benjamin Peterson benja...@python.org added the comment:
I presume you'll either integrate this with the methods and objects inspect
already has for this or deprecate them in favor of this?
--
nosy: +benjamin.peterson
___
Python tracker
Georg Brandl ge...@python.org added the comment:
The glossary (see docs.python.org/glossary) does not have an entry for buffer
interface or buffer protocol. An index entry just means that some location
in the code defines this entry and gets a link back.
Of course, you can also link to the C
Éric Araujo mer...@netwok.org added the comment:
Looks good to me. Adding the release manager to the nosy list.
--
keywords: +needs review
nosy: +benjamin.peterson, merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8901
Éric Araujo mer...@netwok.org added the comment:
Would the addition of a link to http://www.python.org/dev/patches/ address your
request?
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8904
Éric Araujo mer...@netwok.org added the comment:
If you allow me to rephrase your feature request to “difflib should allow
arbitrary iterators that yield lines”, I’m +1.
Adjusting the version and adding tim_one to nosy as per
py3k/Misc/maintainers.rst
--
nosy: +merwok, tim_one
type:
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7202
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Distutils is frozen, since changing even internal details breaks third-party
tools, and Distutils2 has removed RPM support, since it’s better handled by
OS-specific tools that comply with various policies and have smaller release
cycles. Tarek,
Éric Araujo mer...@netwok.org added the comment:
I suggest changing component to Distutils2.
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1371826
___
Brett Cannon br...@python.org added the comment:
On Sun, Jun 6, 2010 at 15:09, Benjamin Peterson rep...@bugs.python.org wrote:
Benjamin Peterson benja...@python.org added the comment:
I presume you'll either integrate this with the methods and objects inspect
already has for this or
New submission from Benjamin Peterson benja...@python.org:
$ python3
Python 3.1.2 (release31-maint, May 3 2010, 22:18:46)
[GCC 4.3.4] on linux2
Type help, copyright, credits or license for more information.
format(ord(a), c)
'a'
format(ord(a), #c)
'a'
I wonder if '#' with 'c' should raise an
lesmana lesm...@gmx.de added the comment:
the .pythonrc.py file is not deprecated. only the user module is deprecated.
the problem i have with the PYTHONSTARTUP variable is that i find it is an
unecessary intermediate step to set up an initialization file.
let me elaborate: every single time
lesmana lesm...@gmx.de added the comment:
yes the quotes prevented the tilde to be expanded by the shell. somehow i
failed to check that. i also failed to check that there is $HOME. somehow i
failed to see the forest because of the many trees (a german saying).
technically my original
Mark Hammond mhamm...@users.sourceforge.net added the comment:
A quick check of my tree shows that the 32 and 64 bit versions are the same in
this regard - the raw stubs wininst-9.0.exe and wininst-9.0-amd64.exe do not
depend on the CRT. A test install of 2.6.5-amd64, then using the 64bit
Martin v. Löwis mar...@v.loewis.de added the comment:
ISTM that this report is based on hearsay; nobody is *actually* experiencing
any problems. Proposing to close this as invalid.
--
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
I think that every type that # does not apply to should raise an exception.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8931
___
Changes by Brian Curtin cur...@acm.org:
--
nosy: +brian.curtin
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8905
___
___
Changes by Brian Curtin cur...@acm.org:
--
title: [patch] doc: termios and ioctl reference links - doc: termios and ioctl
reference links
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8519
79 matches
Mail list logo